From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 03:22:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BFD91065694 for ; Thu, 18 Dec 2008 03:22:47 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 24CD08FC21 for ; Thu, 18 Dec 2008 03:22:46 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: by bwz12 with SMTP id 12so607622bwz.19 for ; Wed, 17 Dec 2008 19:22:45 -0800 (PST) Received: by 10.181.60.14 with SMTP id n14mr484139bkk.79.1229569213963; Wed, 17 Dec 2008 19:00:13 -0800 (PST) Received: by 10.181.9.14 with HTTP; Wed, 17 Dec 2008 19:00:13 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2008 11:00:13 +0800 From: "Mars G Miro" To: Albert.Shih@obspm.fr In-Reply-To: <20081217210542.GA25347@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20081217210542.GA25347@obspm.fr> Cc: freebsd-jail@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Nagios & Jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 03:22:47 -0000 On Thu, Dec 18, 2008 at 5:05 AM, 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 =ABping problem=BB. So I put > > sysctl -w security.jail.allow_raw_sockets=3D1 > > 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 have. I recall having the same problem w/ an older version of nagios. But the recent versions should work fine. I'm using -devel tho. > Regards. > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > T=E9l=E9phone : 01 45 07 76 26 > Heure local/Local time: > Mer 17 d=E9c 2008 22:02:55 CET > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > --=20 cheers mars