Page 1 of 4

/var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it does

Posted: Wed Sep 19, 2012 12:00 pm
by kotterbein
I recently (yesterday) deleted all the info in our test Nagios XI node, and re added a few devices.

The following error continues to pop up for a polling cycle, then it comes up the next cycle. it has been flapping for a while (bandwidth check on a switch).

details:
6.0.*.* 30 LAYER 3 PEERING VLAN Bandwidth
This service is flapping
Unknown 27m 24s 1/1 2012-09-19 12:53:30 /var/lib/mrtg/6.---.---.251_154.rrd does not exist.
on node:
[root@id----01 mrtg]# ls -al /var/lib/mrtg/6.---.---.251_154.rrd
-rw-r--r-- 1 root root 105312 Sep 19 12:55 /var/lib/mrtg/6.---.---.251_154.rrd

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 12:43 pm
by lmiltchev
Did you follow the following document?

http://assets.nagios.com/downloads/nagi ... Router.pdf

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 1:04 pm
by kotterbein
nope... does this mean I will have to remove the current nodes and re-run the wizard after the cleanup?

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 1:42 pm
by kotterbein
I removed all nodes, cleaned the files as shown in the document, re-added a single device, and continue to have the same issue.

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 1:44 pm
by kotterbein
IC-NNM01 Bandwidth
Unknown 3m 17s 1/1 2012-09-19 14:43:14 /var/lib/mrtg/6.3.200.53_439902208.rrd does not exist
[root@id-nag01 mrtg]# ls -al /var/lib/mrtg/6.3.200.53_439902208.rrd
-rw-r--r-- 1 root root 105312 Sep 19 14:40 /var/lib/mrtg/6.3.200.53_439902208.rrd

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 2:18 pm
by scottwilkerson
Can you give me the permission of this directory

Code: Select all

ls -ld /var/lib/mrtg/

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 2:35 pm
by kotterbein
ls -ld /var/lib/mrtg
drwxr-xr-x 2 root root 135168 Sep 19 15:10 /var/lib/mrtg

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 2:59 pm
by scottwilkerson
Could you now run the following command and return the output

Code: Select all

/usr/local/nagios/libexec/check_rrdtraf -vv -f /var/lib/mrtg/6.3.200.53_439902208.rrd -w 1000,2000 -c 2000,3000
Thanks

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 3:03 pm
by kotterbein

Code: Select all

[root@id-nag01 lib]# /usr/local/nagios/libexec/check_rrdtraf -vv -f /var/lib/mrtg/6.3.200.53_439902208.rrd -w 1000,2000 -c 2000,3000
Using RRD file: /var/lib/mrtg/6.3.200.53_439902208.rrd
Input warning level(kb/s): 1000
Output warning level(kb/s): 2000
Input critical level (kb/s): 2000
Output critical level (kb/s): 3000
/var/lib/mrtg/6.3.200.53_439902208.rrd does not exist.

Re: /var/lib/mrtg/6.-.-.-_154.rrd does not exist, but it doe

Posted: Wed Sep 19, 2012 3:34 pm
by scottwilkerson
Now these 2 commands

Code: Select all

ls -l /var/lib/mrtg/6.3.200.53_439902208.rrd
and

Code: Select all

su nagios -c 'ls -l /var/lib/mrtg/6.3.200.53_439902208.rrd'