Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2008 09:18:48 -0500
From:      Andy Greenwood <greenwood.andy@gmail.com>
To:        Albert.Shih@obspm.fr
Cc:        freebsd-jail@FreeBSD.org, freebsd-questions@freebsd.org
Subject:   Re: Nagios & Jail
Message-ID:  <494A5BC8.7090606@gmail.com>
In-Reply-To: <20081217210542.GA25347@obspm.fr>
References:  <20081217210542.GA25347@obspm.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494A5BC8.7090606>