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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Did you follow the following document?

http://assets.nagios.com/downloads/nagi ... Router.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post by kotterbein »

nope... does this mean I will have to remove the current nodes and re-run the wizard after the cleanup?
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post 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.
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Can you give me the permission of this directory

Code: Select all

ls -ld /var/lib/mrtg/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post by kotterbein »

ls -ld /var/lib/mrtg
drwxr-xr-x 2 root root 135168 Sep 19 15:10 /var/lib/mrtg
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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'
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked