Xymon Mailing List Archive search

Configure multiple hostname on the same client.

3 messages in this thread

list Thomas Boutelier · Thu, 15 Nov 2012 15:59:32 +0100 ·
 Hi all,

 I want to monitor two adress on the same server (one for the server and  the second for a particular service who may move to another  server(logical interface)).
 I have configured two hostname on the server and in the  /etc/default/hobbit-client file I put the two hostname on the  CLIENTHOSTNAME variable separated by a space.

 The monitoring works fine on the first interface but nothing happens  with the second.

 Is it possible to configure this two interfaces ?

 Can we launch multiple instances with different config file ?

 Thanks,
 Thomas
list Ryan Novosielski · Thu, 15 Nov 2012 11:23:49 -0500 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Thomas Boutelier

On 11/15/2012 11:17 AM, Thomas Boutelier wrote:
Hi all,

I want to monitor two adress on the same server (one for the server
and the second for a particular service who may move to another 
server(logical interface)). I have configured two hostname on the
server and in the /etc/default/hobbit-client file I put the two
hostname on the CLIENTHOSTNAME variable separated by a space.

The monitoring works fine on the first interface but nothing
happens with the second.

Is it possible to configure this two interfaces ?

Can we launch multiple instances with different config file ?
I don't think you're being quite specific enough, which has me left
wondering why you want to do this. If you're talking about monitoring
the client-side aspects A) who cares if they show up on both hostnames
and B) isn't that going to get confusing if the client moves to a
different server?

I personally do this on many virtualhost names (eg. my.example.com and
server01.example.com). I do not try to treat "my" as another client,
and just monitor conn, and the services that are supposed to be
available. The client-side stuff is on the line with the client name.

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlClFxQACgkQmb+gadEcsb5THgCgtySMkZEzEep10czG/N6WbfIt
oZgAni00/GfuriBSR/Lra1/79uLLRBmG
=kL5o
-----END PGP SIGNATURE-----
list Rolf Schrittenlocher · Fri, 16 Nov 2012 07:37:15 +0100 ·
Hi Thomas,

we've got the same problem. There are some rather old postings about that but at least at ancient hobbit times there was no solution. You can start multiple instances from one client but then you'll have a problem at the server which regards incoming messages from the same address for the same tests as an error as long as there aren't at least some seconds in between these two messages.
Therefore we hacked the startup script and the client will always use its logical interface as long as there is one

regards
Rolf
quoted from Ryan Novosielski
Hi all,

I want to monitor two adress on the same server (one for the server and the second for a particular service who may move to another server(logical interface)).
I have configured two hostname on the server and in the /etc/default/hobbit-client file I put the two hostname on the CLIENTHOSTNAME variable separated by a space.

The monitoring works fine on the first interface but nothing happens with the second.

Is it possible to configure this two interfaces ?

Can we launch multiple instances with different config file ?

Thanks,
Thomas

-- 

Mit freundlichen Gruessen
Rolf Schrittenlocher

Lokales Bibliothekssystem Frankfurt
Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-4b3b4051a09b@xymon.invalid