If this has already been addressed, sorry, I did try to find the answer & thanks ahead of time to any who take the time to read.
I am having problems displaying graphs. I recieve partial SNMP results in my debug log but nothing is output.
Cacti: cacti-0.8.6d
Cactid: cactid-0.8.6e
PHP: php-5.0.4
MySQL: mysql-4.1.12a
RRDTool: rrdtool-1.2.10
Net-SNMP: net-snmp-5.2.1-1
Perl: ActivePerl-5.6.1.638
On the device page the system displays basic SNMP tombstone information on the server.
Below is a debug dump from poller.php and cmd.exe. The poller runs every 5 minutes.
Note the poller path error at the end.
07/20/2005 10:33:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:\cacti/cmd.php 0 0]
07/20/2005 10:33:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:\cacti/cmd.php 1 1]
07/20/2005 10:33:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:\cacti/cmd.php 3 3]
07/20/2005 10:33:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:\cacti/cmd.php 4 4]
07/20/2005 10:33:03 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/20/2005 10:33:04 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/20/2005 10:33:04 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/20/2005 10:33:04 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 4 items in the auto reindex cache for 'localhost'.
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[4] PING: Host is Alive
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 3 items in the auto reindex cache for 'services.office.avalonworks.com'.
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] CMD: perl C:\cacti/scripts/linux_memory.pl MemFree:, output: U
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[4] WARNING: Result from SNMP not valid. Partial Result:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[4] SNMP: v1: services.office.avalonworks.com, dsname: snmp_oid, oid: 1.3.6.1.4.1.9600.1.1, output: U
07/20/2005 10:33:05 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] CMD: perl C:\cacti/scripts/linux_memory.pl SwapFree:, output: U
07/20/2005 10:33:05 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers: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
07/20/2005 10:33:05 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\localhost_mem_buffers_3.rrd --template mem_buffers N:U
07/20/2005 10:33:05 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/services_snmp_oid_9.rrd --step 300 DS:snmp_oid: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
07/20/2005 10:33:05 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\services_snmp_oid_9.rrd --template snmp_oid N:U
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Time: 2.3243 s, Theads: N/A, Hosts: 1
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] CMD: perl C:\cacti/scripts/loadavg_multi.pl, output: 1min: 5min: 10min:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] CMD: perl C:\cacti/scripts/unix_users.pl, output: U
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] CMD: perl C:\cacti/scripts/unix_processes.pl, output: U
07/20/2005 10:33:05 AM - CMDPHP: Poller[0] Host[1] SNMP: v1: localhost, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 41
07/20/2005 10:33:05 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
07/20/2005 10:33:06 AM - CMDPHP: Poller[0] Time: 2.7949 s, Theads: N/A, Hosts: 1
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap: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
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\localhost_mem_swap_4.rrd --template mem_swap N:U
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 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
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\localhost_users_6.rrd --template users N:U
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/localhost_proc_7.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
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\localhost_proc_7.rrd --template proc N:U
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\cacti/rra/localhost_proc_8.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
07/20/2005 10:33:06 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\cacti\rra\localhost_proc_8.rrd --template proc N:41
07/20/2005 10:33:06 AM - SYSTEM STATS: Time: 5.9211 s, Method: cmd.php, Processes: 5, Threads: N/A, Hosts: 4, Hosts/Process: 1
07/20/2005 10:33:06 AM - EXPORT: Poller[0] Export path does not exist!
RRA folder not populated - no graphs
Moderators: Developers, Moderators
Several problems...
1) Upgrade to cacti 0.8.6f
2) Looks like none of your scripts or snmp queries are returning valid data, hence the U output. If you manually run the script(s) and do a verbose query on the snmp data sources, do you get data back?
3) Regarding EXPORT: Poller[0] Export path does not exist!, you set up graph exporting it seems and the path is invalid. Correct it.
1) Upgrade to cacti 0.8.6f
2) Looks like none of your scripts or snmp queries are returning valid data, hence the U output. If you manually run the script(s) and do a verbose query on the snmp data sources, do you get data back?
3) Regarding EXPORT: Poller[0] Export path does not exist!, you set up graph exporting it seems and the path is invalid. Correct it.
| 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