Possible Graphing Issues.

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

Moderators: Developers, Moderators

User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Possible Graphing Issues.

Post by rsherrard »

I feel like I am getting closer here... however, I am now running into an issue with no graphs / rrd files. I am "forcefully" running "php poller.php" however, no rrd files, and subsequently no graphs are being made.

Any ideas?

I'm running on Win2K3 w/ IIS6. Basicalling I get the following output when setting poller to log debugging output: (just sits there "Waiting on poller", then timeouts)

I was initially thinking this might be a perms issue; however I've granted IUSR full r/w on my cacti dir.

06/02/2005 04:38:47 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 2]
06/02/2005 04:43:13 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117669391 --end=1117755791 --title="Netopia - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 16\:43\:11 To 2005/06/02 16\:43\:11\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="C\:\HTTP\cacti/rra/netopia_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/netopia_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
06/02/2005 04:43:13 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117669391 --end=1117755791 --title="Netopia - Traffic - 64.122.1.58 (WAN 1)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 16\:43\:11 To 2005/06/02 16\:43\:11\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="C\:\HTTP\cacti/rra/netopia_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/netopia_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
06/02/2005 04:43:44 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.


Rob
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you are running php 5.0.x, please make sure that you are running php-win.exe in Settings->Paths.

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?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

Thanks for the tip... although that didn't seem to work...

One thing that looks interesting to me is the following:

C\:\HTTP\cacti/rra/netopia_traffic_in_9.rrd

that path / drive letter doesn't look right... not sure if that's a PHP / Perl thing.

<here's the output after making change>

06/02/2005 05:16:22 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 2]
06/02/2005 05:17:50 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 2]
06/02/2005 05:20:43 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117671641 --end=1117758041 --title="Netopia - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 17\:20\:41 To 2005/06/02 17\:20\:41\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="C\:\HTTP\cacti/rra/netopia_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/netopia_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
06/02/2005 05:20:43 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117671641 --end=1117758041 --title="Netopia - Traffic - 64.122.1.58 (WAN 1)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 17\:20\:41 To 2005/06/02 17\:20\:41\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="C\:\HTTP\cacti/rra/netopia_traffic_in_9.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/netopia_traffic_in_9.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""
06/02/2005 05:21:19 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/02/2005 05:22:47 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

Any other tips?

Rob
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The slash directions to not matter.

In cacti settings, disable logging of Web Events. Clean the log file. Change the Poller Logging Level to debug for one cycle and post the contents.
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

2600 - Where about in WA are you... I'm over in Ballard.

This is what I'm getting in my log, after making your suggested changes:

06/02/2005 08:58:20 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 2]
06/02/2005 09:03:17 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/02/2005 09:03:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 2]
06/02/2005 09:08:55 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

Rob
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

here's some additional logging info:

06/02/2005 09:26:35 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 3]
06/02/2005 09:28:25 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686504 --end=1117772904 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 21\:28\:24 To 2005/06/02 21\:28\:24\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
06/02/2005 09:28:25 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686504 --end=1117772904 --title="Stage T1 (Netopia) - Traffic - 64.122.1.58 (WAN 1)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 21\:28\:24 To 2005/06/02 21\:28\:24\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_12.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
06/02/2005 09:28:35 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -86400 -e -300 -r 300
06/02/2005 09:28:36 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:36 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -604800 -e -1800 -r 1800
06/02/2005 09:28:36 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-604800 --end=-1800 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:37 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -2678400 -e -7200 -r 7200
06/02/2005 09:28:37 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -33053184 -e -86400 -r 86400
06/02/2005 09:28:37 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-2678400 --end=-7200 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:37 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:42 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686521 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 21\:28\:41 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
06/02/2005 09:28:42 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686521 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 64.122.1.58 (WAN 1)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 21\:28\:41 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_12.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
06/02/2005 09:28:47 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s 1117686521 -e 1117772921 -r 300
06/02/2005 09:28:47 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686521 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/01 21\:28\:41 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:54 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s 1117732739 -e 1117772921 -r 300
06/02/2005 09:28:54 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117732739 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 10\:18\:59 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:28:57 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s 1117686521 -e 1117772921 -r 300
06/02/2005 09:28:57 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686521 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/01 21\:28\:41 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:29:03 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s 1117686521 -e 1117772921 -r 300
06/02/2005 09:29:04 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s 1117686521 -e 1117772921 -r 300
06/02/2005 09:29:04 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1117686521 --end=1117772921 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/01 21\:28\:41 To 2005/06/02 21\:28\:41\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:29:23 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -86400 -e -300 -r 300
06/02/2005 09:29:24 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -604800 -e -1800 -r 1800
06/02/2005 09:29:24 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:29:24 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-604800 --end=-1800 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:29:24 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -2678400 -e -7200 -r 7200
06/02/2005 09:29:25 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe fetch C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd AVERAGE -s -33053184 -e -86400 -r 86400
06/02/2005 09:29:25 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-2678400 --end=-7200 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
06/02/2005 09:29:25 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-33053184 --end=-86400 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In\: 0 bytes\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out\: 0 bytes"
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

More north, king county.

You did not disable logging of Web Events. Those just clutter up the log file and makes it harder to see what is going on. Clear the log file again, turn on polling for one cycle and post it.
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

hmm.. I did have those items unchecked, see the attached screen shot.

here's what my log captured this time around:

06/02/2005 11:31:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 5]
06/02/2005 11:33:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/02/2005 11:34:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: , ARGS: 0 5]
06/02/2005 11:36:55 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

Rob
Attachments
screen-shot
screen-shot
poller.JPG (150.77 KiB) Viewed 3433 times
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

1) Turn logging to DEBUG
2) Open a command window
3) Change Directories into your Cacti root
4) run "php <path_cacti>/cmd.php
5) post output

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?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

06/03/2005 08:26:58 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/03/2005 08:26:58 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/http/cacti
06/03/2005 08:26:58 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/http/cacti
06/03/2005 08:26:58 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\HTTP\cacti\script_server.php
06/03/2005 08:26:58 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.1.1'.
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 940349167
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2964202624
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2434329120
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 222190290
06/03/2005 08:26:58 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/03/2005 08:26:58 AM - CMDPHP: Poller[0] Time: 0.9804 s, Theads: N/A, Hosts: 3


Thanks...

Rob
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

For anyone in the WA / Seattle area... if your interested I'd be willing to pay a "consulting" fee if someone can help me get this deployed.

Rob
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

That output looks perfect.

Did you run that cmd.php under your login? Is that the same account that the scheduled task uses? Does that scheduled task ( I find it easier for it to be an Admin account) have the proper rights to all the programs that cacti uses?

Did you configure IIS properly with php?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

The sched. tasks is running under a local admin account... and the output I gave, was also under a local admin account.

How can I determine if PHP is setup propoerly? I would assume so, because my pages are rendering correctly, when I navigate the site.

Rob
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Local admin account 'eh? Well that should eliminate the permission problems.

When you try the following below, what happens? If you get pages of bibberish, that means it's a picture. Just pipe it to a file (i.e. rrdtool graph bla bla >pic.png)

Code: Select all

rrdtool graph - --imgformat=PNG --start=1117686504 --end=1117772904 --title="Stage T1 (Netopia) - Traffic - 192.168.1.1 (Eth0)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/06/01 21\:28\:24 To 2005/06/02 21\:28\:24\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="C\:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:"" 
As for properly setting up IIS, following the "Configure the Webserver (IIS)" of the documentation should be good enough. Don't forget to add/allow php in the web service extentions.
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

not good...

ERROR: opening 'C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd': No such file or directory

I couldn't interest you in possibly sync up this weekend could I?

Rob
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests