RRD files not generating

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GreatWolfResorts
Posts: 48
Joined: Tue Mar 15, 2011 11:12 am
Location: Madison, WI
Contact:

RRD files not generating

Post 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
Nagios XI 5.2.5 | CentOS6.3 x86_64 | Virtual Instance on VMware vSphere 6
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: RRD files not generating

Post 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
Be sure to check out the Knowledgebase for helpful articles and solutions!
User avatar
GreatWolfResorts
Posts: 48
Joined: Tue Mar 15, 2011 11:12 am
Location: Madison, WI
Contact:

Re: RRD files not generating

Post 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
Nagios XI 5.2.5 | CentOS6.3 x86_64 | Virtual Instance on VMware vSphere 6
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: RRD files not generating

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
GreatWolfResorts
Posts: 48
Joined: Tue Mar 15, 2011 11:12 am
Location: Madison, WI
Contact:

Re: RRD files not generating

Post 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
Nagios XI 5.2.5 | CentOS6.3 x86_64 | Virtual Instance on VMware vSphere 6
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: RRD files not generating

Post 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
Former Nagios employee
User avatar
GreatWolfResorts
Posts: 48
Joined: Tue Mar 15, 2011 11:12 am
Location: Madison, WI
Contact:

Re: RRD files not generating

Post by GreatWolfResorts »

Looks like we're using mrtg-2.16.2
Nagios XI 5.2.5 | CentOS6.3 x86_64 | Virtual Instance on VMware vSphere 6
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: RRD files not generating

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked