Page 1 of 1

Suppress services for a client if client NRPE is down.

Posted: Wed May 23, 2018 10:27 am
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.

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

Posted: Thu May 24, 2018 9:48 am
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.

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

Posted: Thu May 24, 2018 2:37 pm
by cdienger
Here's a link to some more information on dependencies if needed: https://assets.nagios.com/downloads/nag ... ncies.html.