Configure multiple hostname on the same client.
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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 |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 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-----
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
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Mit freundlichen Gruessen Rolf Schrittenlocher
Lokales Bibliothekssystem Frankfurt Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at ub.uni-frankfurt.de
participants (3)
-
novosirj@umdnj.edu
-
schritte@ub.uni-frankfurt.de
-
tboutelier@pack-solutions.com