Collecting MATRIXX Diagnostic Statistics

Out-of-the-box, MATRIXX runs the capture_diagstats_tofile.py script every five minutes to collect important SNMP system statistics that you use to assess the condition of its various components.

MATRIXX Support recommends that you use the output from this script for diagnostic purposes, and send these files to MATRIXX when you report a issue. The capture_diagstats_tofile.py script runs on a configurable interval continuously, storing diagnostic statistics files in $MTX_LOG_DIR, where they are available for inspection. The files are named with this syntax:
snmp_engine_id-stats.log
For example: mtx-1.1.1-127.0.0.1-stats.log

The capture_diagstats_tofile.py script closes, compresses, and adds a timestamp suffix to the filename every 24 hours by default and replaces it with a new log file.

For example: mtx-1.1.1-127.0.0.1-stats.log-2021_02_17_13_47_17.gz

You can change this time interval or specify a file size limit to close, rename, and replace this file; the default is every 24 hours. The interval at which the script runs and the acceptable size and compression level of the output files are configurable.

For more information about how to configure capture_diagstats_tofile.py, see the discussion about capture_diagstats_tofile.py in MATRIXX Monitoring and Logging.