Monitoring Host without ICMP

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
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Monitoring Host without ICMP

Post by yunushaikh »

Hello Sir,

Is there any way if the icmp is disabled for the hosts and I can monitor it through nagios.
Please suggest if there are any solution to this problem.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Monitoring Host without ICMP

Post by hsmith »

yunushaikh wrote:Hello Sir,

Is there any way if the icmp is disabled for the hosts and I can monitor it through nagios.
Please suggest if there are any solution to this problem.
What are you trying to monitor on the hosts that have ICMP disabled?
Former Nagios Employee.
me.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring Host without ICMP

Post by tmcdonald »

If you just want to check if a host is up ICMP is the easiest choice, but if there are other services (like a webserver or SSH) running, you can just as easily check those instead. It may not be a true representation of the host's status, but it is better than nothing.
Former Nagios employee
Sundar
Posts: 35
Joined: Tue Nov 24, 2015 5:41 am

Re: Monitoring Host without ICMP

Post by Sundar »

In our client's environment, ICMP can't be used in a Firewall. So, what is the best way to do ping monitor? Can a specific port be used to achieve this Ping monitor via Nagios? Please advise
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Monitoring Host without ICMP

Post by Box293 »

Ping isn't actually a port, it's a protocol of it's own so it's quite complicated to alter it.

If it's a windows host using NSClient++ (with NRPE) or a linux host with NRPE, you could do a NPRE version check:

Code: Select all

./check_nrpe -H win2008r2-01
I (0.4.3.131 2015-02-15) seem to be doing fine...
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked