Page 1 of 1

Ping check issue

Posted: Fri Nov 02, 2018 8:46 pm
by kwhogster
Nagios Core 4.3.4

Having a minor issue with PING check on one host The Host is my vCenter appliance

Code: Select all

define service{
        use                             local-service
        host_name                       hostname
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%
        }
[code]


PING     WARNING 11-02-2018 21:39:08 0d 0h 16m 45s 4/4 PING WARNING - Packet loss = 0%, RTA = 118.81 ms 

From My desktop

[codePinging host-vc[10.2.8.11] with 32 bytes of data:
Reply from 10.2.8.11: bytes=32 time=92ms TTL=64
Reply from 10.2.8.11: bytes=32 time=121ms TTL=64
Reply from 10.2.8.11: bytes=32 time=57ms TTL=64
Reply from 10.2.8.11: bytes=32 time=105ms TTL=64

Ping statistics for 10.2.8.11:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 57ms, Maximum = 121ms, Average = 93ms]


Any ideas?

Re: Ping check issue

Posted: Mon Nov 05, 2018 8:39 am
by scottwilkerson
From your nagios server it is seeing slightly higher RTA at 118.81 ms
kwhogster wrote:

Code: Select all

PING     WARNING 11-02-2018 21:39:08 0d 0h 16m 45s 4/4 PING WARNING - Packet loss = 0%, RTA = 118.81 ms
If this is normal you may want to increase the warning time to 200 as an example

Code: Select all

check_command                   check_ping!200.0,20%!500.0,60%

Re: Ping check issue

Posted: Tue Nov 13, 2018 1:20 pm
by kwhogster
still having the issue

PING WARNING 11-13-2018 13:18:02 0d 1h 22m 9s 4/4 PING WARNING - Packet loss = 0%, RTA = 132.10 ms

Re: Ping check issue

Posted: Tue Nov 13, 2018 1:25 pm
by scottwilkerson
kwhogster wrote:still having the issue

PING WARNING 11-13-2018 13:18:02 0d 1h 22m 9s 4/4 PING WARNING - Packet loss = 0%, RTA = 132.10 ms
what is your current check_command definition?

Re: Ping check issue

Posted: Tue Nov 13, 2018 1:44 pm
by kwhogster
OOPS

check_ping!100.0,20%!500.0,60%

I forgot to change it.

Re: Ping check issue

Posted: Tue Nov 13, 2018 1:59 pm
by scottwilkerson
As I stated before
scottwilkerson wrote: If this is normal you may want to increase the warning time to 200 as an example

Code: Select all

check_command                   check_ping!200.0,20%!500.0,60%

Re: Ping check issue

Posted: Thu Nov 15, 2018 8:19 pm
by kwhogster
Scott

I made the correction.

Then I went on to my vCenter and found all my nics reverted back to 100 MBs they were at 1000 MBs
My Cisco switch set all the ports to 100 MBs they all were 1000 before then when we looked at the config it only supports 10/100 do not know how everything was 1 GBs and now only 100
waiting on a replacement switch

Will post after that change is made.

Thanks

Re: Ping check issue

Posted: Fri Nov 16, 2018 8:15 am
by scottwilkerson
kwhogster wrote:Scott

I made the correction.

Then I went on to my vCenter and found all my nics reverted back to 100 MBs they were at 1000 MBs
My Cisco switch set all the ports to 100 MBs they all were 1000 before then when we looked at the config it only supports 10/100 do not know how everything was 1 GBs and now only 100
waiting on a replacement switch

Will post after that change is made.

Thanks
Thanks for the update!