[Nagiosplug-devel] [Pkg-nagios-devel] Bug#623702: nagios-plugins: check_host segfault on some sites

Sebastian Harl tokkee at debian.org
Thu Apr 28 09:40:36 CEST 2011


On Fri, Apr 22, 2011 at 02:12:08PM +0400, Max Kosmach wrote:
> check_host segfaults on www.google.ru
> /usr/lib/nagios/plugins/check_icmp -H www.google.ru
> OK - www.google.ru: rta 78.868ms, lost 0%|rta=78.868ms;200.000;500.000;0; pl=0%;40;80;; rtmax=79.730ms;;;; rtmin=78.445ms;;;;
> but
> /usr/lib/nagios/plugins/check_host -H www.google.ru
> Segmentation fault

This happens when specifying a host-name that resolves to more than one
IP. A fix is available in the sh/pu branch in my nagiosplug.git [1].


[1] <http://git.tokkee.org/?p=nagiosplug.git;a=commit;h=2b01a46>
    or: <https://github.com/tokkee/nagiosplug/tree/sh/pu>

Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110428/f95cb818/attachment.sig>

More information about the Devel mailing list