I was attempting to setup a color coded interface utilization graph per the topic - http://forums.cacti.net/viewtopic.php?t=8520
I tried to put the graph into debug mode, but it locks cacti up to the point I have to restart the WWW service. I am a NOOB, help please.
I noticed it doesn't have a cdefb, in this graph output, but when I look at the CDEF's they are all there.
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1161898799 \
--end=1161985199 \
--title="Circuit - Utilization Summary - KC_7204 Mu1 FastEthernet0/0" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/10/26 16\:39\:59 To 2006/10/27 16\:39\:59\c" \
COMMENT:" \n" \
--vertical-label="Percent" \
--slope-mode \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_out:LAST \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
DEF:bb="c\:/Inetpub/wwwroot/cacti/rra/kc_7204_traffic_in_57.rrd":traffic_in:LAST \
CDEF:cdefa= \
CDEF:cdefd=a,b,+,100000000,/,100,*,8,*,30,LE,a,b,+,100000000,/,100,*,8,*,20,GT,NEGINF,UNKN,IF,UNKN,IF \
CDEF:cdefe=a,b,+,100000000,/,100,*,8,*,50,LE,a,b,+,100000000,/,100,*,8,*,40,GT,NEGINF,UNKN,IF,UNKN,IF \
CDEF:cdeff= \
CDEF:cdefh=a,b,+,100000000,/,100,*,8,*,20,LE,a,b,+,100000000,/,100,*,8,*,10,GT,NEGINF,UNKN,IF,UNKN,IF \
CDEF:cdefi= \
CDEF:cdefj=a,b,+,100000000,/,100,*,8,*,60,LE,a,b,+,100000000,/,100,*,8,*,50,GT,NEGINF,UNKN,IF,UNKN,IF \
CDEF:cdefba= \
CDEF:cdefbb= \
CDEF:cdefbe=bb,8,* \
CDEF:cdefce=b,8,* \
CDEF:cdefcj= \
AREA:cdefa:"" \
AREA:b:"" \
AREA:bb#3ACE0C:" 0 - 10%":STACK \
AREA:cdefd#99FF99:"20 - 30%":STACK \
AREA:cdefe#FFFF00:"40 - 50%":STACK \
AREA:cdeff#FF8C1A:"60 - 70%":STACK \
AREA:bb#FF3333:"80 - 90%":STACK \
AREA:cdefh#00FF00:"10 - 20%":STACK \
AREA:cdefi#FFFF80:"30 - 40%":STACK \
AREA:cdefj#FFA54C:"50 - 60%":STACK \
AREA:cdefba#FF5F00:"70 - 80%":STACK \
AREA:cdefbb#FF0000:"90 - 100%\n":STACK \
COMMENT:"CIRCUIT SPEED\: 100000000 bits per second\n" \
COMMENT:"INBOUND TRAFFIC RATE" \
GPRINT:cdefbe:AVERAGE:" Avg\:%8.2lf%s" \
GPRINT:cdefbe:MIN:"Min\:%8.2lf%s" \
GPRINT:cdefbe:MAX:"Max\:%8.2lf%s" \
GPRINT:cdefbe:LAST:"Current\:%8.2lf%s\n" \
COMMENT:"INBOUND TRAFFIC %" \
GPRINT:cdefa:AVERAGE:" Avg\:(%5.2lf %%)" \
GPRINT:cdefa:MIN:"Min\:(%5.2lf %%)" \
GPRINT:cdefa:MAX:"Max\:(%5.2lf %%)" \
GPRINT:cdefa:LAST:"Current\:(%5.2lf %%)\n" \
COMMENT:"OUTBOUND TRAFFIC RATE" \
GPRINT:cdefce:AVERAGE:"Avg\:%8.2lf%s" \
GPRINT:cdefce:MIN:"Min\:%8.2lf%s" \
GPRINT:cdefce:MAX:"Max\:%8.2lf%s" \
GPRINT:cdefce:LAST:"Current\:%8.2lf%s\n" \
COMMENT:"OUTBOUND TRAFFIC %" \
GPRINT:cdefcj:AVERAGE:" Avg\:(%5.2lf %%)" \
GPRINT:cdefcj:MIN:"Min\:(%5.2lf %%)" \
GPRINT:cdefcj:MAX:"Max\:(%5.2lf %%)" \
GPRINT:cdefcj:LAST:"Current\:(%5.2lf %%)\n" \
COMMENT:"TOTAL DATA MOVED" \
COMMENT:" Inbound\: 21.05 GB" \
COMMENT:"Outbound\: 12.86 GB"
I get the output from the command
22 [main] rrdtool 1176 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
4788 [main] rrdtool 1176 open_stackdumpfile: Dumping stack trace to rrdtool.exe.stackdump
112546 [main] rrdtool 1176 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
114602 [main] rrdtool 1176 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
RRDTool errors
Moderators: Developers, Moderators
read http://forums.cacti.net/viewtopic.php?t=11747 entirely then repost.
Make sure you're using the cygwin version of rrdtool. Also, make sure there is only one copy of cygwin1.dll on your system.
Make sure you're using the cygwin version of rrdtool. Also, make sure there is only one copy of cygwin1.dll on your system.
| 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 |
Repost w/more info
OK. I read that post and am reposting now.
Operating System: Windows Server 2003
Webserver: IIS 6.0
Cacti: 0.8.6i
Cactid: 0.8.6i
MySQL: 5.0.24a
PHP: 5.1.6.6
RRDTool (CYGWIN version): 1.2.15
Net-SNMP: net-snmp-5.3.1-1.win32.exe
Cygwin (cygwin1.dll version): 1005.21.0.0
I was on 0.8.6h at the time of my original post.
I still can't turn on debug on that graph it will lock up my Cacti server until I restart the WWW service.
Operating System: Windows Server 2003
Webserver: IIS 6.0
Cacti: 0.8.6i
Cactid: 0.8.6i
MySQL: 5.0.24a
PHP: 5.1.6.6
RRDTool (CYGWIN version): 1.2.15
Net-SNMP: net-snmp-5.3.1-1.win32.exe
Cygwin (cygwin1.dll version): 1005.21.0.0
I was on 0.8.6h at the time of my original post.
I still can't turn on debug on that graph it will lock up my Cacti server until I restart the WWW service.
Interesting, so only that one graph (from above) gives you those rrdtool exceptions?
Did you search your system for other copies of cygwin1.dll?
Did you search your system for other copies of cygwin1.dll?
| 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 |
Alright, since TheWitness built rrdtool, he might have some better idea whats causing it to crap out.
| 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 |
Nevermind
I ended up creating my own graph template. It doesn't color code based on the percentage utlization, but it does graph the percentage Utilization of the interface IN, OUT, & TOTAL. It also has a Horizontal line at 70% utilization (this could easily be changed by changing the template). I can post it here if you think anyone would be interested
Who is online
Users browsing this forum: No registered users and 0 guests