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 <albert.s...@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 > > 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: j...@obspm.fr Heure local/Local time: ven 11 sep 2015 21:38:51 CEST _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"