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.
Suppress services for a client if client NRPE is down.
-
- Posts: 1
- Joined: Mon Jan 22, 2018 8:18 am
Re: Suppress services for a client if client NRPE is down.
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.
Re: Suppress services for a client if client NRPE is down.
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.