nagios-plugins 2.1.1 segmentation fault

Mathieu Arnold mat at FreeBSD.org
Fri Sep 11 07:19:01 UTC 2015



+--On 10 septembre 2015 17:26:46 +0200 Albert Shih <Albert.Shih at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150911/e7ce1efc/attachment.bin>


More information about the freebsd-ports mailing list