Re: [Vserver] Re: Nagios 2.x on a vserver. Anyone?

From: Dennis Roos <dennis_at_intouch.net>
Date: Fri 11 Nov 2005 - 09:06:59 GMT
Message-Id: <1131700019.3962.79.camel@laptop.bware.mine.nu>

On Fri, 2005-11-11 at 09:04 +0100, Evert Meulie wrote:
> Warning for all!
>
> Even though Nagios 2.x eventually compiled on my system, I ended up with a defective check_ping. And since check_ping is used by Nagios to check whether a host is up or not, this causes MAJOR problems...
For ping you need to enable a specific capability. I have nagios 2.0 running fine within a vserver ;)

What I did to get it to work was:
 * Add CAP_NET_RAW to the capabilities of the vserver (in /etc/vservers)
 * start the vserver
 * modify configure to check for a hostname instead of 127.0.0.1
 * compile nagios
 * configure nagios
 * run nagios :)

-- 
Regards,
Dennis Roos
Network Engineer @ InTouch N.V.
Middenweg 76
1097 BS Amsterdam
Tel: +31 (0)20 6752060
Fax: +31 (0)20 6758429
-=[Assumption is the mother of all f*ckups]=-
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Nov 11 09:07:24 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 11 Nov 2005 - 09:07:28 GMT by hypermail 2.1.8