zeninfocollect (1)

Name

zeninfocollect - A utility that lets you gather information to help you resolve problems that might arise when using Micro Focus ZENworks.

Syntax

./zeninfocollect.py [options]

Description

By default, zeninfocollect gathers cache, server, client, configuration, hardware, and package data as well as log files. The information is packaged into a ZIP file on Windows and a tarball file on Linux, and placed in the location you specify.

By default, the zeninfocollect utility is not installed on any device.

To download and run the zeninfocollect utility on a Windows managed device:

  1. Copy the ZENworksInfocollect_Win.zip file from the ZENSERVER_HOME\Micro Focus\zenworks\install\downloads\tools directory, or download the file from ZENworks Control Center (Configuration tab > Configuration Tasks > Download ZENworks Tools > Administrative Tools).

  2. Extract the ZENworksInfocollect_Win.zip file on the managed device.

  3. At the command prompt of the managed device, go to the directory where the .zip contents are extracted and run zeninfocollect.exe [options].

To download and run the zeninfocollect utility on a Linux managed device that has Python installed:

  1. Copy the ZENworksInfocollect_Linux.zip file from theZENSERVER_HOME/Micro Focus/zenworks/install/downloads/tools directory, or download the file from ZENworks Control Center (Configuration tab > Configuration Tasks > Download ZENworks Tools > Administrative Tools).

  2. Extract the ZENworksInfocollect_Linux.zip file on the managed device.

  3. Make the file executable by running the chmod +x zeninfocollect.py command.

  4. At the command prompt of the managed device, go to directory where the .zip contents are extracted and run ./zeninfocollect.py [options].

List of Options

--output-dir=directory_name

Specify the directory name that must contain the output archive. If you do not specify a directory, the output is placed in user’s temporary directory %TEMP% on a Windows managed device, and /tmp on a Linux managed device.

-h , --help

Display the help information.

-a , --no-cache

Do not collect cache data.

-c, --no-client

Do not collect client data.

-d, --no-hardware

Do not collect hardware data.

-l, --no-logs

Do not collect logs.

-o, --no-config

Do not collect configuration data.

-p, --no-packages

Do not collect package data. Package data includes all version information for packages in the ZENworks Configuration Management package repository.

-s, --no-server

Do not collect server data.