[hobbit] How to get custom graph to show up in trends
Johann Eggers
Johann.Eggers at teleatlas.com
Thu Sep 20 17:41:19 CEST 2007
I use the TREND tag in bb-hosts for this...
e.g:
x.x.x.x foo #
TRENDS:*,vmstat:vmstat|vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|v
mstat0,ifmxstats:ifmxstats|ifmxstats1|ifmxstats2|ifmxstats3|ifmxstats4
(ifmxstats is a custom test/graph with a couple of subgraphs)
>From the bb-hosts man page:
TRENDS:[*,][![graph,...]]
Defines the RRD graphs to include in the "trends" column generated by
bbgen. This option syntax is complex.
If this option is not present, bbgen provides graphs matching the
standard set of RRD files: la, disk, memory, users, vmstat, iostat,
netstat, tcp, bind, apache, sendmail
* If this option is specified, the list of graphs to include start out
as being empty (no graphs).
* To include all default graphs, use an asterisk. E.g. "TRENDS:*"
* To exclude a certain graph, speficy it prefixed with '!'. E.g. to see
all graphs except users: "TRENDS:*,!users"
* The netstat, vmstat and tcp graphs have many "subgraphs". Which of
these are shown can be speficied like this:
"TRENDS:*,netstat:netstat2|netstat3,tcp:http|smtp|conn" This will show
all graphs, but instead of the normal netstat graph, there will be two:
The netstat2 and netstat3 graphs. Instead of the combined tcp graphs
showing all services, there will be three: One for each of the http,
conn and smtp services.
Johann
________________________________
From: Jason Chambers [mailto:Jason.Chambers at geosoft.com]
Sent: Donnerstag, 20. September 2007 17:18
To: hobbit at hswn.dk
Subject: [hobbit] How to get custom graph to show up in trends
Ok, so I have the following:
bb-hosts
trends:*,bladecenttemp:bladecenttemp
hobbitserver.cfg
GRAPHS="...... ,lines,bladecenttemp"
(Note, that I don't want to use TEST2RRD)
hobbitgraph.cfg
[bladecenttemp]
TITLE Temperature
YAXIS Celius
DEF:a=bladecent_platemp.rrd:bladecent_platemp:AVERAGE
DEF:b=bladecent_fronttemp.rrd:bladecent_fronttemp:AVERAGE
AREA:a#980000:"Planar Temp"
GPRINT:a:LAST:" Current\:%8.2lf %s"
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
AREA:b#FF7800:"Front Panel Temp"
GPRINT:b:LAST:"Current\:%8.2lf %s"
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
I confirm that I can see the files on data/rrd/(servername)/ yet I can't
get the graphs to show up in trends. Can someone point out the step I
missed or screwed up on? :)
Jason Chambers I.T. Helpdesk Associate
<http://www.geosoft.com/>
85 Richmond St W
<http://maps.google.com/maps?f=q&hl=en&q=geosoft&sll=43.650833,-79.38285
3&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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070920/79b3e0b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 967 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070920/79b3e0b7/attachment.jpg>
More information about the Xymon
mailing list