missing bandwidth perf data for network devices

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: missing bandwidth perf data for network devices

Post by bosecorp »

looks like mrtg is taking more than 5 minutes. I have increased fork to 16 but that doesn't help
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: missing bandwidth perf data for network devices

Post by ssax »

Can you try increasing it higher?

The only other thing I can think of would be for you to follow this KB article and comment out the ports in the MRTG configs that you don't want polled:

https://support.nagios.com/kb/article.php?id=510

OR you could look at offloading MRTG:

https://www.youtube.com/watch?v=bnws1fYSdKM
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: missing bandwidth perf data for network devices

Post by bosecorp »

I asked before if MRTG could be offloaded and I was told that couldn't be done

I increased the forks to 160. i know I crazy number. still not perfect

the port approach is not sustainable model. I dont think that will work for me
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: missing bandwidth perf data for network devices

Post by ssax »

In the latest version of the Network Switch / Router wizard (2.3.2, you can verify by going to Admin > Manage Config Wizards) it will create a /etc/mrtg/conf.d/DEVICE_PORT.cfg for each port that you select (it will not add all or query all by default).

You would need to remove your current single config (/etc/mrtg/conf.d/DEVICE.cfg) for the devices and re-run the the wizard and that should speed things up if you don't monitor every port on each device.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: missing bandwidth perf data for network devices

Post by bosecorp »

the link you sent me lead me to troubleshot this further and found that a .cfg file was creating the whole problem. removed that .cfg file and things are running perfectly since yesterday.

can't believe a file could create such a big problem. my MRTGs are finishing within 1 minute.

thanks a lot for the help. close the ticket
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: missing bandwidth perf data for network devices

Post by mcapra »

Closing this up
Former Nagios employee
https://www.mcapra.com/
Locked