I've installed a cacti 0.87b. But rrd files for data sources doesn't create.
/usr/local/bin/php /usr/local/share/cacti/poller.php:
Code: Select all
Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:7 RRDsProcessed:0
cacti.log:
Code: Select all
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item where rrd_next_step<=0"
01/03/2009 10:18:47 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '1488711', Max Runtime '298', Poller Runs: '1'
01/03/2009 10:18:47 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 1488711 seconds have passed since the last poll!
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('poller_lastrun',1231003127)"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/usr/local/share/cacti')"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "TRUNCATE TABLE poller_time"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT local_data_id, rrd_name FROM poller_output"
01/03/2009 10:18:47 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/local/share/cacti/cmd.php 0 1]
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] ERROR: Invalid Number of Arguments. You must specify 0 or 2 arguments.
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id=0"
01/03/2009 10:18:47 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) "
01/03/2009 10:18:47 PM - SYSTEM STATS: Time:0.2203 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:7 RRDsProcessed:0
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:0.2203 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:7 RRDsProcessed:0')"
01/03/2009 10:18:47 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
I can't understand what is "CMDPHP: Poller[0] ERROR: Invalid Number of Arguments. You must specify 0 or 2 arguments." ?????
Tryed: php-5.2.6 and 5.2.8 (safemode on/off), rrdtool-1.2.26 and 1.3.3.