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
Which is quite sad, 'cause this morning, nearly every graph worked
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 ?