[hobbit] Cacti graphs in hobbit
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/> 85 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: 416.369.0111<skype:+14163690111> ext 344 - Fax: 416.369.9599
From: PAUL WILLIAMSON [mailto:pwilliamson at mtb.com] 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" <Jason.Chambers at geosoft.com> 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/> 85 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: 416.369.0111<skype:+14163690111> ext 344 - Fax: 416.369.9599
participants (1)
-
Jason.Chambers@geosoft.com