New and more Poller Statistics (0.8.6i based)
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 234
- Joined: Mon Dec 13, 2004 3:03 pm
-
- Cacti User
- Posts: 234
- Joined: Mon Dec 13, 2004 3:03 pm
Guys,
I'm trying to use this template and ran into some issues.
It only dispays the graphs for 'Poller Statistics - Runtime', all other graphs won't graph anything.
I imported the xml just fine and placed the php script in the right place.
I'm running it on a debian etch install (installed it from the repo, apt-get install cacti):
and this is what I see in the logs:
I retried the same procedure on another box with the same problem.
Any ideas?
I'm trying to use this template and ran into some issues.
It only dispays the graphs for 'Poller Statistics - Runtime', all other graphs won't graph anything.
I imported the xml just fine and placed the php script in the right place.
I'm running it on a debian etch install (installed it from the repo, apt-get install cacti):
Code: Select all
dpkg -l | grep cacti
ii cacti 0.8.6i-3.5
Code: Select all
tail -f /var/log/cacti/cacti.log
11/10/2009 03:45:02 PM - CMDPHP: Poller[0] Host[1] DS[25] WARNING: Result from SERVER not valid. Partial Result:
11/10/2009 03:45:03 PM - SYSTEM STATS: Time:2.0417 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:18 RRDsProcessed:13
Any ideas?
-
- Cacti User
- Posts: 234
- Joined: Mon Dec 13, 2004 3:03 pm
I'm running on debian etch as well... but with a localized install of Cacti, not the debian package. I'm running 0.8.7d.
Here's an example of the output from this template:
I tried running this php script directly from the command line but ended up with this:
So, unfortunately I don't know how to run this via command line to try and debug the problem. Perhaps Gandalf has a better way to troubleshoot this issue.
Try kicking up the log verbosity perhaps?
Here's an example of the output from this template:
Code: Select all
11/10/2009 05:04:02 PM - SPINE: Poller[0] Host[1] DS[120] SS[0] SERVER: /usr/local/cacti-0.8.7d/scripts/ss_poller.php ss_poller_items, output: snmp:205 script:7 script_server:4
11/10/2009 05:04:02 PM - SPINE: Poller[0] Host[1] DS[121] SS[1] SERVER: /usr/local/cacti-0.8.7d/scripts/ss_poller.php ss_poller, output: Time:15.2814 Method:spine Processes:1 Threads:10 Hosts:11 HostsPerProcess:11 DataSources:216 RRDsProcessed:53
11/10/2009 05:04:02 PM - SPINE: Poller[0] Host[1] DS[122] SS[2] SERVER: /usr/local/cacti-0.8.7d/scripts/ss_poller.php ss_poller, output: Time:15.2814 Method:spine Processes:1 Threads:10 Hosts:11 HostsPerProcess:11 DataSources:216 RRDsProcessed:53
11/10/2009 05:04:02 PM - SPINE: Poller[0] Host[1] DS[123] SS[3] SERVER: /usr/local/cacti-0.8.7d/scripts/ss_poller.php ss_recache, output: RecacheTime:0.0 HostsRecached:0
Code: Select all
Fatal error: Call to undefined function: db_fetch_cell() in /usr/local/cacti-0.8.7d/scripts/ss_poller.php on line 26
Try kicking up the log verbosity perhaps?
You should be able to run it like this:
On mine, no matter what parameter I give it (ss_poller/ss_poller_items/ss_recache), it returns the same output:
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_poller_items OR
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_poller
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_recache
Anyone?
Code: Select all
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_poller_items OR
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_poller
/usr/bin/php /usr/share/cacti/site/scripts/ss_poller.php ss_recache
Code: Select all
Time:1.0391 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:18 RRDsProcessed:13
snmp:10 script:7 script_server:1
RecacheTime:3.9912 HostsRecached:1
If you want to test/debug this script from the command line, you need to use the script server.
More info here: http://docs.cacti.net/manual:087:3a_adv ... ipt_server
More info here: http://docs.cacti.net/manual:087:3a_adv ... ipt_server
Who is online
Users browsing this forum: No registered users and 1 guest