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!
.rrd does not exist
.rrd does not exist
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
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.
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.
Re: .rrd does not exist
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!
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
Glad you got it working!
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.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??