Got cacti up and running and everything seems to work as it should. when the poller runs is creates the .rrd files and the graphs appear but they contain no data (or just a stright line). There are a number of threads on this same problem and I think I have read them all and nothing seems to help. I attached a copy of the log file in debug mode and below is all my version information. Thanks in advance for any and all help.
cacti 0.8.6g
php 5.0.4
apache 2.0.54
rrdtool 1.2.11
net-snmp 5.2.1.2
mysql 4.1.14-nt
os 2003 sp1
No data on graphs
Moderators: Developers, Moderators
sorry the log files did not come through
09/13/2005 11:16:34 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/apache2/htdocs/cacti/cmd.php 0 7]
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Apache2\htdocs\cacti\script_server.php
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] PING: Host is Alive
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] SNMP: Host responded to SNMP
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] RECACHE: Processing 1 items in the auto reindex cache for '169.254.1.103'.
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[20] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[20] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy ethStatus, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[21] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[21] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy gpsStatus, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[22] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[22] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy regCount, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[23] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[23] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy tempF, output: U
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Time: 0.3965 s, Theads: N/A, Hosts: 1
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_link_status_20.rrd --template link_status 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_gps_status_21.rrd --template gps_status 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_reg_22.rrd --template reg 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_temp_23.rrd --template temp 1126624594:U
09/13/2005 11:16:35 AM - SYSTEM STATS: Time:1.0256 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:4
09/13/2005 11:16:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_commands.php]
09/13/2005 11:16:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_export.php]
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Apache2\htdocs\cacti\script_server.php
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] PING: Host is Alive
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] SNMP: Host responded to SNMP
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] RECACHE: Processing 1 items in the auto reindex cache for '169.254.1.103'.
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[20] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[20] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy ethStatus, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[21] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[21] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy gpsStatus, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[22] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[22] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy regCount, output: U
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[23] WARNING: Result from CMD not valid. Partial Result:
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Host[7] DS[23] CMD: C:/Apache2/htdocs/cacti/scripts/getCanopyApStats.pl 169.254.1.103 Canopy tempF, output: U
09/13/2005 11:16:34 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/13/2005 11:16:34 AM - CMDPHP: Poller[0] Time: 0.3965 s, Theads: N/A, Hosts: 1
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_link_status_20.rrd --template link_status 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_gps_status_21.rrd --template gps_status 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_reg_22.rrd --template reg 1126624594:U
09/13/2005 11:16:35 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\ap103_temp_23.rrd --template temp 1126624594:U
09/13/2005 11:16:35 AM - SYSTEM STATS: Time:1.0256 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:4 RRDsProcessed:4
09/13/2005 11:16:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_commands.php]
09/13/2005 11:16:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q C:/Apache2/htdocs/cacti/poller_export.php]
From the debug output, you see that your getCanopyApStats.pl script is not working, right? Fix that and your graphs should get fixed too. Try modifying the data input method and adding perl to the start of the command.
| 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 |
Got it up and running
went through all the settings again and looked at the install. I reinstalled net-snmp and noticed that it mode a program group. Went into that and there are 2 options to register agent and trap service. Did both and it started working. Thanks
You realize you can use the Microsoft SNMP Agent too (not at the same time as the Net-SNMP one of course).
| 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 |
Who is online
Users browsing this forum: No registered users and 0 guests