hobbitgraph settings for multible values?

Maik Heinelt maik at vegasystems.com
Mon Feb 18 09:37:35 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
I have set up the sensors.sh for some clients.
It is working well, but sometimes, I have the problem to display the 
graphs in Hobbit.

that's my setting at the hobbitgraph config

[temp]
~        TITLE Server Temperature
~        YAXIS Degrees Celcius
~        DEF:p=temp.rrd:Temperature1:AVERAGE
~        DEF:u=temp.rrd:Temperature2:AVERAGE
~        DEF:s=temp.rrd:Temperature3:AVERAGE
~        LINE2:p#@COLOR@:Temperature 1
~        GPRINT:p:LAST: \: %5.1lf (cur)
~        GPRINT:p:MAX: \: %5.1lf (max)
~        GPRINT:p:MIN: \: %5.1lf (min)
~        GPRINT:p:AVERAGE: \: %5.1lf (avg)\n
~        LINE2:u#@COLOR@:Temperature 2
~        GPRINT:u:LAST: \: %5.1lf (cur)
~        GPRINT:u:MAX: \: %5.1lf (max)
~        GPRINT:u:MIN: \: %5.1lf (min)
~        GPRINT:u:AVERAGE: \: %5.1lf (avg)\n
~        LINE2:s#@COLOR@:Temperature 3
~        GPRINT:s:LAST: \: %5.1lf (cur)
~        GPRINT:s:MAX: \: %5.1lf (max)
~        GPRINT:s:MIN: \: %5.1lf (min)
~        GPRINT:s:AVERAGE: \: %5.1lf (avg)\n

the problem is, sometimes, our server havn't only 3 temperatures, 
sometimes, it has only 1 temperature to check.
If it is less than 3 temperatures, it isn't a problem, but if it is more 
than 3 temperature, I need to change the settings.
but when I changed the hobbitgraph to display more than 3 temperature, 
all other server which have only less than 3
temperature will not displayed and graphs.

How can I change the hobbitgraph.cfg to display the graphs depend of the 
temp.rrd values for temperatures?

I hope, everyone could understand my problem.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFHuUPPr4r+EhimPOURAtayAJ4nfa9NTAHDkPVjI3/FcaOhIre7HwCgrFQD
bdBW4fOGNPmt3S6JjqQegoc=
=zbaX
-----END PGP SIGNATURE-----




More information about the Xymon mailing list