i have cacti running but i cannot see any graphs. i can see that the rrd files get updated and when i put the logging to debug and do the rrdtool command at the command line i can create a gif file. but nothing is on the web page.
i have
windows 2003 server
apache 2.052
php 5.03
and cacti 0.8.6c
any help would be appreciated.
No Graphs created
Moderators: Developers, Moderators
turn on graphing debug and post the output
turn on logging debug and post one cycle of output.
turn on logging debug and post one cycle of output.
| 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 |
for the rrdtool all i get is "OK"
and the poller debug is:
04/04/2005 08:08:51 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 2]
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Apache2\htdocs\cacti\script_server.php
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '192.168.50.251'.
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.50.251, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 18
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Time: 0.4609 s, Theads: N/A, Hosts: 1
04/04/2005 08:08:52 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:/Apache2/htdocs/cacti/rra/usa_router_5min_cpu_8.rrd --template 5min_cpu 1112616531:18
04/04/2005 08:08:52 AM - SYSTEM STATS: Time: 1.2040 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
and the poller debug is:
04/04/2005 08:08:51 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 2]
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Apache2\htdocs\cacti\script_server.php
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '192.168.50.251'.
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.50.251, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 18
04/04/2005 08:08:52 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/04/2005 08:08:52 AM - CMDPHP: Poller[0] Time: 0.4609 s, Theads: N/A, Hosts: 1
04/04/2005 08:08:52 AM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:/Apache2/htdocs/cacti/rra/usa_router_5min_cpu_8.rrd --template 5min_cpu 1112616531:18
04/04/2005 08:08:52 AM - SYSTEM STATS: Time: 1.2040 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
Ok in the cmd window is good thing. You're debug log looks fine, the rra file is getting updated.
The problem is something to do with windows security and apache. I've never used apache, so not sure what you need to check where.
The problem is something to do with windows security and apache. I've never used apache, so not sure what you need to check where.
| 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 |
Did you set the security permissions on cmd.exe so that the web user can execute it? What about rrdtool.exe?
| 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