check_ping strange behavior with google

Cosmin Neagu cosmin.neagu at omnilogic.ro
Thu Jun 7 08:54:41 CEST 2012


Hi nagios users,

Starting from yesterday, check_ping is behaving strange for a single host.
When giving -H parameter as www.google.ro it gives CRITICAL - Network 
Unreachable
But when giving -H parameter as IP address it is working. I have checked 
and there are no DNS issues


nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H 173.194.35.159 -w 
3000.0,80% -c 5000.0,100%
PING OK - Packet loss = 0%, RTA = 46.97 
ms|rta=46.971001ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0
nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.ro -w 
3000.0,80% -c 5000.0,100%
CRITICAL - Network Unreachable (www.google.ro)
nagios at mon2:/usr/local/nagios/libexec$ ping www.google.ro
PING www-cctld.l.google.com (173.194.35.159) 56(84) bytes of data.
64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=1 
ttl=54 time=46.8 ms
64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=2 
ttl=54 time=46.8 ms


Using nagios 3.2.3
nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -h
check_ping v1.4.15 (nagios-plugins 1.4.15)
Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>


After a little more search
Other sites works ok when used with check_ping, but not site containing 
goole is working

nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.de -w 
3000.0,80% -c 5000.0,100%
CRITICAL - Network Unreachable (www.google.de)
nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.com -w 
3000.0,80% -c 5000.0,100%
CRITICAL - Network Unreachable (www.google.com)
nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.it -w 
3000.0,80% -c 5000.0,100%
CRITICAL - Network Unreachable (www.google.it)

Any idea why?






-- 
  Cosmin Neagu
  NOC Team Leader
  Str. I. G. Duca nr. 36
  Otopeni, Judetul Ilfov, 075100 Romania
   www.omnilogic.ro


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list