config:
- Operating System:windows XP
Webserver: Apache2.2
Cacti: 0.8.7d
Spine:0.8.7a
MySQL: 5.0.77
PHP: 5.2.9
RRDTool (Cygwin or Win32 version): 1-2.15
Net-SNMP:5.4.2.1-1
Cygwin (cygwin1.dll version): 1.5.20
Plugin Architecture: none
Here is what I am trying to do (this is at the end of the cacti manual):
Log into the user account you'll be using for the scheduled task and verify starting a Cacti polling cycle works. Do this by running the following from the command prompt:
php c:/cacti_web_root/cacti/poller.php
The output should look something like the following:
C:\>php c:\inetpub\wwwroot\cacti\poller.php
OK u:0.00 s:0.06 r:1.32
OK u:0.00 s:0.06 r:1.32
OK u:0.00 s:0.16 r:2.59
OK u:0.00 s:0.17 r:2.62
10/28/2005 04:57:12 PM - SYSTEM STATS: Time:4.7272 Method:cmd.php Processes:1 Threads:N/A Hosts:1 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
After this has ran once, you should have cacti.log in /cacti/log/ and rrd files in /cacti/rra/.
But I don't get that. This command php c:/cacti_web_root/cacti/poller.php gives me this result:
Code: Select all
04/16/2009 01:10:44 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '73467', Max Runtime '298', Poller Runs: '1'
04/16/2009 01:10: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 73467 seconds have passed since the last
poll!
04/16/2009 01:10:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q "c:/apache/htdocs/cacti/cmd.php" 0 0]
04/16/2009 01:10:45 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/apache/htdocs/cacti/cmd.php" 2 2]
Waiting on 2/2 pollers.
04/16/2009 01:10:46 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate C:\apache\htdocs\cacti\rra\my_windows_localhost_traffic_in_14.rrd --template traffic_out:traffic_in 1239880245:5452475:54412932
04/16/2009 01:10:46 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\htdocs\cacti\rra\my_windows_localhost_proc_8.rrd --template proc 1239880245:81
04/16/2009 01:10:46 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\htdocs\cacti\rra\my_windows_localhost_cpu_12.rrd --template cpu 1239880245:4
04/16/2009 01:10:46 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\htdocs\cacti\rra\my_windows_localhost_cpu_13.rrd --template cpu 1239880245:6
04/16/2009 01:10:46 PM - SYSTEM STATS: Time:1.3813 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:4
Loop Time is: 1.44945693016
Sleep Time is: 298.496927023
Total Time is: 1.50307297707
I did try it lots of times in more than just the last 5 minutes, so it is also saying that it out the 300 seconds allowed.
I have no idea what's wrong, so any idea is very welcome
Thanks for your help,
Marianne