bandwidth utilization performance graph in percentage (%)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

bandwidth utilization performance graph in percentage (%)

Post 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
Zajil NMS
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: bandwidth utilization performance graph in percentage (%

Post by ssax »

Are you saying that you want it listed in the same service performance graph? (meaning same service check)
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: bandwidth utilization performance graph in percentage (%

Post 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
You do not have the required permissions to view the files attached to this post.
Zajil NMS
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: bandwidth utilization performance graph in percentage (%

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked