MSGMON Configuration And Command Examples
To verify that your TIBCO Messaging Monitoring Core installation is ready to monitor, perform the following general tasks and confirmations.
The examples below assume you are in the monitoring bin directory. Use the appropriate cd command below to switch to that directory if needed.
Linux/macOS:
cd /opt/tibco/msgmon/bin
Windows:
cd C:\tibco\msgmon\bin
Starting with TIBCO Messaging Monitor Core version 1.1.0, Python is no longer used. The Python control scripts have been removed and replaced by the commands detailed here.
Start Messaging Monitoring Core
To start monitoring:
-
If you use the supplied infrastructure_config.yaml file, specify the
homepathfor Grafana in the file. -
Run the start command.
-
Linux/macOS:
./msgmon start -infra-config ../config/infrastructure_config.yaml
-
Windows:
msgmon start -infra-config ..\config\infrastructure_config.yaml
-
You see an output similar to the following:
INFO ************************************* INFO TIBCO Messaging Monitoring: 1.1.0.0 INFO ************************************* INFO MSGMON logging level set to INFO INFO Starting InfluxDB instance INFO InfluxDB log file: /var/tmp/root/tibco-msgmon/logs/influxdb.log INFO InfluxDB error file: /var/tmp/root/tibco-msgmon/logs/influxdb.err INFO InfluxDB home path: /opt/tibco/msgmon/influxdb INFO InfluxDB configuration file: /var/tmp/root/tibco-msgmon/conf/influxdb_config.conf INFO InfluxDB temp path: /var/tmp/root/tibco-msgmon/influxdb-server INFO InfluxDB started, pid=87828 INFO Starting Grafana instance INFO Grafana log file: /var/tmp/root/tibco-msgmon/logs/grafana.log INFO Grafana error file: /var/tmp/root/tibco-msgmon/logs/grafana.err INFO Grafana home path: /root/grafana-8.5.15 INFO Grafana configuration file: /var/tmp/root/tibco-msgmon/conf/grafana_config.ini INFO Grafana temp path: /var/tmp/root/tibco-msgmon/grafana-server INFO Grafana started, pid=87829
Check Monitoring Status
To display the status of the various monitoring components for any operating system, enter:
msgmon status
You see an output similar to the following:
INFO ************************************* INFO TIBCO Messaging Monitoring: 1.1.0.0 INFO ************************************* INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO Grafana Status: Running INFO InfluxDB Status: Running INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stop Monitoring
To stop monitoring, run the stop command, which is the same for all operating systems:
msgmon stop
You see an output similar to the following:
INFO ************************************* INFO TIBCO Messaging Monitoring: 1.1.0.0 INFO ************************************* INFO Grafana stopped INFO InfluxDB stopped