Page 2 of 2
Re: Service Alerts being sent out when host is down
Posted: Wed Jul 23, 2014 2:33 am
by rajasegar
Box293 wrote:I meant to put Max Check Attempts - 2 for the host, I editied it so it makes sense.
I got what you meant. Even if I put 2 retries for host, the checks for log patterns will surely fail as it relies in a single poll.
I will write a wrapper command script that will ping the host and then execute the service if it is up.
This will take care of all situations regardless of poll and retry settings.
Re: Service Alerts being sent out when host is down
Posted: Wed Jul 23, 2014 10:26 am
by lmiltchev
I will write a wrapper command script that will ping the host and then execute the service if it is up.
This will take care of all situations regardless of poll and retry settings.
Let us know how this is working out for you, and if it is save to lock this topic as resolved.
Re: Service Alerts being sent out when host is down
Posted: Wed Jul 23, 2014 6:28 pm
by rajasegar
lmiltchev wrote:I will write a wrapper command script that will ping the host and then execute the service if it is up.
This will take care of all situations regardless of poll and retry settings.
Let us know how this is working out for you, and if it is save to lock this topic as resolved.
Ok. Please go ahead.