Xymon Mailing List Archive search

stand-by hobbit

10 messages in this thread

list Ye-fee Liang · Wed, 6 Jun 2007 14:06:45 -0400 (EDT) ·
First, many thanks for creating and maintaning Hobbit, a first-class product !!!

  Got a question about running a stand-by (or secondary) hobbit server,
let say, I'm not ready/prepare to run a linux cluster, and would like a backup server, just in case the primary server, serverA, is down   (due to failure or maintenance).

So, I could just change serverB ip addr and name and reboot to become   the parimary.
  hobbit-clients   BBDISPLAY="1.2.3.4"
  hobbit-serverA   (1.2.3.4)
BBSERVERIP="1.2.3.4"
BBPROXY="5.6.7.8"
     hobbit-serverB   (5.6.7.8)
BBSERVERIP="5.6.7.8"


Ask a question on any topic and get answers from real people. Go to Yahoo! Answers.
list Pkc_mls · Thu, 07 Jun 2007 08:44:52 +0200 ·
quoted from Ye-fee Liang
ye-fee liang a écrit :
First, many thanks for creating and maintaning Hobbit, a first-class product !!!
Got a question about running a stand-by (or secondary) hobbit server,
let say, I'm not ready/prepare to run a linux cluster, and would like a
backup server, just in case the primary server, serverA, is down
(due to failure or maintenance).
why don't you set up two hobbits servers (with perhaps an rsync script to synchronize automatically the conf) ?

you'll have two hobbit servers running in the same time (which can lead to duplicate alerts, but it's sometimes better to
be alerted two times).
quoted from Ye-fee Liang
So, I could just change serverB ip addr and name and reboot to become
the parimary.

hobbit-clients  BBDISPLAY="1.2.3.4"

hobbit-serverA   (1.2.3.4)
BBSERVERIP="1.2.3.4"
BBPROXY="5.6.7.8"
 hobbit-serverB   (5.6.7.8)
BBSERVERIP="5.6.7.8"

Ask a question on any topic and get answers from real people. *Go to Yahoo! Answers.* <http://ca.answers.yahoo.com>;
list Henrik Størner · Thu, 7 Jun 2007 09:25:22 +0200 ·
quoted from Pkc_mls
On Thu, Jun 07, 2007 at 08:44:52AM +0200, pkc_mls wrote:
ye-fee liang a écrit :
First, many thanks for creating and maintaning Hobbit, a first-class 
product !!!
Got a question about running a stand-by (or secondary) hobbit server,
let say, I'm not ready/prepare to run a linux cluster, and would like a
backup server, just in case the primary server, serverA, is down
(due to failure or maintenance).
why don't you set up two hobbits servers (with perhaps an rsync script 
to synchronize automatically the conf) ?

you'll have two hobbit servers running in the same time (which can lead 
to duplicate alerts, but it's sometimes better to
be alerted two times).
That's what I'm doing currently. Getting rid of alerts is simple, just
disable the hobbitd_alert module on one of the servers. Should that
server fail, you can quickly enable it on the backup server.


Regards,
Henrik
list Xavier Pajona · Thu, 07 Jun 2007 14:12:42 +0200 ·
Hi all,
I use a hobbit client on a linux server, but for some reason it doesn't make sense to monitor the memory usage.
I can't seem to find a way not to monitore one of the "base" tests of the linux hobbit client, like memory for instance. I could use a "group-except" in the bb-host file, but I don't like the idea of the memory being monitored but not displayed, I'd really like it not to be tested at all.
Any idea how to do this ?
Thanks.
Xavier
list Pkc_mls · Thu, 07 Jun 2007 14:19:22 +0200 ·
Xavier PAJONA a écrit :
Hi all,
Hi,
quoted from Xavier Pajona
I use a hobbit client on a linux server, but for some reason it doesn't make sense to monitor the memory usage.
I can't seem to find a way not to monitore one of the "base" tests of the linux hobbit client, like memory for instance. I could use a "group-except" in the bb-host file, but I don't like the idea of the memory being monitored but not displayed, I'd really like it not to be tested at all.
Any idea how to do this ?
did you try to comment the "free" section of the hobbitclient-linux.sh ?
Thanks.
Xavier
list Torsten Richter · Thu, 07 Jun 2007 14:26:26 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

how about putting a '--ignorecolumns=memory' in hobbitserver.cfg
BBGENOPTS="--recent-gifs ....  --ignorecolumns=memory"
It's around line 224

HTH
Torsten
quoted from Xavier Pajona

Xavier PAJONA wrote:
Hi all,
I use a hobbit client on a linux server, but for some reason it doesn't
make sense to monitor the memory usage.
I can't seem to find a way not to monitore one of the "base" tests of
the linux hobbit client, like memory for instance. I could use a
"group-except" in the bb-host file, but I don't like the idea of the
memory being monitored but not displayed, I'd really like it not to be
tested at all.
Any idea how to do this ?
Thanks.
Xavier

- --
+---------------------------------------------------------+

| Richter IT-Consulting					  |
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ/ly7DlmxomQk6wRAnEZAKCtzJcvjbnfmtUw1/7sOYnzNDkbXACfWXYG
xY2L75COF3Jhg+zak2kbzxs=
=ZbrU
-----END PGP SIGNATURE-----
list Xavier Pajona · Thu, 07 Jun 2007 14:32:14 +0200 ·
Hmmm that may be an idea, but wouldn't that whipe the memory column for 
all my server ? I monitor about 3000 servers and for only 2 or 3 of 
them, i don't want to test the memory.
quoted from Torsten Richter

Torsten Richter a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

how about putting a '--ignorecolumns=memory' in hobbitserver.cfg
BBGENOPTS="--recent-gifs ....  --ignorecolumns=memory"
It's around line 224

HTH
Torsten

Xavier PAJONA wrote:
  
Hi all,
I use a hobbit client on a linux server, but for some reason it doesn't
make sense to monitor the memory usage.
I can't seem to find a way not to monitore one of the "base" tests of
the linux hobbit client, like memory for instance. I could use a
"group-except" in the bb-host file, but I don't like the idea of the
memory being monitored but not displayed, I'd really like it not to be
tested at all.
Any idea how to do this ?
Thanks.
Xavier

- --
+---------------------------------------------------------+
| Richter IT-Consulting					  |
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ/ly7DlmxomQk6wRAnEZAKCtzJcvjbnfmtUw1/7sOYnzNDkbXACfWXYG
xY2L75COF3Jhg+zak2kbzxs=
=ZbrU
-----END PGP SIGNATURE-----

list Henrik Størner · Thu, 7 Jun 2007 14:50:21 +0200 ·
quoted from Xavier Pajona
On Thu, Jun 07, 2007 at 02:12:42PM +0200, Xavier PAJONA wrote:
Hi all,
I use a hobbit client on a linux server, but for some reason it doesn't make sense to monitor the memory usage.
I can't seem to find a way not to monitore one of the "base" tests of the linux hobbit client, like memory for instance.
Add NOCOLUMNS:memory to the host definition in bb-hosts, wait 10
minutes (or until the column goes purple) and then drop the memory column with the usual   bb 127.0.0.1 "drop HOST memory"
command.


Regards,
Henrik
list Ye-fee Liang · Thu, 7 Jun 2007 12:35:06 -0400 (EDT) ·
quoted from Henrik Størner
why don't you set up two hobbits servers (with perhaps an rsync script > to synchronize automatically the conf) ?
you'll have two hobbit servers running in the same time (which can lead > to duplicate alerts, but it's sometimes better to
be alerted two times).
That's what I'm doing currently. Getting rid of alerts is simple, just
disable the hobbitd_alert module on one of the servers. Should that
server fail, you can quickly enable it on the backup server.


Regards,
Henrik
  Just to clarify:
  1. rsync is run every 5 minutes [your opinion on frequency and other method].
2. the stand-by is running hobbitd normally(?), so only update data, and       server/www directories? (what about server/etc)
3. how to disable the hobbitd_alert module 
Thank you,
Ye-Fee

Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail
list Henrik Størner · Thu, 7 Jun 2007 21:36:40 +0200 ·
quoted from Ye-fee Liang
On Thu, Jun 07, 2007 at 12:35:06PM -0400, ye-fee liang wrote:
That's what I'm doing currently. Getting rid of alerts is simple, just
disable the hobbitd_alert module on one of the servers. Should that
server fail, you can quickly enable it on the backup server.
  Just to clarify:
1. rsync is run every 5 minutes [your opinion on frequency and other method].
2. the stand-by is running hobbitd normally(?), so only update data, and 
      server/www directories? (what about server/etc)
The only thing that is rsync'ed between the two servers is the
configuration data, i.e. the files in ~hobbit/server/etc/ . Unless
you're changing your configuration frequently, once an hour seems like 
it should be adequate.

All of the other data is maintained separately by each server. They are
running the same Hobbit modules, both of them receive data from clients,
run the network tests, generate the webpages and so on - which takes
care of maintaining all of the other data.
3. how to disable the hobbitd_alert module 
Edit hobbitlaunch.cfg and put a DISABLE in the [bbpage] section.


Henrik