Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2009 15:57:16 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        Kurt Jaeger <lists@c0mplx.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: Nagios & Jail
Message-ID:  <20090106145716.GE94159@obspm.fr>
In-Reply-To: <20081218172218.GE3080@home.opsec.eu>
References:  <20081217210542.GA25347@obspm.fr> <20081218172218.GE3080@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
 Le 18/12/2008 à 18:22:18+0100, Kurt Jaeger a écrit
> Hi!
> 
> > 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: 
> 
> > Anyone have succefully install a nagios server in a jail ? 

First : 

	Happy new years. 

> 
> Yes, and I think it's not a problem with ICMP sockets, but with
> the version of check_ping and what it's calling.
> 
> Please try
> 
> ./check_ping -v -v -v -H 212.71.195.58 -w 300.0,80% -c 500.0,100% -p 5
> 
> and tell us which version of ping it is calling.
> 

Thanks for your answers.

In fact I found the problem :

When I compile nagios-plugin ports in a jail the «configure» don't find
syntax of ping :

checking for ping... /sbin/ping
checking for ping6... /sbin/ping6
checking for ICMP ping syntax... configure: WARNING: unable to find usable ping syntax

But if I compile the same ports in a «normal» server (both are amd64). 

checking for ping... /sbin/ping
checking for ping6... /sbin/ping6
checking for ICMP ping syntax... /sbin/ping -n -c %d %s
checking for ICMPv6 ping syntax... /sbin/ping6 -n -c %d %s

So if I use the check_ping produce by compiling in a no-jail server on a
jail-server it's working. 

I think it's a bug about the nagios-plugins ports. What you think ? 

In fact that's not very important because I'm going to use check_fping

Thanks again for your answer. 

Regards.

JAS



-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26
Heure local/Local time:
Mar 6 jan 2009 15:48:55 CET



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