Monitoring Gateway Command Line Reference (monitor-start.py)

The monitoring gateway service (tibkmongateway) stores monitoring data and log messages in an InfluxDB database.

Location

The monitor-start.py file is located in the bin directory of the product installation tree.

It is started using the monitor-start Python script. The script can be started using one of the following ways:
  • monitor-start.py
  • python monitor-start.py

Help

Parameter Description
--help

-h

Show the help message, listing all parameters.
-e

--exit-on-error

Exit on any broker polling error.
-p POLLINGINTERVAL

--polling-interval

Polling interval in seconds, default is 60.
-f CSVFILE

--config-file CSVFILE

The configuration (.csv) file with broker access information for all Kafka brokers. Brokers are polled sequentially.

You are required to use either this or the -j option.

--generateonly Specified in conjunction with -f, the script will use the .csv file to generate a JSON configuration file in the output directory, and then exit.
-o DIRECTORY

--output DIRECTORY

Specify a directory to place the output files in. The default directory is /var/tmp/ on Unix and c:\tmp on Windows.
-j JSONFILE

--json JSONFILE

Use a previously generated JSON file to load configuration information.

Either specify -j or -f, but not both.