Page 1 of 1

no rrd file found

Posted: Tue Mar 26, 2013 7:59 am
by mikemontreal
I am getting "no rrd file found". I have fixed this issue many times successfully in the past using the following instructions http://support.nagios.com/wiki/index.php/Nagios_XI:FAQs But this time around i'm having no luck :( . This is the story -> I replaced a switch with a different model so I removed it from nagiosxi and re-added the new switch. The Ping, Host, port 14 and 31 get rrd files under /var/lib/mrtg/ but the rest don't. Well actually they do i think but they are not like the others.
example:
port 14 and 31 generate the following rrd files under /var/lib/mrtg/
10.1.98.205_14.rrd
10.1.98.205_31.rrd

There seems to be a bunch of other files generated under /var/lib/mrtg/ like the following
10.1.98.205_4223323.rrd
10.1.98.205_4226533.rrd ...

But Nagiosxi is looking for 10.1.98.205_port#.rrd

I even tried the following article with no luck http://assets.nagios.com/downloads/nagi ... Router.pdf

Please help I'm going nuts!!

Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2012R1.6
qc00lc01.telav.com 2.6.32-131.17.1.el6.i686 i686
CentOS Linux release 6.0 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
Server Name: 192.X.XXX.XXX
Server Address: 192.X.XXX.XXX
Server Port: 80
Date/Time
PHP Timezone: Etc/GMT-5
PHP Time: Tue, 26 Mar 2013 17:09:31 +0500
System Time: Tue, 26 Mar 2013 08:09:31 -0400
Nagios XI Data
nagios (pid 1969) is running...
NPCD running (pid 1931).
ndo2db (pid 1990) is running...
CPU Load 15: 0.87
Total Hosts: 113
Total Services: 1324
Function 'get_base_uri' returns: http://192.X.XXX.XXX/nagiosxi/
Function 'get_base_url' returns: http://192.X.XXX.XXX/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://192.X.XXX.XXX/nagiosxi/includes/ ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost
Running:

/bin/ping -c 3 localhost 2>&1

PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.015 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.024 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.021 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.015/0.020/0.024/0.003 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running:

/usr/bin/wget http://localhost/nagiosql/index.php

--2013-03-26 08:09:33-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'

0K ..... 100% 443M=0s

2013-03-26 08:09:33 (443 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]

Re: no rrd file found

Posted: Tue Mar 26, 2013 12:35 pm
by slansing
What do the timestamps on those RRD's look like in relation to the time that you removed the switch's definition from the mrtg.cfg file, and re-ran the cfgmaker? Are you able to see the recently re-added switch in the mrtg.cfg file?

Re: no rrd file found

Posted: Wed Mar 27, 2013 7:16 pm
by mikemontreal
Well I guess all it needed was a configuration save after clearing things out. Rebooting and restarting services just wasn't cutting i guess ;) . Thanks for taking the time to solve and point out my end user issues :oops: :D .

Cheers