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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to