rra file missing..

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
h2t
Posts: 3
Joined: Thu Aug 30, 2007 8:01 am
Location: Netherlands
Contact:

rra file missing..

Post by h2t »

Hi all,

Just install cacti version 0.8.6.j on my Debian Server. It goes just fine. But when I create an snmp device (Cisco Router) and try to create the graphs, nothing is displayed on the screen.

Looking in the /rra directory the file is also missing. Only the standard localhost files for load, memory, processor etc... are there. But not from the new created device.

SNMP looks fine because in the device list you see all the interfaces of the device.

So what is going wrong here?
I saw some kind problem with this version on the poller part, but it is more for a big installation site... I just starting and testing with one device...

Somebody can help me here?

P.S. No I don;t see any errors or what so ever.. That is why I can't determine where the problem is..

TIA..

Regards,

H2T
etc
Cacti User
Posts: 52
Joined: Thu Apr 19, 2007 2:36 pm

Post by etc »

I have exact same problem. Two identical machines, one has .rrd files, the other doesn't.
h2t
Posts: 3
Joined: Thu Aug 30, 2007 8:01 am
Location: Netherlands
Contact:

Post by h2t »

etc wrote:I have exact same problem. Two identical machines, one has .rrd files, the other doesn't.
Are you using the same version?

I have now trying on the test machine installing cacti from Debian packages... Which is version 0.8.6.c and now I have no the problem of the rrd files....

Is this specific problem with version 0.8.6.j?????

Anybody has comment on this?

Regards,

H2T
greggy86
Posts: 6
Joined: Wed Aug 29, 2007 2:38 am

Post by greggy86 »

I am having the same problem running cacti on Debian.
I tried a troubleshooting step to see if I will get any help -
I run "php poller.php" from the cacti directory.

Code: Select all

myDeb_host:/var/www/cacti# /usr/local/apache2/php/bin/php  poller.php
The poller runs but I see no activity, eventually it times out with an error.

Code: Select all

08/30/2007 05:38:16 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/30/2007 05:38:16 AM - SYSTEM STATS: Time:293.2955 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:16 RRDsProcessed:0

Warning: pclose(): 47 is not a valid stream resource in /var/www/cacti/lib/rrd.php on line 47
myDeb_host:/var/www/cacti#
The RRDsProcessed is 0 thus a verify done on rra directory shows that no files have been posted there. Thus no graphs.
All the directory permissions are OK.
There are a number of us with this problem: is it a bug, I am newby, can someone dedicate some time to assist. Really need some help.
h2t
Posts: 3
Joined: Thu Aug 30, 2007 8:01 am
Location: Netherlands
Contact:

Post by h2t »

greggy86,

Are you installing cacti from the source? Which version do you use then? Or are you using the default Debian package?

If you can test to install the Debian package first so you can decide whether it is a problem of depency or not.

In my case the default polling rrd of the locahost are there but not from the devices that I have configured. So i have decided to test the default package first and it works.

I will also test to install from the source again, but now using the version 0.8.6.h...

Regards,

H2T
greggy86
Posts: 6
Joined: Wed Aug 29, 2007 2:38 am

Post by greggy86 »

Debian puts packages in "weird" places which make the difficult to track and harder to interact with non debian packages, so I prefer to install from source when possible. I use 0.8.6j

You should debug using "php poller.php" and post your resuld. I logged into cacti and went into settings to up my debug level and got:

Code: Select all

myDeb_host:/var/www/cacti# /usr/local/apache2/php/bin/php -q poller.php
08/30/2007 06:53:43 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/apache2/php/bin/php , ARGS: -q /var/www/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/30/2007 06:58:36 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/30/2007 06:58:36 AM - SYSTEM STATS: Time:292.8200 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:16 RRDsProcessed:0

Warning: pclose(): 56 is not a valid stream resource in /var/www/cacti/lib/rrd.php on line 47

myDeb_host:/var/www/cacti#
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests