Page 1 of 1

Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Sun Feb 17, 2019 12:39 pm
by cranberryark
My Nagios server is installed on centOS7, and my remote host on Amazon Linux (both on separate AWS instance on 2 different AWS accounts).

I have configured Nagios Server by uncommenting cfg_dir=/usr/local/nagios/etc/servers in nagios.cfg, creating a servers directory with a client cfg file to define host and services.
And on the remote host, I downloaded NRPE and configured nrpe.cfg - "Allowed host addresses" - allowed_hosts=127.0.0.1,<my server IP>

However for my remote host, the PING service has the status information as "CRITICAL - Plugin timed out" and I'm not sure how to fix it.

Re: Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Mon Feb 18, 2019 4:57 pm
by cdienger
Are you able to ping the remote machine from the XI machine with just a simple:

ping <remote_ip>

?

It's not uncommon for firewalls or servers themselves to drop icmp packets and you'll want to check the firewall as well as the remote server to make sure it's configured to respond to pings.

Re: Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Wed Feb 20, 2019 2:27 am
by cranberryark
I typed: PING <remote_IP>
PING <remote_IP> (<remote_IP>) 56(84) bytes of data.

(I pressed ctrl-C to exit here after a few minutes)

--- <remote_IP> ping statistics ---
101 packets transmitted, 0 received, 100% packet loss, time 99999ms



I am new, so does this means it is definitely the firewall problem?

Re: Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Wed Feb 20, 2019 11:14 am
by cdienger
Assuming you replaced <remote_ip> with the actual ip then yes, it's either a firewall or the remote machine is configured to not respond to ping requests.

Maybe this will help:

https://stackoverflow.com/questions/219 ... 2-instance

Re: Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Tue Feb 26, 2019 1:51 pm
by cranberryark
Thank you, I solved my problem by following that link you sent.

Re: Remote Host Ping service "CRITICAL - Plugin timed out"

Posted: Tue Feb 26, 2019 2:06 pm
by cdienger
Glad to hear!