Cacti on Windows 2003

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

Moderators: Developers, Moderators

Post Reply
LeeCarter

Cacti on Windows 2003

Post by LeeCarter »

Hi all,

I have installed cacti on a windows 2003 server and added devices in Cacti. After my scheduled task runs I get a graph to display but the values are all -j and there is no real information running on the graph.

rrdtool version 1.0.48
mysql version 4.1.8-win
cacti version 0.8.6c
cactid version 0.8.6c
net-snmp version 5.2-1.win32
php version 5.0.3-win32
apache version 2.0.52-win32

my schedulded task was configured per the windows setup guide and looks like:

run: D:\php\php-win.exe D:\www\apache2\htdocs\cacti\poller.php
start in: D:\www\apache2\htdocs\cacti

I run this with the local administrator user and have verified the password and that the command executes every 5 minutes. (all appears to be working correctly).

I saw a topic that said I may have to grant execute rights for cmd.exe for the graphs to display correctly in 2003. I am not really sure what they were talking about but I think it was related to using 2003 with IIS.... Not really sure though. I am using apache as shown above so that may not be relevant to my issues.


Right now the cacti is configured to use cactid.exe under the poller type in the settings / poller tab.

Paths to everyting are as follows:

Nothing in the snmp walk or get paths:
RRDTool: D:/rrdtool/rrdtool.exe
PHP: D:/php/php-win.exe
Cacti Log: D:\www\apache2\htdocs\cacti/log/cacti.log
Cactid: D:\cactid\cactid.exe

I am working on getting a debug log for the cacti.log file after I reboot the box. But any suggestions are greatly appreciated.

Thanks in advance,

Lee
LeeCarter

cactid on windows

Post by LeeCarter »

Ok,

Just read another post that says cygwin is required for cactid to work properly so I'll go back to cmd.php and remove cactid to see if this works correctly under windows.

Ok,

Here is my cacti.log file. I rebooted the server and set it back to use cmd.php also removing the cactid.exe form the path section as well.


---------------------------------------------------------------------------------

01/04/2005 09:22:52 AM - SYSTEM STATS: Time: 3.1578 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_traffic_in_22.rrd --template traffic_out:traffic_in 1104859370:0:0
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_traffic_in_21.rrd --template traffic_out:traffic_in 1104859370:2690896220:2510106647
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_traffic_in_20.rrd --template traffic_out:traffic_in 1104859370:1850084007:2459092050
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_traffic_in_19.rrd --template traffic_out:traffic_in 1104859370:3930657630:269231192
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_traffic_in_18.rrd --template traffic_out:traffic_in 1104859370:27359357:3440506558
01/04/2005 09:22:52 AM - POLLER: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe update D:\www\Apache2\htdocs\cacti\rra\rcourthouse_5min_cpu_17.rrd --template 5min_cpu 1104859370:1
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Time: 1.1906 s, Theads: N/A, Hosts: 2
01/04/2005 09:22:52 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 2510106647
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 2690896220
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 2459092050
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1850084007
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 269231192
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 3930657630
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3440506558
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 27359357
01/04/2005 09:22:52 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.255.1, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 1
01/04/2005 09:22:51 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.255.1'.
01/04/2005 09:22:51 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
01/04/2005 09:22:51 AM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
01/04/2005 09:22:51 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
01/04/2005 09:22:51 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
01/04/2005 09:22:51 AM - PHPSVR: Poller[0] DEBUG: FILENM: d:\www\Apache2\htdocs\cacti\script_server.php
01/04/2005 09:22:51 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: d:/www/apache2/htdocs/cacti
01/04/2005 09:22:51 AM - PHPSVR: Poller[0] DEBUG: GETCWD: d:/www/apache2/htdocs/cacti
01/04/2005 09:22:51 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
01/04/2005 09:22:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:\php\php-win.exe, ARGS: -q d:\www\apache2\htdocs\cacti/cmd.php 0 3]
01/04/2005 09:14:38 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/04/2005 09:09:41 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: D:/cactid/cactid.exe, ARGS: 0 3]
----------------------------------------------------------------------------------
LeeCarter

More Logs

Post by LeeCarter »

I see that it is using D\:\ww\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd....

Why D\: and not D:\ ?

01/04/2005 09:39:48 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
01/04/2005 09:39:48 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-2678400 --end=-7200 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
01/04/2005 09:39:48 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
01/04/2005 09:39:48 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-604800 --end=-1800 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - Traffic - Se0/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_18.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_18.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"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - Traffic - Lo0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_22.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_22.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"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - Traffic - Fa0/1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_20.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_20.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"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - Traffic - Et1/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_21.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_21.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"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - Traffic - Fa0/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_19.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_19.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"
01/04/2005 09:39:42 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773981 --end=1104860381 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:39:41 To 2005/01/04 09:39:41\c" COMMENT:"\n" --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - Traffic - Se0/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_18.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_18.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"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - Traffic - Lo0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_22.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_22.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"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - Traffic - Fa0/1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_20.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_20.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"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - Traffic - Fa0/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_19.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_19.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"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - Traffic - Et1/0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_21.rrd":traffic_in:AVERAGE DEF:b="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_traffic_in_21.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"
01/04/2005 09:26:14 AM - WEBLOG: Poller[0] CACTI2RRD: D:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1104773173 --end=1104859573 --title="R-CourtHouse - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/03 09:26:13 To 2005/01/04 09:26:13\c" COMMENT:"\n" --vertical-label="percent" DEF:a="D\:\www\Apache2\htdocs\cacti/rra/rcourthouse_5min_cpu_17.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

cmd.php is working fine. You should attempt to set logging at debug and run cactid from the command line to determine if your output is acceptable. If it is, it is likely a path issue in "Settings->Paths". In any event, post your CACTID output.

The WEBLOG stuff is Ok. There are no issues with what otherwise appears to be an error (aka D\:\).

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests