Request For Comment: Hobbit in High Availability
Sorry about last incomplete email.
I am planning to turn an existing hobbit site into High availability architecture.
I am reading the past discussions (R2) about this subject on mail list and putting putting together the wiki notes. Hoping others can comment and find if there is any design flaws.
For hobbit on Linux users, you can contribute your HA solution using Linux.
tj
References: 1. http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Gu... 2. http://www.hswn.dk/std-cgi/htsearch?words=High+Availability&method=and&confi...
-----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-----
On Monday 18 February 2008 10:37:35 Maik Heinelt wrote:
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
[...]
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.
How are you monitoring the temperatures ?
devmon avoids this by collecting to one rrd file per temperature probe ... but if you are using ncv or similar, you won't be able do this.
Regards, Buchan
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080219/0a820981/attachment.html>
On Tuesday 19 February 2008 01:58:39 Maik Heinelt wrote:
Yes,I use ncv for the graph
Do you have some more info's about to get the temp by using devmon? I have running devmon on my hobbit server to check my switches.
If your hardware vendor provides SNMP agents (Dell and HP do), install them, ensure your devmon server can poll them, add appropriate DEVMON tags to bb-hosts (e.g. DEVMON:model(dell;poweredge) or DEVMON:model(compaq;server), run devmon --readbbhosts, and you should get tests from DEVMON for the server. If you want graphs, you need devmon 0.3.0rc1, and you either need to patch hobbit with the patch supplied in the release and drop the do_devmon.c in hobbitd/rrd, to add the devmon collector, or use the perl script. There is some documentation in docs/GRAPHING. You also need to copy the graph definitions. After that, graphs should work for all devmon tests that have graphs enabled (which includes the temp tests for dell-poweredge and compaq-server).
Regards, Buchan
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080219/f8c2e09a/attachment.html>
On Tuesday 19 February 2008 11:10:10 Maik Heinelt wrote:
I will try to make it with devmon. At the moment, I still use an older version of devmon, but I think it is time for an update now. You wrote, that I have to add an DEVMON:model(modelname) to the bb-hosts. But this only works if DEVMON know this server and there is a template there for it, right?
And, there are templates for dell-poweredge and compaq-server in the current release ....
At the time, when I have installed DEVMON, I had to create a template for every device, which I wanted to monitor.
No, only devices for which templates don't yet exist. If you created templates, please post them to the devmon mailing list.
Or did I understand something wrong? By the way, I'm still looking for templates for CentreCom Switches. May you know, where I can get it.
I'm not aware of any templates for these, however if you post some details (e.g. the OIDs, maybe I can find them on mibsearch, maybe some output of an snmpwalk) to the mailing list, someone may be able to help you create a template. Once you have it working, we can include it.
Regards, Buchan
participants (3)
-
bgmilne@staff.telkomsa.net
-
maik@vegasystems.com
-
tj_yang@hotmail.com