I have a problem when executing poller.php by crontab, it exceutes each 5 minutes, but no rrd files are created in my rra folder, I had tried everiting in other posts but I can't solve this.
I send the output on poller.php run by crontab to a log file and I see this:
Code: Select all
03/12/2010 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '301', Max Runtime '298', Poller Runs: '1'
03/12/2010 10:25:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q "/usr/local/cacti-0.8.7e/cmd.php" 0 2]
03/12/2010 10:30:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/12/2010 10:30:00 AM - SYSTEM STATS: Time:298.8975 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:13 RRDsProcessed:0
Code: Select all
FATAL: Cannot connect to MFATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
Technical information:
Cacti version: 0.8.7e
OS: Solaris Sparc 10
PHP: 5.2.13
Apache: 2.2.14
RRDTool: 1.2.19
SNMP: 5.0.9
MySQL: 5.0.67
Thanks in advance.