From owner-freebsd-ports@freebsd.org Fri Sep 11 19:41:07 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07F22A0198A for ; Fri, 11 Sep 2015 19:41:07 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mx-m2.obspm.fr (mx-m2.obspm.fr [145.238.186.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.obspm.fr", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D13310AC; Fri, 11 Sep 2015 19:41:06 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) (authenticated bits=0) by mx-m2.obspm.fr (8.14.4/8.14.4/DIO Observatoire de Paris - 15/04/10) with ESMTP id t8BJeu8t017488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Sep 2015 21:40:57 +0200 Date: Fri, 11 Sep 2015 21:40:17 +0200 From: Albert Shih To: Michael Butler Cc: Mathieu Arnold , freebsd-ports@freebsd.org Subject: Re: nagios-plugins 2.1.1 segmentation fault Message-ID: <20150911194017.GA99476@pcjas.obspm.fr> References: <20150910152646.GA73222@pcjas.obspm.fr> <1F80D3C17D9ABA2903628A86@atuin.in.mat.cc> <55F2FF34.1070002@protected-networks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <55F2FF34.1070002@protected-networks.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (mx-m2.obspm.fr [145.238.186.20]); Fri, 11 Sep 2015 21:40:57 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.98.7 at mx-m2.obspm.fr X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 19:41:07 -0000 Le 11/09/2015 à 12:20:04-0400, Michael Butler a écrit > On 09/11/15 03:18, Mathieu Arnold wrote: > > > > > > +--On 10 septembre 2015 17:26:46 +0200 Albert Shih > > wrote: > > | Hi, > > | > > | I find a bug about nagios-plugins-2.1.1 I don't known if it's the > > | freebsd-ports version or it's about the plugins himself. Anyway if you do > > | a > > | > > | check_http host > > | > > | where the host didn't answer but can be reach (apache not running) you get > > | a Segmentation fault and a core dump. > > | > > | Easy to try > > | > > | check_http 127.0.0.1 > > | > > | Regards. > > > > Hi, > > > > I can't reproduce this: > > > > # /usr/local/libexec/nagios/check_http 127.0.0.1 > > HTTP OK: HTTP/1.1 301 Moved Permanently - 491 bytes in 0.001 second > > response time |time=0.000816s;;;0.000000 size=491B;;;0 > > > > Note that using check_http that way is some old legacy way of doing it, you > > should run it as: > > > > # /usr/local/libexec/nagios/check_http -H 127.0.0.1 > > HTTP OK: HTTP/1.1 301 Moved Permanently - 491 bytes in 0.000 second > > response time |time=0.000367s;;;0.000000 size=491B;;;0 > > Try it on a machine that *isn't* listening on port 80 .. I just create a bug report on github https://github.com/nagios-plugins/nagios-plugins/issues/104 Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: ven 11 sep 2015 21:38:51 CEST