i installed cacti on a gentoo server. i created the crontab entry for poller.php to be run every 5 minutes. but unfortunately the graphs do not show any data.
i switch logging to debug and got this:
Code: Select all
10/30/2005 08:00:03 PM - SYSTEM STATS: Time:1.0429 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:7
10/30/2005 07:59:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
10/30/2005 07:54:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Time: 0.3753 s, Theads: N/A, Hosts: 1
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_processes.pl, output: 115
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_users.pl, output: 3
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.00 10min:0.00
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: 1028120
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 57096
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
10/30/2005 07:50:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/www.genux.de/htdocs/cacti/script_server.php
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/www.genux.de/htdocs/cacti
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/spool/cron
10/30/2005 07:50:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/30/2005 07:50:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/www.genux.de/htdocs/cacti/cmd.php 0 1]
10/30/2005 07:49:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
10/30/2005 07:45:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/www.genux.de/htdocs/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1130697902:52500
10/30/2005 07:45:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/www.genux.de/htdocs/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1130697902:0.00:0.00:0.00
10/30/2005 07:45:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/www.genux.de/htdocs/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1130697902:1028120
10/30/2005 07:45:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/www.genux.de/htdocs/cacti/rra/localhost_users_6.rrd --template users 1130697902:3
10/30/2005 07:45:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/www.genux.de/htdocs/cacti/rra/localhost_proc_7.rrd --template proc 1130697902:U
10/30/2005 07:45:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
10/30/2005 07:45:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.00' [map 5min->load_5min]
10/30/2005 07:45:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Time: 0.5956 s, Theads: N/A, Hosts: 1
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_processes.pl, output: 117
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_users.pl, output: 3
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.00 10min:0.00
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: 1028120
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 52500
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
10/30/2005 07:45:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/www.genux.de/htdocs/cacti/script_server.php
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/www.genux.de/htdocs/cacti
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/spool/cron
10/30/2005 07:45:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/30/2005 07:45:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/www.genux.de/htdocs/cacti/cmd.php 0 1]
10/30/2005 07:44:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Time: 0.4733 s, Theads: N/A, Hosts: 1
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_processes.pl, output: 115
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/unix_users.pl, output: 3
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/loadavg_multi.pl, output: 1min:0.01 5min:0.02 10min:0.00
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: 1028120
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/www.genux.de/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 49508
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
10/30/2005 07:40:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/www.genux.de/htdocs/cacti/script_server.php
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/www.genux.de/htdocs/cacti
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/spool/cron
10/30/2005 07:40:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/30/2005 07:40:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/www.genux.de/htdocs/cacti/cmd.php 0 1]
thanks a lot!!