Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I upgraded from 0.8.6 to 0.8.6d directly. I run the installer and it did the upgrade correctly. I edited some personal scripts and now the cmd.php runs ok and gets all the data correctly
But when I run the poller the CACTIRRD only updates one rrd file
As the user that runs the poller.php, run "php poller.php" and watch the STDOUT. If you have permission problems, they will show up here. Please make sure that you run it as the user that it runs as from cron, otherwise, this will not be a true test.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
All the rrds have correct user/group and rights:
-rw-r--r-- 1 www-data www-data 71580 Jun 21 10:00 ping_114.rrd
-rw-r--r-- 1 www-data www-data 47836 Jun 8 18:05 localhost_proc_7.rrd
-------------------------------------------------
The directory has correct rights and the user www-data could enter without any problem to the directory.
lrwxrwxrwx 1 root root
-------------------------------------------------
[www-data:/usr/share/cacti]$ php poller.php
06/21/2005 10:04:27 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 6]
06/21/2005 10:04:27 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 12 18]
Waiting on 2/2 pollers.
06/21/2005 10:04:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/ping_114.rrd --template ping 1119341067:242.8
06/21/2005 10:04:28 AM - SYSTEM STATS: Time: 1.0464 s, Method: cmd.php, Processes: 2, Threads: N/A, Hosts: 14, Hosts/Process: 7
OK u:0.00 s:0.00 r:1.01
-------------------------------------------------
System Utilities / View Poller Cache shows [49 Items] correctly
Now I'm updating the rrds manually in other script, and the graphs in cacti are correctly displayed.
i've run into this as well. yesterday half my rrd files stopped updating. when watching the output in the log it seems as if cacti doesnt even try them. this is happening with "get snmp data" and "script/command" on these hosts. also any new data sources/graphs added fail to get created for these specific hosts, all of which respond to snmp just fine on the command line. updating to 0.8.6e didnt fix.
i checked my poller_output table
mysql> select count(*) from poller_output;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)
UPDATE: my snmp polls seem to be updating now, however my script based polls dont seem to be picking back up.
Last edited by mvam on Wed Jun 22, 2005 12:42 pm, edited 1 time in total.
Please try to "Clear Poller Cache" in the Utilties section. It doesn't accually clear it, it rebuilds it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
yep, all of them.
the only thing i did around the time it happened was to disable 3 hosts that had been added the day before but were not responding to snmp.