Xymon Mailing List Archive search

Request For Comment: Hobbit in High Availability

8 messages in this thread

list T.J. Yang · Sat, 16 Feb 2008 07:25:50 -0600 ·
I am planning to turn an existing hobbit site into High availability 
architecture.

please see my notes at hobbit wiki site at

http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide#Hobbit_in_H.A.

We already have discussions about this subject on this mail list.
list T.J. Yang · Sat, 16 Feb 2008 07:37:19 -0600 ·
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_Guide#Hobbit_in_HA
2. http://www.hswn.dk/std-cgi/htsearch?words=High+Availability&method=and&config=
list Maik Heinelt · Mon, 18 Feb 2008 17:37:35 +0900 ·
-----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-----
list Buchan Milne · Mon, 18 Feb 2008 12:40:17 +0200 ·
quoted from Maik Heinelt
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
list Maik Heinelt · Tue, 19 Feb 2008 08:58:39 +0900 ·
quoted from Buchan Milne-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Buchan Milne wrote:
| 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
|
| | user-095ef1c764a2@xymon.invalid
|
|
|
I have installes the lm_sensors on every Linux server and the script from http://www.deadcat.net/viewfile.php?fileid=824
collect the data and send them to hobbit server.
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.

Maik

- --
愛知県一宮市富士2-2-22           
株式会社 ベガシステムズ           
TEL 0586-71-3903           
FAX 0586-71-4071 
quoted from Maik Heinelt -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuhuvr4r+EhimPOURAokCAKDm2LEPX6Utz8QnvXHLGWiO95kPYQCeNCV+
Q2I325DfaQwoSZHjPzjgors=
=n4HM
-----END PGP SIGNATURE-----
list Buchan Milne · Tue, 19 Feb 2008 10:26:34 +0200 ·
quoted from Maik Heinelt
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
list Maik Heinelt · Tue, 19 Feb 2008 18:10:10 +0900 ·
quoted from Buchan Milne-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Buchan Milne wrote:
| 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
|
| | user-095ef1c764a2@xymon.invalid
|
|
|

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?
At the time, when I have installed DEVMON, I had to create a template for every device, which I wanted to monitor.
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.

Thanks for the help!

Maik

quoted from Maik Heinelt-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHupzyr4r+EhimPOURAjmhAKCHT8dzOKMsjWTIxYxEgk3Uaq8hogCgjv8o
hQy5G/Vazouo2RJcN7y6Pls=
=ptX8
-----END PGP SIGNATURE-----
list Buchan Milne · Tue, 19 Feb 2008 18:08:49 +0200 ·
quoted from Maik Heinelt
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 ....
quoted from Maik Heinelt
 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.
quoted from Maik Heinelt
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