Page 1 of 1
How to show Mbps in the performange grap with check_snmp_int
Posted: Mon Feb 09, 2015 10:21 am
by phyo
Hi all,
I used check_snmp_int.pl plugin to monitor the bandwidth of the network divices.
http://nagios.manubulon.com/check_snmp_int.pl
But in the performance graphs, all the in/out bandwidth values are shown as bps as in the figure.

But my customer want to see Mbps instead of bps in the performance graphs.
Here is the commands.
Can show in Mbps?
Thanks.
Re: How to show Mbps in the performange grap with check_snmp
Posted: Mon Feb 09, 2015 10:39 am
by abrist
In short, I don't think iit is possible with the current plugin without editing the script. Running a --help of the command outputs:
Code: Select all
[snip]
-S, --intspeed
Include speed in performance output in bits/s
-y, --perfprct ; -Y, --perfspeed
-y : output performance data in % of max speed
-Y : output performance data in bits/s or Bytes/s (depending on -B)
[snip]
-B, --kbits
Make the warning and critical levels in K|M|G Bits/s instead of K|M|G Bytes/s
-G, --giga ; -M, --mega ; -u, --prct
-G : Make the warning and critical levels in Gbps (with -B) or GBps
-M : Make the warning and critical levels in Mbps (with -B) or MBps
-u : Make the warning and critical levels in % of reported interface speed.
[snip]
It looks like the Mbps/Gbps switches are just used for thresholds. The actual performance data is *only* reported as either bps, Bps, or percentage.
Re: How to show Mbps in the performange grap with check_snmp
Posted: Tue Mar 03, 2015 10:37 am
by phyo
now i used configuration wizard with Router switch configuration wizard. I can see Mbps in the performance graph.
Please close this thread.
thanks.