Page 1 of 1
RRD files not generating
Posted: Tue Apr 05, 2016 10:19 am
by GreatWolfResorts
We're having a problem where the RRD files are not generating for newly created network checks using the wizard. I vaguely remember something like this happening in the past after an upgrade of the XI environment. I believe the outcome was to create a new instance of the MRTG component on the server and point over to it. But I honestly have no idea what steps were taken by the technician working on it.
- Dan
Re: RRD files not generating
Posted: Tue Apr 05, 2016 12:28 pm
by bwallace
Just a few clarifying questions to start with...
- Which wizard is used ( I assume 'Network/Switch')?
- Are these are new checks being applied to 'new' network devices or you are re-running the wizard against an existing host?
- Are these new checks failing? In the nagios.log do you see errors such as "...rrd does not exist"? (/usr/local/nagios/var)
*If you want to add additional services on an existing host, please, follow the steps, outlined in this document
https://assets.nagios.com/downloads/nag ... Router.pdf
Re: RRD files not generating
Posted: Wed Apr 20, 2016 4:59 pm
by GreatWolfResorts
Apologies for such a late response to this. The last couple weeks have been a little chaotic. In answer to your questions:
- You are correct, Network / Switch wizard.
- New checks to new network devices
- Confirmed errors of rrd does not exist.
Dan
Re: RRD files not generating
Posted: Wed Apr 20, 2016 5:07 pm
by lmiltchev
Do you see any errors when you run the following command?
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Note: No output is good.
Re: RRD files not generating
Posted: Tue May 24, 2016 3:06 pm
by GreatWolfResorts
Wow. Sorry I'm getting back to this so late. It's been a rough month. Here is the output:
Code: Select all
ERROR: unable to open include file: conf.d/*.cfg
Re: RRD files not generating
Posted: Tue May 24, 2016 4:57 pm
by tmcdonald
What MRTG version are you running? env LANG=C /usr/bin/mrtg - I think the ability to use wildcards in config names is a relatively recent addition to MRTG. For reference, I am on mrtg-2.17.4
Re: RRD files not generating
Posted: Tue Jun 07, 2016 10:43 am
by GreatWolfResorts
Looks like we're using mrtg-2.16.2
Re: RRD files not generating
Posted: Tue Jun 07, 2016 10:48 am
by tgriep
We have a couple of Knowledge Base Articles that could help out with the issue you are seeing.
https://support.nagios.com/kb/article.p ... php?id=512
Take a look at them and let us know if they work for you.