Remote Host Ping service "CRITICAL - Plugin timed out"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cranberryark
Posts: 6
Joined: Tue Feb 12, 2019 1:52 pm

Remote Host Ping service "CRITICAL - Plugin timed out"

Post 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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cranberryark
Posts: 6
Joined: Tue Feb 12, 2019 1:52 pm

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

Post 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?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cranberryark
Posts: 6
Joined: Tue Feb 12, 2019 1:52 pm

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

Post by cranberryark »

Thank you, I solved my problem by following that link you sent.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post by cdienger »

Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked