.rrd does not exist

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

.rrd does not exist

Post by acentek »

We are receiving the following message in Nagios:

"/var/lib/mrtg/xxx.xxx.xxx.xxx_2.rrd does not exist" on several different host devices and various ports. We are not having issues adding more devices/ports into Nagios so it seems to be specific to these devices/ports. I have checked the permissions for the

The attached pic is really the only "error" that I am seeing. These devices are up and running properly.

MRTG Version info:

Usage: mrtg <config-file>

mrtg-2.17.4 - Multi Router Traffic Grapher

Copyright 1995-2006 by Tobias Oetiker
Licensed under the Gnu GPL.

If you want to know more about this tool, you might want
to read the docs. You can find everything on the
mrtg website:

http://oss.oetiker.ch/mrtg/


Permissions for /etc/mrtg

drwxrwxr-x. 2 apache nagios 6 Nov 14 2016 archive
drwxrwxr-x. 2 apache nagios 12288 Sep 27 09:54 conf.d
-rwxrwxr-x. 1 apache nagios 788 Nov 14 2016 mrtg.cfg
-rwxrwxr-x. 1 apache nagios 872 Nov 14 2016 mrtg.cfg.orig
-rw-r--r-- 1 apache apache 0 Sep 27 10:00 mrtg.ok

Permissions for device .cfg file (checked all devices in question:
-rw-r--r-- 1 apache apache 274487 May 8 10:58 xxx.xxx.xxx.xxx.cfg

Thanks!
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: .rrd does not exist

Post by scottwilkerson »

Can you open the xxx.xxx.xxx.xxx.cfg and see if there are lines commented out for interface 2 ?

This can happen if the interface was down when you ran the wizard but came up after. This would prevent mrtg from polling the interface until the lines are uncommented or you re-run the wizard.

If you would like you can PM me one of the xxx.xxx.xxx.xxx.cfg to take a look.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
acentek
Posts: 123
Joined: Thu Jul 27, 2017 2:00 pm

Re: .rrd does not exist

Post by acentek »

Looking in the xxx.xxx.xxx.xxx.cfg, the lines for the interfaces in question were commented out, stating #Administratively Down". We're pretty certain they were UP when added to Nagios. They were added by a colleague of mine and he stated, using CCM, he copied like interfaces from another working device then modified to add the new interface to Nagios. Not really a true scan via the Wizard, so not sure if that is the underlying problem?? He has done this with other interfaces and it has been successful, so the inconsistency of that is troublesome.

We then deleted the interfaces we had issues with via CCM and re-added via the Wizard. This was successful and now the interfaces were had issues with are now working, no errors. (The interfaces are no longer commented out in the xxx.xxx.xxx.xxx.cfg file)

Thanks for your help!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: .rrd does not exist

Post by scottwilkerson »

Glad you got it working!
acentek wrote:They were added by a colleague of mine and he stated, using CCM, he copied like interfaces from another working device then modified to add the new interface to Nagios. Not really a true scan via the Wizard, so not sure if that is the underlying problem??
This actually could be the problem. For almost all services this would be ok, however when you run the Network Switch/Router Wizard it actually creates that mrtg config file that you just edited, so this is one case I would always recommend running the wizard.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked