I have added a number of devices using the add network switch/router wizard without any issues, however when i added the last couple of switches i noticed that the bandwidth monitors on all of the interfaces, for these last few devices, are throwing the error /var/lib/mrtg/10.42.250.2_16.rrd does not exist.
Any assistance would be greatly appreciated.
/var/lib/mrtg/10.42.250.2_16.rrd does not exist
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Note that if a yum update was run on your server recently, that may have downgraded the MRTG package to an older version that will not function with the XI server.
If applicable, the link below provides instructions for reinstalling the newer MRTG package which should fix the issue.
https://support.nagios.com/kb/article.php?id=511
*After following the instructions, it will take 15 minutes for those bandwidth graphs to populate.
If not, run the following commands and post the output:
If applicable, the link below provides instructions for reinstalling the newer MRTG package which should fix the issue.
https://support.nagios.com/kb/article.php?id=511
*After following the instructions, it will take 15 minutes for those bandwidth graphs to populate.
If not, run the following commands and post the output:
Code: Select all
ls -l /var/lib/mrtg
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgBe sure to check out the Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Hi bwallace
Thanks for your response.
I have version mrtg-2.17.4 of mrtg installed.
I've attached the output from the commands mentioned.
Cheers
Thanks for your response.
I have version mrtg-2.17.4 of mrtg installed.
I've attached the output from the commands mentioned.
Cheers
You do not have the required permissions to view the files attached to this post.
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Thanks for the file, pretty sure the problem is that you have 1000+ cfg files in the /etc/mrtg/conf.d/ directory. When MRTG runs it has to open all the files and it hits the open file limits in Linux.
The 1st hint of this is the error at the bottom of your text file:
ERROR: unable to open include file: /etc/mrtg/conf.d/xx.xx.xxx.x_9.cfg
Follow the steps in this KB doc to remedy (all you need to do is increase the open file limit setting) -- definitely let us know of the outcome.
https://support.nagios.com/kb/article.php?id=512
The 1st hint of this is the error at the bottom of your text file:
ERROR: unable to open include file: /etc/mrtg/conf.d/xx.xx.xxx.x_9.cfg
Follow the steps in this KB doc to remedy (all you need to do is increase the open file limit setting) -- definitely let us know of the outcome.
https://support.nagios.com/kb/article.php?id=512
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Yep.... Spot on
Upped the file limits as suggested and the bandwidth monitors started operating. One issue that resulted from this was the additional data from the bandwidth sensors filled my disk. This has now been extended and all looks good.
Thanks for your help
Upped the file limits as suggested and the bandwidth monitors started operating. One issue that resulted from this was the additional data from the bandwidth sensors filled my disk. This has now been extended and all looks good.
Thanks for your help
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Is it ok if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: /var/lib/mrtg/10.42.250.2_16.rrd does not exist
Absolutely....
Thanks again
Thanks again