Why Passive Host Check?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Why Passive Host Check?

Post by matt.uebel »

We do active host checks for all hosts, and I am trying to figure out why we should have a host check in the NRDS configuration. For instance:

command[__HOST__]=/usr/local/nagios/libexec/check_ping -H localhost -w 200.0,40% -c 400.0,80% -p 1

Is there any reason to continue to have a passive host check if we already have active checks?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Why Passive Host Check?

Post by slansing »

Well, if you would like to switch to fully passive monitoring, or you are forced to, this would be a viable option to get a host alive check. If you plan on running the active host ping check then no, there is no need for this.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Why Passive Host Check?

Post by matt.uebel »

I am confused as to how we could consider this a valid check. It seems that, if the loopback interface is unresponsive, networking capabilities are dead anyhow, and the client won't actually be able to report back to the server.

Am I missing something?
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Why Passive Host Check?

Post by matt.uebel »

Is that __HOST__ service necessary for the operation of NRDS? Would we be able to eliminate it from all NRDS configurations without ill-effect?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Why Passive Host Check?

Post by scottwilkerson »

It is not necessary at all. You can remove it from the config.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Why Passive Host Check?

Post by matt.uebel »

The rest of the NRDS checks initially show up in "unconfigured objects" if there isn't already a matching Nagios Service Object. This NRDS host check seems strange in the way that there doesn't seem to be a matching Object, but it doesn't show up in "unconfigured objects."

What Object does this passive host check map to?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Why Passive Host Check?

Post by slansing »

Well it is actively running a ping check to that host, it matches up by the IP/address of the host you are receiving passive checks from. As was said before you can remove the ping check if you wish, it is just a default that we include in many instances when setting up hosts/services.
Locked