How to show Mbps in the performange grap with check_snmp_int

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

How to show Mbps in the performange grap with check_snmp_int

Post 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.
Image
But my customer want to see Mbps instead of bps in the performance graphs.
Here is the commands.
Image

Can show in Mbps?

Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to show Mbps in the performange grap with check_snmp

Post 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.
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.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: How to show Mbps in the performange grap with check_snmp

Post 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.
Locked