SNMP charts show MBytes not Mbits

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: SNMP charts show MBytes not Mbits

Post by rbuckle »

Ok so i think that it might be the plugin, everything seems to work correctly on my lower bandwidth connections, Could it be likely that this particular plugin just can't handle numbers over 200Mb?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP charts show MBytes not Mbits

Post by ssax »

I haven't seen it be a problem, what is it showing?
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: SNMP charts show MBytes not Mbits

Post by rbuckle »

The graphs that i am posting are from 2 routers that are basically the same hardware, Mikrotik Routers

Image
This device averages around 50-70Mb with spikes over a 100Mb so i can see how this chart works on a 5 minute average.

Image
This device averages 500-700Mb but as you can see the chart is no where near that.

I am baffled
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP charts show MBytes not Mbits

Post by ssax »

Please run the command from the XI server's command line and add -vv to it and post the output:

Code: Select all

/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/192.168.49.32_2.rrd -w 50.00,50.00 -c 80.00,80.00 -l M -vv
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: SNMP charts show MBytes not Mbits

Post by rbuckle »

Code: Select all

Using RRD file: /var/lib/mrtg/10.0.0.46_3.rrd
Input warning level(Mb/s): 50.00
Output warning level(Mb/s): 50.00
Input critical level (Mb/s): 80.00
Output critical level (Mb/s): 80.00
Fetching data with command: rrdtool fetch /var/lib/mrtg/10.0.0.46_3.rrd AVERAGE -s-10minutes | grep -vi "nan"
RRD File Data:
                            ds0                 ds1

1459801200: 4.6842445682e+04 4.5639995256e+05
1459801500: 5.9838215277e+04 4.8338604339e+05
Raw Input Traffic Value (b/s): 478705.722216
Raw Output Traffic Value (b/s): 3867088.347120
Decimal Input Traffic Value (b/s): 478705
Decimal Output Traffic Value (b/s): 3867088
Traffic IN scalar: 1000000
Traffic OUT scalar: 1000000
OK - Current BW in: .47Mbps Out: 3.86Mbps|in=.478705Mb/s;50.00;80.00 out=3.867088Mb/s;50.00;80.00
[root@NagiosXI ~]#
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP charts show MBytes not Mbits

Post by ssax »

Hmm, the data is showing properly (meaning the data it gets from the RRD file is calculated properly), please PM me your XML and RRD file so that I can do some research.
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: SNMP charts show MBytes not Mbits

Post by rbuckle »

did you get the files?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP charts show MBytes not Mbits

Post by ssax »

Yes, sorry, I thought I replied to your PM, they look fine, I wanted to look at your /var/lib/mrtg/ one as well.
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: SNMP charts show MBytes not Mbits

Post by rbuckle »

i don't have anything for that service/host in that directory
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP charts show MBytes not Mbits

Post by ssax »

You don't have this?

Code: Select all

/var/lib/mrtg/10.0.0.46_3.rrd
Locked