Re: [Nagios-users] check_ping strange behavior with google

2012-06-08 Thread Jake Xu
Thank you Holger. That fixes a red light for me! On Thu, Jun 7, 2012 at 11:21 PM, Cosmin Neagu wrote: > You were right. It need to be told to use ipv4 with -4 switch. > Thanks > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > www.omnilogic

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Cosmin Neagu
You were right. It need to be told to use ipv4 with -4 switch. Thanks Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania www.omnilogic.ro On 06/07/2012 11:32 PM, Holger Weiß wrote: > * Travis Runyard [2012-06-07 13:18]: >> It does work but I was

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Holger Weiß
* Travis Runyard [2012-06-07 13:18]: > It does work but I was using google.com which doesn't. Strange because > it is pingable but returns network unreachable with check_ping. See my initial reply in this thread: | The hostname www.google.ro now¹ also resolves to an IPv6 address, and | check_pin

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
Hats off to you, Holger. It does work but I was using google.com which doesn't. Strange because it is pingable but returns network unreachable with check_ping. Hey at least I learned something today. On Thu, Jun 7, 2012 at 1:10 PM, Holger Weiß wrote: > * Travis Runyard [2012-06-07 12:47]: > > L

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Holger Weiß
* Travis Runyard [2012-06-07 12:47]: > Long option and short option achieve the same thing, which requires an IP > address. I have tried it out, on two separate nagios boxes, one running > Debian, the other, Redhat. Why don't you copy and paste the results from > shell to prove me wrong? $ check_

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
Long option and short option achieve the same thing, which requires an IP address. I have tried it out, on two separate nagios boxes, one running Debian, the other, Redhat. Why don't you copy and paste the results from shell to prove me wrong? On Thu, Jun 7, 2012 at 12:26 PM, Holger Weiß wrote: >

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Holger Weiß
* Travis Runyard [2012-06-07 09:56]: > http://nagiosplugins.org/man/check_ping > > = IP address. NOT hostname. Indeed, "host_address" seems to suggest an IP address. Then again, the long option is called "--hostname" :-) Anyway, you can specify either an IP address or a hostname. Why don't y

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
http://nagiosplugins.org/man/check_ping = IP address. NOT hostname. $HOSTADDRESS$Address of the host. This value is taken from the *address* directive in the host definition . On Thu, Jun 7, 2012 at 8:56 AM, Holger Weiß wrote: > * Travis

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Holger Weiß
* Travis Runyard [2012-06-07 08:39]: > The check_ping Nagios plugin does not ping hostnames, only IP addresses. The check_ping plugin supports hostnames just fine. > On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu > wrote: > > Starting from yesterday, check_ping is behaving strange for a single h

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
The check_ping Nagios plugin does not ping hostnames, only IP addresses. -Travis On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu wrote: > 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 -

[Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Cosmin Neagu
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@mon2:/usr/lo