From owner-freebsd-ports@freebsd.org Fri Sep 11 07:19:01 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 DAF60A0023D for ; Fri, 11 Sep 2015 07:19:01 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A42C41A25 for ; Fri, 11 Sep 2015 07:19:01 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 3F309BDC4C; Fri, 11 Sep 2015 09:18:53 +0200 (CEST) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id 1B54FBDC1F; Fri, 11 Sep 2015 09:18:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id CBD7E42B49C0; Fri, 11 Sep 2015 09:18:52 +0200 (CEST) Date: Fri, 11 Sep 2015 09:18:52 +0200 From: Mathieu Arnold To: Albert Shih , freebsd-ports@freebsd.org Subject: Re: nagios-plugins 2.1.1 segmentation fault Message-ID: <1F80D3C17D9ABA2903628A86@atuin.in.mat.cc> In-Reply-To: <20150910152646.GA73222@pcjas.obspm.fr> References: <20150910152646.GA73222@pcjas.obspm.fr> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========F8D6BC9452A54C9AC2EB==========" 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 07:19:01 -0000 --==========F8D6BC9452A54C9AC2EB========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--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 Regards, -- Mathieu Arnold --==========F8D6BC9452A54C9AC2EB========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJV8oBcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I/cMP/jOh/W5M+of95K3t6PhBdUlS WA1F9x8IFthVYT881hmpthRMDrGwE7zmp04bMJCuLQuE797uvqHUtSf91nst7OSQ iBfD/Ae2fNjd5lXY93gs33z+GhmtkakTdgQ4XsAaibxGYpmTMi1t3oDKnp+zyacJ 7k4sBknT+2Ny+d2qF73nOcobsrc1DLIpaeLJUuoGEg16+PYx+CkZ5sr4RHHXKwxR 40HBGY7wq48YF794oJ7QQyFHMXIT9w03Rk9RZtsCennrflb899jHT9Ina4dS53dL LLW8LGpDuSzHvHv0waYfgTvsp6prs83Mdp73GWnOtbEVeQ6pDoNa2FEaKLxGlpdA dC+aKwTGDWbbZLjZ5XsRafPMglaVILk9WaDhu5V8EVs+oznd0dTyDE0mbzbg2ufS QujZusEJ7aFVHcaoq8WkUmMEWS5eJmP7k83MoQSYeaXAy4Apvfpu5DDlLvxyDKzw QydK+zAsNfp7D84Ycb/jMDxNqGXPdqIzNxkMUMDNQaMcckyLDI1jwbRzrDbQo3Bc NTJCTzfvg5C2bKCaRREmvb+R2y9cj3CObOySjmW8f2epJoArhaKjh1pcmrLmo7vp IkDpOaLJL0/PhLcJAkpTeULDh6ZGX3yybS+EBbwGXn2mRE2mMXxBs7Y0nK32UGtM v+CdrBC78FWoiy1fvWV8 =9264 -----END PGP SIGNATURE----- --==========F8D6BC9452A54C9AC2EB==========--