Please help , graphs not created at all
when
C:\AppServ\www\cacti>php poller.php
05/01/2008 11:22:04 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Ta
sk Int: '300', Time Since Last: '600', Max Runtime '298', Poller Runs: '1'
05/01/2008 11:22:04 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of syn
c with the Poller Interval! The Poller Interval is '300' seconds, with a maximu
m of a '300' second Scheduled Task, but 600 seconds have passed since the last p
oll!
05/01/2008 11:22:04 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/AppServ/php5/php.exe, ARGS: -q c:/appserv/www/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
05/01/2008 11:22:05 PM - SYSTEM STATS: Time:1.1913 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
Loop Time is: 1.20216584206
Sleep Time is: 298.774794102
Total Time is: 1.22520589828
also cacti logs
05/01/2008 11:41:32 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/01/2008 11:41:30 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/01/2008 11:41:28 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT user_log.username, user_auth.full_name, user_auth.realm, user_log.time, user_log.result, user_log.ip FROM user_auth RIGHT JOIN user_log ON user_auth.username = user_log.username ORDER BY time DESC LIMIT 0,30"
05/01/2008 11:41:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT COUNT(*) FROM user_auth RIGHT JOIN user_log ON user_auth.username = user_log.username "
05/01/2008 11:41:28 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT DISTINCT username FROM user_auth ORDER BY username"
05/01/2008 11:41:28 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/01/2008 11:41:25 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/01/2008 11:41:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id, user_auth.username, full_name, realm, enabled, policy_graphs, time, max(time) as dtime FROM user_auth LEFT JOIN user_log ON (user_auth.id = user_log.user_id) GROUP BY id ORDER BY username ASC LIMIT 0,30"
05/01/2008 11:41:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT COUNT(user_auth.id) FROM user_auth "
05/01/2008 11:41:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/01/2008 11:35:23 PM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 210 seconds have passed since the poller last ran.
05/01/2008 11:35:23 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '210', Max Runtime '298', Poller Runs: '1'
05/01/2008 11:35:23 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item where rrd_next_step<=0"
05/01/2008 11:31:54 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
05/01/2008 11:31:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.2030 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0')"
05/01/2008 11:31:54 PM - SYSTEM STATS: Time:1.2030 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/01/2008 11:31:54 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) "
05/01/2008 11:31:54 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
05/01/2008 11:31:53 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "UPDATE poller_item SET rrd_next_step = rrd_step - 300 WHERE (rrd_next_step < 0 AND host_id >= 0 AND host_id <= 2)"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "UPDATE poller_item SET rrd_next_step = rrd_next_step - 300 WHERE (host_id >= 0 AND host_id <= 2)"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) FROM poller_item WHERE (action=2 AND host_id >= 0 AND host_id <= 2 AND rrd_next_step <= 0)"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * FROM poller_item WHERE (host_id >= 0 AND host_id <= 2 AND rrd_next_step <= 0) ORDER by host_id"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 0 AND id <= 2) ORDER by id"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
05/01/2008 11:31:53 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
05/01/2008 11:31:53 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/AppServ/php5/php.exe, ARGS: -q c:/appserv/www/cacti/cmd.php 0 2]
Operating System:Win Xp
Webserver:APACHI
Cacti:Version 0.8.7b
Spine:NO
MySQL:
PHP:php5
RRDTool (Cygwin or Win32 version):Cygwin 1.5.18
Net-SNMP: yes
Cygwin (cygwin1.dll version):
Plugin Architecture:
PLEASE HELP ASAP .
Graphs not created
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Make sure your scheduled task is setup to run every 5 minutes. Then set logging to MEDIUM and run poller.php one time from the command prompt. Post your findings.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Thanks very much for u reply I tried it but also didn't get any graphs
Kindly advice
C:\AppServ\www\cacti>php poller.php
05/08/2008 09:03:51 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Ta
sk Int: '300', Time Since Last: '231', Max Runtime '298', Poller Runs: '1'
Waiting on 1/1 pollers.
05/08/2008 09:03:52 AM - SYSTEM STATS: Time:1.1574 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
in cacti logs
05/08/2008 09:03:13 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '193', Max Runtime '298', Poller Runs: '1'
05/08/2008 09:00:02 AM - SYSTEM STATS: Time:1.1759 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 09:00:01 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/08/2008 09:00:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:58:29 AM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 209 seconds have passed since the poller last ran.
05/08/2008 08:58:29 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '209', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:55:01 AM - SYSTEM STATS: Time:1.1733 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 08:55:01 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/08/2008 08:55:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '297', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:50:05 AM - SYSTEM STATS: Time:1.3711 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 08:50:04 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
Kindly advice
C:\AppServ\www\cacti>php poller.php
05/08/2008 09:03:51 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Ta
sk Int: '300', Time Since Last: '231', Max Runtime '298', Poller Runs: '1'
Waiting on 1/1 pollers.
05/08/2008 09:03:52 AM - SYSTEM STATS: Time:1.1574 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
in cacti logs
05/08/2008 09:03:13 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '193', Max Runtime '298', Poller Runs: '1'
05/08/2008 09:00:02 AM - SYSTEM STATS: Time:1.1759 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 09:00:01 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/08/2008 09:00:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:58:29 AM - POLLER: Poller[0] NOTE: Scheduled Task is configured to run too often! The Poller Interval is '300' seconds, with a minimum Scheduled Task period of '300' seconds, but only 209 seconds have passed since the poller last ran.
05/08/2008 08:58:29 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '209', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:55:01 AM - SYSTEM STATS: Time:1.1733 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 08:55:01 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/08/2008 08:55:00 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '297', Max Runtime '298', Poller Runs: '1'
05/08/2008 08:50:05 AM - SYSTEM STATS: Time:1.3711 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
05/08/2008 08:50:04 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
No Data Sources == No Graphs
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests