Nagios & Jail

Andy Greenwood greenwood.andy at gmail.com
Thu Dec 18 06:46:36 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 ?
>
> Regards.
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

iEYEARECAAYFAklKW8gACgkQEStKVA82Z+0C8ACfX5tAleQZJwkyd4/B6PCyieKj
98IAoKOKSYqguLuecO828//KN8eHWsv1
=CaW0
-----END PGP SIGNATURE-----



More information about the freebsd-jail mailing list