Suppress services for a client if client NRPE is down.

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
pareshgandhare
Posts: 1
Joined: Mon Jan 22, 2018 8:18 am

Suppress services for a client if client NRPE is down.

Post by pareshgandhare »

Is there any way to achieve below scenario in Nagios using NRPE?

Nagios box will first check if NRPE on client box is up or not and if yes it will check on other services configured for that client. If NRPE is down on client, it will throw notification for NRPE and will stop checking rest of the services configured for that client box until NRPE comes up.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Suppress services for a client if client NRPE is down.

Post by eloyd »

Yes. This is called service dependency and is something that can easily be done with a template. Make a service template, make it dependent upon the NRPE service check returning OK, and then add this to all your dependent services. They will only check if the NRPE service check is in an OK state.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Suppress services for a client if client NRPE is down.

Post by cdienger »

Here's a link to some more information on dependencies if needed: https://assets.nagios.com/downloads/nag ... ncies.html.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked