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

Jan Wagner waja at cyconet.org
Wed Apr 27 22:22:01 UTC 2011


tags 623702 + moreinfo unreproducible
severity 623702 normal
thanks

Hi Max,

thanks for your bugreport.

On Freitag, 22. April 2011, 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

Unfortunately I can't reproduce your problem. Running the command as root on 
sid works well. As www.google.ru seems to be geo-ip driven, that my not a good 
test-case. Could you please run check_host in verbose mode? Do you run it as 
root or as normal user?

# /usr/lib/nagios/plugins/check_host -v -H www.google.ru
ttl set to 64
Setting alarm timeout to 10 seconds
packets: 5, targets: 3
target_interval: 0.000, pkt_interval 1000.000
crit.rta: 1000.000
max_completion_time: 31000.000
max_completion_time: 31000000  timeout: 10
Timout must be at lest 32
crit = {1000000, 100%}, warn = {1000000, 100%}
pkt_interval: 1000000  target_interval: 0  retry_interval: 0
icmp_pkt_size: 64  timeout: 10
handle_random_icmp(0xbfe91090, 0xbfe910c8)
Packet is no response to a packet we sent
20.000 ms rtt from 74.125.79.99, outgoing ttl: 64, incoming ttl: 51, max: 
20.000, min: 20.000
OK - www.google.ru responds to ICMP. Packet 1, rta 20.000ms|pkt=1;;0;5 
rta=20.000;1000.000;1000.000;;

# dpkg -l | grep nagios-plugins
ii  nagios-plugins-basic               1.4.15-3+b1                 Plugins for 
the nagios network monitoring and management system

With kind regards, Jan.





More information about the Pkg-nagios-devel mailing list