Xymon Mailing List Archive search

Cacti graphs in hobbit

2 messages in this thread

list Jason Chambers · Tue, 18 Sep 2007 13:13:45 -0400 ·
Anyway to get the cacti graphs to show up in hobbit web pages? This has to be something easy to do.

Jason Chambers     I.T. Helpdesk Associate     [cid:user-db17e208b87c@xymon.invalid8040] <http://www.geosoft.com/>;
XX Richmond St W<http://maps.google.com/maps?f=q&hl=en&q=geosoft&sll=43.650833,-79.382853&sspn=0.00708,0.013411&ie=UTF8&om=1&ll=43.653027,-79.382368&spn=0.00708,0.013433&z=17&iwloc=A&iwd=1&cid=43650833,-79382853,2112187895585156655&dtab=0>; - Toronto, ON, CA - M5H 2C9 - Tel: XXX.XXX.XXXX<skype:+14163690111> ext XXX - Fax: XXX.XXX.XXXX
list Jason Chambers · Wed, 19 Sep 2007 10:29:02 -0400 ·
I guess the other way is to understand how to modify my .sh scripts so that it could be captured by rrd. But I don't know where to start since I never used rrd before, hense why I wanted to use cacti. Can anyone suggest any "easy reading" materials that might help me go along doing this?


Cheers,

Jason Chambers     I.T. Helpdesk Associate     [cid:image001.jpg at 01C7FAA7.E63AE3D0] <http://www.geosoft.com/>;
XX Richmond St W<http://maps.google.com/maps?f=q&hl=en&q=geosoft&sll=43.650833,-79.382853&sspn=0.00708,0.013411&ie=UTF8&om=1&ll=43.653027,-79.382368&spn=0.00708,0.013433&z=17&iwloc=A&iwd=1&cid=43650833,-79382853,2112187895585156655&dtab=0>; - Toronto, ON, CA - M5H 2C9 - Tel: XXX.XXX.XXXX<skype:+14163690111> ext XXX - Fax: XXX.XXX.XXXX

From: PAUL WILLIAMSON [mailto:user-4a2fa5b5a229@xymon.invalid]
Sent: September-18-07 1:59 PM
To: Jason Chambers
Subject: RE: [hobbit] Cacti graphs in hobbit

Could be,.  That would be very convenient.  Let me know if you want the script.

Paul
"Jason Chambers" <user-3fa671c0a30d@xymon.invalid> 9/18/2007 1:51 PM >>>
Has to be a method more simpler than that. Like taking the properties of a graph:

/usr/local/rrdtool-1.2.11/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ColoBladeCenter - Fan Speed" \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="% of maximum" \
--slope-mode \
DEF:a="/var/www/cacti/rra/colobladecenter_bladecent_fan1_18.rrd":bladecent_fan1:AVERAGE \
DEF:b="/var/www/cacti/rra/colobladecenter_bladecent_fan2_19.rrd":bladecent_fan2:AVERAGE \
LINE1:a#00A0FF:"Fan1"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:b#FF7800:"Fan2"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"


Then placing them into hobbit's rrd definition or something.

Jason Chambers     I.T. Helpdesk Associate     [cid:image002.jpg at 01C7FAA7.E63AE3D0] <http://www.geosoft.com/>;
quoted from Jason Chambers
XX Richmond St W<http://maps.google.com/maps?f=q&hl=en&q=geosoft&sll=43.650833,-79.382853&sspn=0.00708,0.013411&ie=UTF8&om=1&ll=43.653027,-79.382368&spn=0.00708,0.013433&z=17&iwloc=A&iwd=1&cid=43650833,-79382853,2112187895585156655&dtab=0>; - Toronto, ON, CA - M5H 2C9 - Tel: XXX.XXX.XXXX<skype:+14163690111> ext XXX - Fax: XXX.XXX.XXXX