plot_diagstats.py
The plot_diagstats.py script reads the statistics files from the current directory and plots the collected data by specified Management Information Base (MIB) files and time range. This script plots a maximum of six MIB and object IDs (OIDs) at a time.
Syntax
plot_diagstats.py [-b] [-e] [-m]
Options
The plot_diagstats.py script has the following command line options:
- -b, --begin_time
- Begin time in the following format: YYYY-MM-DDT00:00. For example 2021-06-16T03:15.
- -e, --end_time
- End time in the following format: YYYY-MM-DDT00:00. For example 2021-06-16T03:15.
- -m, --module_name
- Required. MIB object name including module name.
- If an MIB table OID is specified, the script prompts the user to enter the row(s) to plot. Use a comma separator if plotting more than on MIB in the same graph.
- To skip the user input step, enter a table entry by adding a
period followed by the row number.
- Examle: MATRIXX-MIB::txnEffectiveTxnCountPerSecond.5
- -d, --debug_mode
- Automatically closes the window and script after three seconds.Note: Disabled by default. Use this option for automating script testing only.