Im new to Cacti, and set it up for the first time on a win2k3 system with apache.
I added the localhost as a device, and setup SNMP on the system.
Created some graphs for the localhost, but i can't see any graphs.
What is going wrong?
When i start the poller by hand it gives me the next error:
Fatal error: Maximum execution time of 299 seconds exceeded in C:\Apache2.2\htdo
cs\cacti-0.8.7a\poller.php on line 358
Also my rra directory keeps empty.
What am I doing wrong?
[SOLVED] no graphs (no files in rra dir)
Moderators: Developers, Moderators
I suggest you read this and post again http://forums.cacti.net/viewtopic.php?t=11747
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Sorry, as mentiont in my first post: i'm new to cacti....
Rechecked my config, and read the FAQ.
These are my software versions:
Operating System: Windows 2003 R2 SP1
Webserver: Apache 2.2.6
Cacti: 0.8.7a
Cactid: cacti-spine-0.8.7a
MySQL: MySQL Server 5.1
PHP: 5.2.6
RRDTool (Cygwin or Win32 version): rrdtool-1.2.15-cygwin-1.5.2
Net-SNMP: 5.4.1-3
Since i'm not getting any rra data I suppose something goes wrong witg polling.
When i run php C:\Apache2.2\htdocs\cacti-0.8.7a\poller.php on the screen i see "Waiting on 1/1 pollers" looping on the display.
This is in my log file:
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item where rrd_next_step<=0"
11/30/2007 12:07:44 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '1333', Max Runtime '298', Poller Runs: '1'
11/30/2007 12:07:44 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 1333 seconds have passed since the last poll!
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('poller_lastrun',1196420864)"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','c:/Apache2.2/htdocs/cacti-0.8.7a')"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "TRUNCATE TABLE poller_time"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT local_data_id, rrd_name FROM poller_output"
11/30/2007 12:07:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/Apache2.2/htdocs/cacti-0.8.7a/spine.exe, ARGS: 0 5]
11/30/2007 12:07:45 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
11/30/2007 12:07:45 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
11/30/2007 12:07:45 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"
11/30/2007 12:07:46 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
11/30/2007 12:07:46 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"
11/30/2007 12:07:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
^
These lines keep looping x times. When running the query against the database i get no records.
11/30/2007 12:12:43 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
11/30/2007 12:12:43 PM - SYSTEM STATS: Time:298.7649 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:0
11/30/2007 12:12:43 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:298.7649 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:0')"
11/30/2007 12:12:43 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
Rechecked my config, and read the FAQ.
These are my software versions:
Operating System: Windows 2003 R2 SP1
Webserver: Apache 2.2.6
Cacti: 0.8.7a
Cactid: cacti-spine-0.8.7a
MySQL: MySQL Server 5.1
PHP: 5.2.6
RRDTool (Cygwin or Win32 version): rrdtool-1.2.15-cygwin-1.5.2
Net-SNMP: 5.4.1-3
Since i'm not getting any rra data I suppose something goes wrong witg polling.
When i run php C:\Apache2.2\htdocs\cacti-0.8.7a\poller.php on the screen i see "Waiting on 1/1 pollers" looping on the display.
This is in my log file:
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item where rrd_next_step<=0"
11/30/2007 12:07:44 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '1333', Max Runtime '298', Poller Runs: '1'
11/30/2007 12:07:44 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 1333 seconds have passed since the last poll!
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('poller_lastrun',1196420864)"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','c:/Apache2.2/htdocs/cacti-0.8.7a')"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "TRUNCATE TABLE poller_time"
11/30/2007 12:07:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT local_data_id, rrd_name FROM poller_output"
11/30/2007 12:07:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/Apache2.2/htdocs/cacti-0.8.7a/spine.exe, ARGS: 0 5]
11/30/2007 12:07:45 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
11/30/2007 12:07:45 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
11/30/2007 12:07:45 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"
11/30/2007 12:07:46 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
11/30/2007 12:07:46 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"
11/30/2007 12:07:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
^
These lines keep looping x times. When running the query against the database i get no records.
11/30/2007 12:12:43 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
11/30/2007 12:12:43 PM - SYSTEM STATS: Time:298.7649 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:0
11/30/2007 12:12:43 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:298.7649 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:0')"
11/30/2007 12:12:43 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
Who is online
Users browsing this forum: No registered users and 2 guests