Graphs not Displaying - Broke Again :(

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Graphs not Displaying - Broke Again :(

Post by Utildayael »

Yet another broken graphs post. :oops:

Installed Cacti yesterday and got everything up and running following the Windows install guide. Only thing that does not work is the graphs. RRD files are being generated, but I get the big red X on all the graph images. Dug through the forums and still can't figure out why this isn't working. :(

Windows 2000 Server SP4
IIS 5
Cacti 0.8.6g
Cactid 0.8.6e
RRDTool 1.2.11 [from Cacti d/l page]
PHP 4.4.0
NetSNMP 5.2.1.2-1
MySQL 4.1.1


When I debug the graphs I get this:
Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="HP Procurve 3400cl - Traffic - 2" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="c\:/cacti/rra/hp_procurve_3400cl_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="c\:/cacti/rra/hp_procurve_3400cl_traffic_in_10.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb): No error in c:\cacti\lib\rrd.php on line 94

Warning: fgets(): supplied argument is not a valid stream resource in c:\cacti\lib\rrd.php on line 117
Also when I run the poller [not sure if this is an issue since it does make RRD files] ...
C:\Cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.4.0

09/14/2005 09:35:00 AM - SYSTEM STATS: Time:1.1365 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:8
OK u:0.01 s:0.03 r:0.10
OK u:0.01 s:0.05 r:0.14
ERROR: Not enough arguments
OK u:0.01 s:0.05 r:0.14
OK u:0.01 s:0.05 r:0.14
OK u:0.01 s:0.05 r:0.16
OK u:0.01 s:0.05 r:0.18
OK u:0.01 s:0.05 r:0.20
OK u:0.01 s:0.05 r:0.22
Things checked:
- Permissions for the scheduled task
- Ran poller.php as an administrator [results above]
- Saw note on forums about RRD version I had downloaded from RRDTool's website and thus changed to the version I now have from Cacti's site
- Did a graph debug [results above]


Any ideas? I'm stumped. :-?

Edit: Added versions :)
Edit2: Updated RRDTOOL to 1.2.11 per suggestion
Last edited by Utildayael on Thu Sep 15, 2005 4:35 pm, edited 5 times in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) did you give the proper rights to cmd.exe for your cactiuser ?
2) To find out what causuing "ERROR: Not enough arguments", Turn the polling level in cacti to debug (Settings | Polling level) and take a look at the log file.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Checked cmd permissions and they are ok.

Here's the debug output:
09/14/2005 01:59:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:/cacti/cmd.php 0 2]
09/14/2005 01:59:00 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
09/14/2005 01:59:00 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
09/14/2005 01:59:00 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
09/14/2005 01:59:00 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
09/14/2005 01:59:00 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
09/14/2005 01:59:00 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl c:/cacti/scripts/unix_processes.pl, output: U
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl c:/cacti/scripts/linux_memory.pl MemFree:, output: U
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl c:/cacti/scripts/linux_memory.pl SwapFree:, output: U
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl c:/cacti/scripts/loadavg_multi.pl, output: U
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl c:/cacti/scripts/unix_users.pl, output: U
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[22] SNMP: v1: 172.16.10.3, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 15
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[1] DS[23] SNMP: v1: 172.16.10.3, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 61
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '172.16.1.2'.
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3277048571
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 1508634713
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1964908520
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3370948312
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2118937643
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1790415819
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 263633143
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1014460485
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 351969874
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 3063754371
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 6551701
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 77226891
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 90707824
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 102509997
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 0
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1823634220
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 193498308
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 2885993
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 75981010
09/14/2005 01:59:01 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/14/2005 01:59:01 PM - CMDPHP: Poller[0] Time: 0.6463 s, Theads: N/A, Hosts: 2
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_proc_7.rrd --template proc 1126724340:U
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_mem_buffers_3.rrd --template mem_buffers 1126724340:U
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_mem_swap_4.rrd --template mem_swap 1126724340:U
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_load_1min_5.rrd --template 1126724340:U
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_users_6.rrd --template users 1126724340:U
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_users_22.rrd --template users 1126724340:15
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_proc_23.rrd --template proc 1126724340:61
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_12.rrd --template traffic_in:traffic_out 1126724340:3277048571:1508634713
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_13.rrd --template traffic_out:traffic_in 1126724340:1964908520:3370948312
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_14.rrd --template traffic_in:traffic_out 1126724340:2118937643:1790415819
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_15.rrd --template traffic_in:traffic_out 1126724340:263633143:1014460485
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_16.rrd --template traffic_in:traffic_out 1126724340:351969874:3063754371
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_17.rrd --template traffic_in:traffic_out 1126724340:6551701:77226891
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_18.rrd --template traffic_in:traffic_out 1126724340:90707824:102509997
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_19.rrd --template traffic_in:traffic_out 1126724340:0:0
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_20.rrd --template traffic_in:traffic_out 1126724340:1823634220:193498308
09/14/2005 01:59:01 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_21.rrd --template traffic_in:traffic_out 1126724340:2885993:75981010
09/14/2005 01:59:01 PM - SYSTEM STATS: Time:1.1247 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:27 RRDsProcessed:17
09/14/2005 01:59:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:/cacti/poller_commands.php]
09/14/2005 01:59:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:/cacti/poller_export.php]
09/14/2005 01:59:06 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:/cacti/cmd.php 0 2]
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl c:/cacti/scripts/unix_processes.pl, output: U
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl c:/cacti/scripts/linux_memory.pl MemFree:, output: U
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl c:/cacti/scripts/linux_memory.pl SwapFree:, output: U
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl c:/cacti/scripts/loadavg_multi.pl, output: U
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl c:/cacti/scripts/unix_users.pl, output: U
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[22] SNMP: v1: 172.16.10.3, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 14
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[1] DS[23] SNMP: v1: 172.16.10.3, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 61
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '172.16.1.2'.
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3277526880
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 1508861103
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1964961381
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3370950066
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2119097205
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1790559645
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 263633207
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1014461253
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 352013980
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 3063780353
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 6551701
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 77227764
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 90707824
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 102510870
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 0
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1823689404
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 193503912
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 2885993
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 75981714
09/14/2005 01:59:07 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/14/2005 01:59:07 PM - CMDPHP: Poller[0] Time: 0.6615 s, Theads: N/A, Hosts: 2
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_proc_7.rrd --template proc 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_mem_buffers_3.rrd --template mem_buffers 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_mem_swap_4.rrd --template mem_swap 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_load_1min_5.rrd --template 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_users_6.rrd --template users 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_users_22.rrd --template users 1126724346:14
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_proc_23.rrd --template proc 1126724346:61
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_12.rrd --template traffic_in:traffic_out 1126724346:3277526880:1508861103
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_13.rrd --template traffic_out:traffic_in 1126724346:1964961381:3370950066
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_14.rrd --template traffic_in:traffic_out 1126724346:2119097205:1790559645
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_15.rrd --template traffic_in:traffic_out 1126724346:263633207:1014461253
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_16.rrd --template traffic_in:traffic_out 1126724346:352013980:3063780353
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_17.rrd --template traffic_in:traffic_out 1126724346:6551701:77227764
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_18.rrd --template traffic_in:traffic_out 1126724346:90707824:102510870
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_19.rrd --template traffic_in:traffic_out 1126724346:0:0
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_20.rrd --template traffic_in:traffic_out 1126724346:1823689404:193503912
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_21.rrd --template traffic_in:traffic_out 1126724346:2885993:75981714
09/14/2005 01:59:08 PM - SYSTEM STATS: Time:1.5611 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:27 RRDsProcessed:17
09/14/2005 01:59:08 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_commands.php]
09/14/2005 01:59:08 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_export.php]
Also for kicks, the output from the poller.php when run:
C:\Cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.4.0

09/14/2005 01:59:06 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q c:/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_proc_7.rrd --template proc 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_mem_buffers_3.rrd --template mem_buffers 1126724346:U

09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_mem_swap_4.rrd --template mem_swap 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_load_1min_5.rrd --template 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_users_6.rrd --template users 1126724346:U
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_users_22.rrd --template users 1126724346:14
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_proc_23.rrd --template proc 1126724346:61
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_12.rrd --template traffic_in:traf
fic_out 1126724346:3277526880:1508861103
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_13.rrd --template traffic_out:tra
ffic_in 1126724346:1964961381:3370950066
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_14.rrd --template traffic_in:traf
fic_out 1126724346:2119097205:1790559645
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_15.rrd --template traffic_in:traf
fic_out 1126724346:263633207:1014461253
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_16.rrd --template traffic_in:traf
fic_out 1126724346:352013980:3063780353
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_17.rrd --template traffic_in:traf
fic_out 1126724346:6551701:77227764
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_18.rrd --template traffic_in:traf
fic_out 1126724346:90707824:102510870
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_19.rrd --template traffic_in:traf
fic_out 1126724346:0:0
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_20.rrd --template traffic_in:traf
fic_out 1126724346:1823689404:193503912
09/14/2005 01:59:07 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_21.rrd --template traffic_in:traf
fic_out 1126724346:2885993:75981714
OK u:0.01 s:0.03 r:0.00
OK u:0.01 s:0.06 r:0.03
OK u:0.01 s:0.06 r:0.04
ERROR: Not enough arguments
OK u:0.03 s:0.06 r:0.04
OK u:0.03 s:0.06 r:0.05
OK u:0.03 s:0.08 r:0.06
OK u:0.03 s:0.08 r:0.07
OK u:0.03 s:0.09 r:0.07
OK u:0.03 s:0.09 r:0.08
OK u:0.03 s:0.09 r:0.09
09/14/2005 01:59:08 PM - SYSTEM STATS: Time:1.5611 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:27 RRDsProcessed:17
OK u:0.03 s:0.09 r:0.10
OK u:0.03 s:0.09 r:0.10
OK u:0.03 s:0.11 r:0.11
OK u:0.03 s:0.11 r:0.12
OK u:0.03 s:0.12 r:0.13
OK u:0.03 s:0.12 r:0.14
OK u:0.03 s:0.14 r:0.14
09/14/2005 01:59:08 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_commands.php]
09/14/2005 01:59:08 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_export.php]
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Update: Went through the Cacti settings and removed the ones trying to pull Linux/Unix items from my Windows server. :oops:

Now the "ERROR: Not enough arguments" is gone and I just get all [OK] 's.

Still no graphs tho, but figured that wouldn't fix it anyway. BLeh. :-?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you wait 2 polling cycles before saying there are no graphs created?

I suggest you update your rrdtool version.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Ya I waited substancially more than 2 polling cycles just to make sure. I'm familiar with how MRTG works so figured it might take a few. :)

Just updated RRDTOOL to 1.2.11 and let it run a couple of cycles, no graphs still. RRD files still are being made tho.

Looked at the Sched. Task activity log and it has been running all afternoon with no errors as well. Hmm.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Just for kicks, updated debug log files after changing RRDTOOL version.
09/14/2005 04:54:12 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:/cacti/cmd.php 0 2]
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[1] DS[22] SNMP: v1: 172.16.10.3, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 15
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[1] DS[23] SNMP: v1: 172.16.10.3, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 61
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '172.16.1.2'.
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 7983324
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3042864591
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 2134530291
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3415219639
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2140448302
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[14] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1819806560
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 341659777
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1028960541
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 777041159
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[16] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 3123159731
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 6891037
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[17] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 79055337
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 97670882
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 106324879
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 0
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1976300695
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 203477001
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 3062247
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Host[2] DS[21] SNMP: v1: 172.16.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 77807619
09/14/2005 04:54:12 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/14/2005 04:54:12 PM - CMDPHP: Poller[0] Time: 0.3815 s, Theads: N/A, Hosts: 2
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_users_22.rrd --template users 1126734852:15
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\localhost_proc_23.rrd --template proc 1126734852:61
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_12.rrd --template traffic_in:traffic_out 1126734852:7983324:3042864591
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_13.rrd --template traffic_out:traffic_in 1126734852:2134530291:3415219639
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_14.rrd --template traffic_in:traffic_out 1126734852:2140448302:1819806560
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_15.rrd --template traffic_in:traffic_out 1126734852:341659777:1028960541
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_16.rrd --template traffic_in:traffic_out 1126734852:777041159:3123159731
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_17.rrd --template traffic_in:traffic_out 1126734852:6891037:79055337
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_18.rrd --template traffic_in:traffic_out 1126734852:97670882:106324879
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_19.rrd --template traffic_in:traffic_out 1126734852:0:0
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_20.rrd --template traffic_in:traffic_out 1126734852:1976300695:203477001
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\cacti\rra\hp_procurve_3400cl_traffic_in_21.rrd --template traffic_in:traffic_out 1126734852:3062247:77807619
09/14/2005 04:54:13 PM - SYSTEM STATS: Time:1.1156 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:22 RRDsProcessed:12
09/14/2005 04:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_commands.php]
09/14/2005 04:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_export.php]
and from the poller.php std-out...
Content-type: text/html
X-Powered-By: PHP/4.4.0

09/14/2005 04:54:12 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q c:/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_users_22.rrd --template users 1126734852:15
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\localhost_proc_23.rrd --template proc 1126734852:61
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_12.rrd --template traffic_in:traf
fic_out 1126734852:7983324:3042864591
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_13.rrd --template traffic_out:tra
ffic_in 1126734852:2134530291:3415219639
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_14.rrd --template traffic_in:traf
fic_out 1126734852:2140448302:1819806560
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_15.rrd --template traffic_in:traf
fic_out 1126734852:341659777:1028960541
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_16.rrd --template traffic_in:traf
fic_out 1126734852:777041159:3123159731
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_17.rrd --template traffic_in:traf
fic_out 1126734852:6891037:79055337
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_18.rrd --template traffic_in:traf
fic_out 1126734852:97670882:106324879
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_19.rrd --template traffic_in:traf
fic_out 1126734852:0:0
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_20.rrd --template traffic_in:traf
fic_out 1126734852:1976300695:203477001
09/14/2005 04:54:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate c:\cacti\rra\hp_procurve_3400cl_traffic_in_21.rrd --template traffic_in:traf
fic_out 1126734852:3062247:77807619
09/14/2005 04:54:13 PM - SYSTEM STATS: Time:1.1156 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:22 RRDsProcessed:12
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.05 r:0.03
OK u:0.01 s:0.05 r:0.04
OK u:0.01 s:0.05 r:0.05
OK u:0.01 s:0.06 r:0.06
OK u:0.01 s:0.06 r:0.06
OK u:0.01 s:0.08 r:0.07
OK u:0.01 s:0.08 r:0.08
OK u:0.01 s:0.09 r:0.09
OK u:0.01 s:0.09 r:0.09
OK u:0.01 s:0.11 r:0.10
OK u:0.01 s:0.11 r:0.11
09/14/2005 04:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_commands.php]
09/14/2005 04:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q C:/Cacti/poller_export.php]
Looking at this, I can't see any errors which boggles me. :( Would the debug graph output maybe be the cause? It is as follows:

Debug graph output:
Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="HP Procurve 3400cl - Traffic - 1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="c\:/cacti/rra/hp_procurve_3400cl_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="c\:/cacti/rra/hp_procurve_3400cl_traffic_in_12.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb): No error in c:\cacti\lib\rrd.php on line 94

Warning: fgets(): supplied argument is not a valid stream resource in c:\cacti\lib\rrd.php on line 117
???
Last edited by Utildayael on Wed Sep 14, 2005 4:58 pm, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Ok, so if you have rrd files with data getting updated, then it must be a php / iis issue. turn on graph debugging and paste the output. Did you allow php4isapi.dll like the install said?
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

BSOD2600 wrote:Ok, so if you have rrd files with data getting updated, then it must be a php / iis issue. turn on graph debugging and paste the output. Did you allow php4isapi.dll like the install said?
Graph output above. We must have been on the same brain-wave as I was getting that graph output to update my post right as you were posting this. 8)

As for phpisapi.dll, it is indeed being used in IIS. I just double-checked it as well.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you specify you're using rrdtool 1.2 in cacti ?
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

BSOD2600 wrote:Did you specify you're using rrdtool 1.2 in cacti ?
Yup. It is set to 1.2.x in the settings.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Back to cmd.exe. You gave the web user account execute rights on cmd.exe, right ? Looking back when I had the "supplied argument is not a valid stream resource" problem changing rights on cmd.exe fixed it.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Figured out the problem. By default there is a web users group setup to have *deny* permissions on cmd.exe

Removed the deny after figuring out what the group is and bingo, we have graphs.

One thing we don't have tho is TEXT on the graphs which is weird because the graphs themselves have data on them.

Also, it takes *forever* for the graphs to come up and I've noticed a ton of CMD.exe processes running. ???

Edit: Extra weird note... when I navigate away from the page that is trying to render the graphs, I can see all the graphs pop up before the new page loads. ??? :o
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Update - Fixed the text problem. Path to font was wrong. :oops:

However, graphs still having same problem. It is like the graph function never finishs running and is stuck! If I keep running graphs [ie navigating pages] I end up with a ton of cmd.exe processes open.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

FIXED!

Downgraded rrdtool down to 1.2.4 from 1.2.11 and everything is peachy again.

Off to actually set up meaninful graphs now. :D

Thanks again BSOD :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests