Page 1 of 3

Bandwidth monitoring

Posted: Wed Jul 22, 2015 7:44 am
by arupsgt
Hello

We are currently evaluating Nagios XI. I have configured SNMP on one of our virtualized proxies (Cisco WSA) and setup monitoring in Nagios. This appears to be working, however, the inbound and outbound data are more or less the same. During testing, there was no one else using the proxy and all I was doing was downloading a 5Gb file, nothing was being uploaded.

Do you have any thoughts as to why this might be and, if so, how to resolve it?

Thanks

Re: Bandwidth monitoring

Posted: Wed Jul 22, 2015 1:40 pm
by ssax
Please post the configuration of your service/s so that we can troubleshoot the command and output further.

Re: Bandwidth monitoring

Posted: Wed Aug 05, 2015 9:58 am
by arupsgt
Apologies for the late reply. Profile attached.

David

Re: Bandwidth monitoring

Posted: Wed Aug 05, 2015 3:00 pm
by tmcdonald
Can you send a screenshot of the graph and status output for that bandwidth service? They can both be found under "Service Details" and clocking on the service name, then going to the Advanced and Performance Graphs tabs.

Also, what sort of device is it that you are monitoring?

Re: Bandwidth monitoring

Posted: Wed Aug 05, 2015 3:12 pm
by lmiltchev
This appears to be working, however, the inbound and outbound data are more or less the same. During testing, there was no one else using the proxy and all I was doing was downloading a 5Gb file, nothing was being uploaded.
Did you run your check right after you downloaded the 5GB file? The mrtg cron job runs every 5 min, then the data is put into the rrd file...
When you go to the Home->Service Detail->Port 1 Bandwidth->Performance Graphs, do you see a spike in the graph, corresponding to the time you downloaded the file? Can you upload the rrd file (/usr/local/nagios/share/perfdata/10.128.38.17/Port_1_Bandwidth.rrd)?

Re: Bandwidth monitoring

Posted: Mon Aug 10, 2015 6:13 am
by arupsgt
Thanks. Screenshot attached. It is a Cisco WSA virtualized proxy. It is a test device, hence there isnt much traffic and hence why I downloaded the 5Gb file as a test. The inbound and outbound figures are always very similar, even though there isnt anything being uploaded.

Re: Bandwidth monitoring

Posted: Mon Aug 10, 2015 1:20 pm
by tgriep
Could you upload these 2 files so we can review them?

Code: Select all

/usr/local/nagios/share/perfdata/10.128.38.17/Port_1_Bandwidth.rrd
/usr/local/nagios/share/perfdata/10.128.38.17/Port_1_Bandwidth.xml

Re: Bandwidth monitoring

Posted: Fri Aug 14, 2015 11:04 am
by arupsgt
Thanks.

Re: Bandwidth monitoring

Posted: Fri Aug 14, 2015 1:54 pm
by tgriep
I dumped the rrd file and is looks like the data is different.
Try and delete the rrd and wml files which will recreate them and see if they still are showing the in and out as the same.
Can you upload the mrtg config file for that host?
It can be found in /etc/mrtg/conf.d/10.128.38.17.cfg

Re: Bandwidth monitoring

Posted: Mon Aug 17, 2015 6:05 am
by arupsgt
Thanks. I have deleted the files and will monitor it. The .cfg file is attached.