Cacti upgrade, NaN and rrd.php

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

Moderators: Developers, Moderators

Post Reply
djodjo
Posts: 3
Joined: Wed Mar 19, 2008 11:10 am

Cacti upgrade, NaN and rrd.php

Post by djodjo »

Hi everybody,

Here's my story :
- I managed a cacti server 0.8.6j for a moment, and having some problems I upgraded to 0.8.7b (the os debian, with manually installed cacti/apache/rrdtool)
- The upgrade was cool, no major problem
- Some scripts (bind9 statistics, squid...) didn't go themselves up, so I just went to the Device's Graphs pages and a simple discovery went cool, the graphs restarting
- But from this afternoon, no rrd/graph upgrade

I went with the CLI, with some php -q poller.php and cmd.ph, and here's the result of (what I think) is my problem :

=> at the end of a poller.php :

Code: Select all

 Warning: pclose(): 73 is not a valid stream resource in /var/cacti-0.8.6j/lib/rrd.php on line 57
=> the graphs MAY upgrade after a cmd.php, but not all of them.
Which is quite sad, 'cause this morning, nearly every graph worked
:cry:

I also put the logs in debug mod, but nothing as concluant as the rrd.php problem.

When I go in the cacti's mysql database, with a select * from poller_output, I get some result and no NaN.

When I do a rrdtool info <rrd_file> I have NaN as a value.

So my deduction (maybe a poor one, let me know !) is that, in a way, cacti doesn't manage to fill in the rrd files, but why and how to resolv this ...

Any idea ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The path name of the error message is strange. It still shows 086j. Did you modify the path for running the poller from crontab?
Reinhard
djodjo
Posts: 3
Joined: Wed Mar 19, 2008 11:10 am

Post by djodjo »

Thanks for the answer !

That's true but it's not that relevant in the way that it was the old folder, and I did not want to change everything in the confs. (Lazy I know 8) )
So it's truly the cacti's 0.8.7b path.

But did you see/heard of such problems with a cacti upgrade ?
djodjo
Posts: 3
Joined: Wed Mar 19, 2008 11:10 am

Post by djodjo »

Hop !

Problem solved !
The solution was to increase the Maximum Concurrent Poller Processes.

So simple :)

Thanks for your time.
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

djodjo wrote:Hop !

Problem solved !
The solution was to increase the Maximum Concurrent Poller Processes.

So simple :)

Thanks for your time.
What value of Maximum Concurrent Poller Processes did you set ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest