So I think I'm pretty close to getting Cacti to work fully.
Here are a few specs:
Server 2003 with SP1
IIS 6
PHP 5.0.4
MySQL Server 4.1.14
cacti-0.8.6g
cactid-0.8.6f (not being used at the moment)
rrdtool-cygwin-1.2.11
I've got it all installed properly, am able to add devices and such.
My Datasource debug says this (I believe this is good):
c:\rrdtool\rrdtool.exe create \
c:/Inetpub/wwwroot/cacti/rra/dans_desktop_traffic_in_17.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in: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 \
My Graph Management debug is a different story, however... It just says:
RRDTool Says:
No "OK" nor "Access Denied", nor a graph of any sorts.
My Cacti.log is as follows:
12/05/2005 06:16:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 0]
12/05/2005 06:16:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 4 4]
12/05/2005 06:16:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 5 5]
12/05/2005 06:16:01 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/documents and settings/administrator
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/inetpub/wwwroot/cacti
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Inetpub\wwwroot\cacti\script_server.php
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/documents and settings/administrator
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/inetpub/wwwroot/cacti
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Inetpub\wwwroot\cacti\script_server.php
12/05/2005 06:16:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 3 items in the auto reindex cache for 'dfrein'.
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for 'freinhp5850'.
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[5] DS[16] SNMP: v2: dfrein, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3536271
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[5] DS[16] SNMP: v2: dfrein, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4364208
12/05/2005 06:16:02 PM - CMDPHP: Poller[0] Host[5] DS[17] SNMP: v2: dfrein, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65540, output: 1415134324
12/05/2005 06:16:03 PM - CMDPHP: Poller[0] Host[5] DS[17] SNMP: v2: dfrein, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65540, output: 376623274
12/05/2005 06:16:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/05/2005 06:16:03 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\dans_desktop_traffic_in_16.rrd --template traffic_out:traffic_in 1133824561:3536271:4364208
12/05/2005 06:16:03 PM - CMDPHP: Poller[0] Host[4] DS[15] SNMP: v1: freinhp5850, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 16777
12/05/2005 06:16:03 PM - CMDPHP: Poller[0] Host[4] DS[15] SNMP: v1: freinhp5850, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 38573
12/05/2005 06:16:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/05/2005 06:16:03 PM - CMDPHP: Poller[0] Time: 1.2660 s, Theads: N/A, Hosts: 1
12/05/2005 06:16:03 PM - CMDPHP: Poller[0] Time: 1.3978 s, Theads: N/A, Hosts: 1
12/05/2005 06:16:04 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\hp_printer_traffic_in_15.rrd --template traffic_in:traffic_out 113382456116777
12/05/2005 06:16:04 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\dans_desktop_traffic_in_17.rrd --template traffic_out:traffic_in 1133824561:1415134324:376623274
12/05/2005 06:16:04 PM - SYSTEM STATS: Time:3.4800 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:6 RRDsProcessed:3
12/05/2005 06:16:04 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/Inetpub/wwwroot/cacti/poller_commands.php]
12/05/2005 06:16:04 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php-win.exe, ARGS: -q c:/Inetpub/wwwroot/cacti/poller_export.php]
I reviewed the guide in your signature and didn't see where I made a mistake. Can you point out where I made my mistake, haha? I've been working at fixing this for about 5 hours now with no success Thank you so much to whomever answers this post!
Cacti on Server 2003: Making .rrd files OK, but no graphs
Moderators: Developers, Moderators
- daedalus01
- Posts: 4
- Joined: Mon Dec 05, 2005 5:37 pm
heh, funny you should assume I would reply
If your rrd files are being updated every 5 minutes, then the problem points to permissions. Are you sure cmd.exe and rrdtool.exe have the proper NTFS permissions set on them which I specified in my guide?
If your rrd files are being updated every 5 minutes, then the problem points to permissions. Are you sure cmd.exe and rrdtool.exe have the proper NTFS permissions set on them which I specified in my guide?
| 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 |
- daedalus01
- Posts: 4
- Joined: Mon Dec 05, 2005 5:37 pm
BSOD2600 wrote:heh, funny you should assume I would reply
If your rrd files are being updated every 5 minutes, then the problem points to permissions. Are you sure cmd.exe and rrdtool.exe have the proper NTFS permissions set on them which I specified in my guide?
Hey, thanks for a speedy response, I really do appreciate it.
I double-checked the permissions on cmd.exe, rrdtool.exe, the cacti folder, the rra folder, and the log folder. They now all match your guide, but Graph Debug Mode still says:
RRDTool Says:
I'm running the poller by hand (from the cmd prompt) so that I can update it whenever necessary:
Code: Select all
php.exe c:\inetpub\wwwroot\cacti\poller.php
The latest portion of the log is as follows:
12/05/2005 06:51:18 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 0]
12/05/2005 06:51:19 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 4 4]
12/05/2005 06:51:19 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 5 5]
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/documents and settings/administrator
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/inetpub/wwwroot/cacti
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Inetpub\wwwroot\cacti\script_server.php
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for 'freinhp5850'.
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] Host[4] DS[15] SNMP: v1: freinhp5850, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 32021
12/05/2005 06:51:20 PM - CMDPHP: Poller[0] Host[4] DS[15] SNMP: v1: freinhp5850, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 92594
12/05/2005 06:51:20 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Time: 1.1503 s, Theads: N/A, Hosts: 1
12/05/2005 06:51:21 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\hp_printer_traffic_in_15.rrd --template traffic_out:traffic_in 113382667992594
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/documents and settings/administrator
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/inetpub/wwwroot/cacti
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Inetpub\wwwroot\cacti\script_server.php
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 3 items in the auto reindex cache for 'dfrein'.
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] DS[16] SNMP: v2: dfrein, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3611552
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] DS[16] SNMP: v2: dfrein, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4447618
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] DS[17] SNMP: v2: dfrein, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65540, output: 4203798889
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Host[5] DS[17] SNMP: v2: dfrein, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65540, output: 532988792
12/05/2005 06:51:21 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/05/2005 06:51:21 PM - CMDPHP: Poller[0] Time: 0.7968 s, Theads: N/A, Hosts: 1
12/05/2005 06:51:22 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\dans_desktop_traffic_in_16.rrd --template traffic_in:traffic_out 1133826680:4447618:3611552
12/05/2005 06:51:22 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\dans_desktop_traffic_in_17.rrd --template traffic_out:traffic_in 1133826680:4203798889:532988792
12/05/2005 06:51:22 PM - SYSTEM STATS: Time:3.3876 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:6 RRDsProcessed:3
12/05/2005 06:51:22 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/Inetpub/wwwroot/cacti/poller_commands.php]
12/05/2005 06:51:22 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/Inetpub/wwwroot/cacti/poller_export.php]
EDIT:
....Oh ok, for some reason after I ran it a few more times, the graphs appeared. I really have no idea why this happened, as the first couple of times I ran the poller (after reading your posts and verifying). Not even sure what ultimately fixed it, but thanks again!
Who is online
Users browsing this forum: No registered users and 3 guests