First time Modifying XML files...

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
gmisner
Posts: 5
Joined: Mon Feb 02, 2009 4:21 pm

First time Modifying XML files...

Post by gmisner »

I modified the XML from the attached post to use OID's for the cisco 3825. http://forums.cacti.net/viewtopic.php?t=20443

The OID's work fine when graphed individually.

I changed the OID and name but now get an error on DS DEF a
Not sure where to begin.

output from Graph debug mode is shown below.

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="HHG-3825-HHGLLGW01 - Channels in Use" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/hhg-3825-hhgllgw01_cisco_3825_actchan__941.rrd":Cisco 3825_actchan_:AVERAGE \
DEF:b="/var/www/html/rra/hhg-3825-hhgllgw01_cisco_3825_actchan__942.rrd":Cisco 3825_actchan_:AVERAGE \
DEF:c="/var/www/html/rra/hhg-3825-hhgllgw01_cisco_3825_actchan__943.rrd":Cisco 3825_actchan_:AVERAGE \
DEF:d="/var/www/html/rra/hhg-3825-hhgllgw01_cisco_3825_actchan__944.rrd":Cisco 3825_actchan_:AVERAGE \
CDEF:cdefbg=TIME,1233608790,GT,a,a,UN,0,a,IF,IF,TIME,1233608790,GT,b,b,UN,0,b,IF,IF,TIME,1233608790,GT,c,c,UN,0,c,IF,IF,TIME,1233608790,GT,d,d,UN,0,d,IF,IF,+,+,+ \
AREA:a#FF4105FF:"T1 1/0\:" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Max\:%8.2lf %s\n" \
AREA:b#96E78AFF:"T1 1/1\:":STACK \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Max\:%8.2lf %s\n" \
AREA:c#FFFF00FF:"T1 2/0\:":STACK \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Max\:%8.2lf %s\n" \
AREA:d#6DC8FEFF:"T1 2/1\:":STACK \
GPRINT:d:LAST:"Current\:%8.2lf %s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Max\:%8.2lf %s\n" \
LINE1:cdefbg#000000FF:"Total\:" \
GPRINT:cdefbg:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbg:MAX:"Max\:%8.2lf %s"
RRDTool Says:

ERROR: Cannot parse DS in 'DEF:a=/var/www/html/rra/hhg-3825-hhgllgw01_cisco_3825_actchan__941.rrd:Cisco'
Attachments
cacti_graph_template_3825_channels_in_use.xml
(27.25 KiB) Downloaded 176 times
gmisner
Posts: 5
Joined: Mon Feb 02, 2009 4:21 pm

Our cacti version is 0.8.7b

Post by gmisner »

Our cacti version is 0.8.7b
gmisner
Posts: 5
Joined: Mon Feb 02, 2009 4:21 pm

FIgured it out

Post by gmisner »

had to redo the dAta sources....
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

So we consider this fixed?
Reinhard
gmisner
Posts: 5
Joined: Mon Feb 02, 2009 4:21 pm

Yes

Post by gmisner »

It is Fixed
Post Reply

Who is online

Users browsing this forum: optimuscream and 0 guests