Page 1 of 1
bandwidth utilization performance graph in percentage (%)
Posted: Mon Jul 20, 2015 4:04 am
by zaji_nms
Dear Expert
Its well know option in NagiosXI to have 4hours, daily, weekly....Utilization/Performance Graph in Kbps,Mbps or Gbps.
The same graph, same options, same pattern we want to show in percentage utilization, how possible?
As there is bandwidth Alert for Warning, Critical base on MaxByte Value, plugin can take below value to calculate and plot the graph in % utilization.
MaxBytes[sab-3750-1_1]: 125000000 (from /etc/mrtg/mrtg.cfg)
Is there any option currently? If not then NagiosXI should think to add the same.
If no readily available option, how can be workaround to achieve?
Regards
Re: bandwidth utilization performance graph in percentage (%
Posted: Mon Jul 20, 2015 12:02 pm
by ssax
Are you saying that you want it listed in the same service performance graph? (meaning same service check)
Re: bandwidth utilization performance graph in percentage (%
Posted: Mon Jul 20, 2015 1:00 pm
by zaji_nms
Dear ssax
Please find attached (sample) =>Bandwidth Utilization in Percentage in % instead of bps (bit/sec)
vertical (Y-Axis) should show values from 0 to 100 with label (%), bottom should only time/day/week/month depend on which graph we select, hourly/daily/weekly/yearly.
Regards
Re: bandwidth utilization performance graph in percentage (%
Posted: Mon Jul 20, 2015 2:00 pm
by abrist
The real limitation here is check_rrdtraf. As it does not have an option for percentage computation, you will definitely not be able to show the percentage on a highchart graph:
check_rrdtraf -f <rrd_file> -w <warning_pair> -c <critical_pair>
[-v][-e expire_seconds] [-l label_units]
check_rrdtraf (-V | --version)
check_rrdtraf (-h | --help)
Options:
-h, --help
Print detaiiled help screen
-V, --version
Print version information
-v Verbose output. Can be specified twice for more verbosity
-vv More verbose output, same as -v -v
-f Full path to RRD file to read data from
-w Warning threshold <rate> or pair <incoming>,<outgoing>
-c Critical threshold <rate> or pair <incoming>,<outgoing>
-e Log age threshold (in seconds, 5min=300)
-l Data display label, one of B,K,M or G
Notes:
-Warning and critical thresholds are MAX values,
going above the threshold will trigger an alert.
-Labels and units for warning and critical values
are determined by the -l argument (if specified):
B=bps; K=Kbps; M=Mbps; G=Gbps
-If the -l switch is specified, input values are assumed to
be in the same units as specified in the -l switch
-If the -l switch is not specified, output values are scaled
appropriately, and input values are assumed to be in Kbps