Nagios & Jail
greenwood.andy at gmail.com
Thu Dec 18 14:18:50 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Albert Shih wrote:
> Hi all.
> I'm trying to install a nagios server in a jail.
> I've a problem with check_ping.
> [root@]# /usr/local/libexec/nagios/check_ping -H some_host -w
3000.0,80% -c 5000.0,100% -p 5
> CRITICAL - You need more args!!!
> Could not open pipe:
> So I think it's become the «ping problem». So I put
> sysctl -w security.jail.allow_raw_sockets=1
> in the host-jail-server.
> In the jail I can make a ping but the nagios check_ping don't work.
> Anyone have succefully install a nagios server in a jail ?
I'm not exactly sure how I did it, but I remember having to change
something from the defaults when I built the net-mgmt/nagios-plugins
port because the check_ping command wasn't working right. I'd suggest
going back and re-making that port to see if you get any error messages.
I want to say that it wasn't finding the ping binary, but I don't think
that's what it was.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-questions