Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 09:18:52 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Albert Shih <Albert.Shih@obspm.fr>, 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>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========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 <Albert.Shih@obspm.fr>
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==========--




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