RRD's not created by Cacti...but work manually
Moderators: Developers, Moderators
RRD's not created by Cacti...but work manually
Hello,
Windows 2000 Server
Apache 2.0.5.4
PHP 5.0.4
I have the apache service running under an account that can write to the rra folder.
If I take the string that is generated by cacti and run it manually on the command line it creates the .rrd file. However, cacti does not do it automatically.
D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
I have created the scheduled task to execute the following:
D:\PHP\php-win.exe D:\Apache\Apache2\htdocs\Cacti\poller.php
It appears to run without errors.
Here is a cacti log:
08/11/2005 05:40:35 PM - SYSTEM STATS: Time: 1.7744 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1123807233:33
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_in:traffic_out N:16870438:18254821
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:0
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_total:hdd_used N:1073152000:354942976
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_total:hdd_used N:2587623424:294780928
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_total:hdd_used 1123807233:36413280256:22472790016
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_total:hdd_used N:9047805952:5433102336
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
Here is a part of the poller log:
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[11] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 2, output: 5433102336
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get used 2'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 2 output 9047805952
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[11] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 2, output: 9047805952
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get total 2'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 1 output 0
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[10] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 1, output: 0
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get used 1'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 1 output 0
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[10] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 1, output: 0
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get total 1'
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[9] SNMP: v1: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 48
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 3 items in the auto reindex cache for '127.0.0.1'.
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: FILENM: d:\Apache\Apache2\htdocs\Cacti\script_server.php
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: d:/apache/apache2/htdocs/cacti
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: GETCWD: d:/apache/apache2/htdocs/cacti
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
08/11/2005 05:40:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
08/11/2005 05:39:02 PM - SYSTEM STATS: Time: 1.7379 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1123807140:33
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_in:traffic_out N:13483289:16139982
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:0
Any ideas why the RRD's are not being generated?
Thx in advance,
Mark
Windows 2000 Server
Apache 2.0.5.4
PHP 5.0.4
I have the apache service running under an account that can write to the rra folder.
If I take the string that is generated by cacti and run it manually on the command line it creates the .rrd file. However, cacti does not do it automatically.
D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
I have created the scheduled task to execute the following:
D:\PHP\php-win.exe D:\Apache\Apache2\htdocs\Cacti\poller.php
It appears to run without errors.
Here is a cacti log:
08/11/2005 05:40:35 PM - SYSTEM STATS: Time: 1.7744 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1123807233:33
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_in:traffic_out N:16870438:18254821
08/11/2005 05:40:35 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:0
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_total:hdd_used N:1073152000:354942976
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_total:hdd_used N:2587623424:294780928
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_total:hdd_used 1123807233:36413280256:22472790016
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_total:hdd_used N:9047805952:5433102336
08/11/2005 05:40:34 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
Here is a part of the poller log:
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[11] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 2, output: 5433102336
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get used 2'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 2 output 9047805952
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[11] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 2, output: 9047805952
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get total 2'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 1 output 0
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[10] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get used 1, output: 0
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get used 1'
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 1 output 0
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[10] SERVER: D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 public 1 1 161 500 get total 1, output: 0
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'D:\Apache\Apache2\htdocs\Cacti\scripts\ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: '127.0.0.1 public 1 1 161 500 get total 1'
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] DS[9] SNMP: v1: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 48
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 3 items in the auto reindex cache for '127.0.0.1'.
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
08/11/2005 05:40:34 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: FILENM: d:\Apache\Apache2\htdocs\Cacti\script_server.php
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: d:/apache/apache2/htdocs/cacti
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: GETCWD: d:/apache/apache2/htdocs/cacti
08/11/2005 05:40:34 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
08/11/2005 05:40:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
08/11/2005 05:39:02 PM - SYSTEM STATS: Time: 1.7379 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1123807140:33
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_in:traffic_out N:13483289:16139982
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/11/2005 05:39:02 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:0
Any ideas why the RRD's are not being generated?
Thx in advance,
Mark
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
run from the command line one time and post the STDOUT from it. when running from the command line, use the following syntax:
c:\php\php.exe poller.php
That way you can see the output.
TheWitness
c:\php\php.exe poller.php
That way you can see the output.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
My guess would be a NTFS permission issue with the user running the scheduled task and rights for the rra folder (aka they lack modify rights).
| 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 |
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
I am having the same problem.
Windows 2000 Server
Apache 2.0.5.4
PHP 5.0.4
rrdtool-1.2.10
mysql-4.1.13a
cactid-0.8.6e
cacti-0.8.6f
Here is my output from running the poller manually:
C:\apache\Apache2\htdocs\cacti>c:\php\php.exe poller.php
08/16/2005 01:52:47 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 2]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdtool
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_37.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_38.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_39.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_40.rrd --template cpu 1124218368:0
08/16/2005 01:52:50 PM - SYSTEM STATS: Time: 3.0558 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 2, Hosts/Process: 2, Data Sources 4, RRDs Processed 4
Windows 2000 Server
Apache 2.0.5.4
PHP 5.0.4
rrdtool-1.2.10
mysql-4.1.13a
cactid-0.8.6e
cacti-0.8.6f
Here is my output from running the poller manually:
C:\apache\Apache2\htdocs\cacti>c:\php\php.exe poller.php
08/16/2005 01:52:47 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 2]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdtool
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_37.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_38.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_39.rrd --template cpu 1124218368:0
08/16/2005 01:52:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\apache\Apache2\htdocs\cacti\rra\localhost_cpu_40.rrd --template cpu 1124218368:0
08/16/2005 01:52:50 PM - SYSTEM STATS: Time: 3.0558 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 2, Hosts/Process: 2, Data Sources 4, RRDs Processed 4
Ran the following as suggested...
D:\PHP>php D:\Apache\Apache2\htdocs\Cacti\poller.php
Initially came up with error stating that it could not find cygwin1.dll. So, I copied that file into the PHP folder.
I ran it again and now it says cannot find cygpng12.dll
I am unable to locate this dll.
NOTE: It does continue on executing some portion of the script.
Here is the output.
08/16/2005 12:16:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_proc_9.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_proc_9.rrd --template proc N:45
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_10.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_10.rrd --template hdd_used:hdd_total N:0:0
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_used:hdd_total N:5429485568:9047805952
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_used:hdd_total 1124219764:22490734592:36413280256
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_used:hdd_total N:293666816:2587623424
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_used:hdd_total N:397803520:1073152000
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:3
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traffic_in N:1646987506:346829540
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1124219764:33
08/16/2005 12:16:10 PM - SYSTEM STATS: Time: 6.2815 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/16/2005 12:17:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_proc_9.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_proc_9.rrd --template proc N:45
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_10.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_10.rrd --template hdd_used:hdd_total N:0:0
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_used:hdd_total N:5429485568:9047805952
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_used:hdd_total 1124219824:22490734592:36413280256
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_used:hdd_total N:293666816:2587623424
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_used:hdd_total N:397803520:1073152000
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:6
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traffic_in N:1647101335:346949982
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1124219824:33
08/16/2005 12:17:52 PM - SYSTEM STATS: Time: 49.1647 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
One thing I forget to mention last time: In the cacti interface I have the poller set to cmd.php instead of cactid - because the scheduled task does not run properly (exceeds max run limit) when set to Cactid.
D:\PHP>php D:\Apache\Apache2\htdocs\Cacti\poller.php
Initially came up with error stating that it could not find cygwin1.dll. So, I copied that file into the PHP folder.
I ran it again and now it says cannot find cygpng12.dll
I am unable to locate this dll.
NOTE: It does continue on executing some portion of the script.
Here is the output.
08/16/2005 12:16:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_proc_9.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_proc_9.rrd --template proc N:45
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_10.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_10.rrd --template hdd_used:hdd_total N:0:0
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_used:hdd_total N:5429485568:9047805952
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_used:hdd_total 1124219764:22490734592:36413280256
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_used:hdd_total N:293666816:2587623424
08/16/2005 12:16:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_used:hdd_total N:397803520:1073152000
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:3
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traffic_in N:1646987506:346829540
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/16/2005 12:16:10 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1124219764:33
08/16/2005 12:16:10 PM - SYSTEM STATS: Time: 6.2815 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
08/16/2005 12:17:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/php/php-win.exe, ARGS: -q d:\apache\apache2\htdocs\cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_proc_9.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_proc_9.rrd --template proc N:45
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_10.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_10.rrd --template hdd_used:hdd_total N:0:0
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_11.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_11.rrd --template hdd_used:hdd_total N:5429485568:9047805952
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_12.rrd --template hdd_used:hdd_total 1124219824:22490734592:36413280256
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_13.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_13.rrd --template hdd_used:hdd_total N:293666816:2587623424
08/16/2005 12:17:06 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_hdd_total_14.rrd --step 300 DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_hdd_total_14.rrd --template hdd_used:hdd_total N:397803520:1073152000
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_cpu_15.rrd --step 300 DS:cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_cpu_15.rrd --template cpu N:6
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/localhost_traffic_in_16.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traffic_in N:1647101335:346949982
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe create D:\Apache\Apache2\htdocs\Cacti/rra/172_31_1_17_5min_cpu_8.rrd --step 300 DS:5min_cpu:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_8.rrd --template 5min_cpu N:33
08/16/2005 12:17:52 PM - POLLER: Poller[0] CACTI2RRD: D:/RRDTOOL/rrdtool.exe update D:\Apache\Apache2\htdocs\Cacti\rra\172_31_1_17_5min_cpu_17.rrd --template 5min_cpu 1124219824:33
08/16/2005 12:17:52 PM - SYSTEM STATS: Time: 49.1647 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 16, RRDs Processed 10
One thing I forget to mention last time: In the cacti interface I have the poller set to cmd.php instead of cactid - because the scheduled task does not run properly (exceeds max run limit) when set to Cactid.
rrdtool.exe needs the cygwin1.dll file, not PHP. When you got rrdtool-cygwin-1.2.11.zip, it should have come with the needed cygwin dlls. Find all other copies of the dlls and remove them on your system. Alternatively, you could do a base install of Cygwin and then you would not need to worry about the dlls (since they would be in the c:\cygwin\bin folder).
1) One thing at a time before you try to get Cactid working. If you manually run poller.php (with an admin account), do the rrd files get updated/created? 2) Once again, did you check the NTFS security settings on your rrd folder/files to make sure the user running the scheduled task, has the proper rights?
1) One thing at a time before you try to get Cactid working. If you manually run poller.php (with an admin account), do the rrd files get updated/created? 2) Once again, did you check the NTFS security settings on your rrd folder/files to make sure the user running the scheduled task, has the proper rights?
| 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 |
Hello!
I had the same issue, I used the wrong (original) rrdtool.
You have to download the rrdtool from http://www.cacti.net/downloads/rrdtool/ ... 1.2.11.zip .
Don't forget to copy the cygwin files out of this zip file to the cactid dir, too.
I had the same issue, I used the wrong (original) rrdtool.
You have to download the rrdtool from http://www.cacti.net/downloads/rrdtool/ ... 1.2.11.zip .
Don't forget to copy the cygwin files out of this zip file to the cactid dir, too.
- ichoudhury
- Posts: 46
- Joined: Tue May 31, 2005 8:18 am
Who is online
Users browsing this forum: No registered users and 6 guests