ACK other Services in same host when certain Service is ACKd
-
MrWoodward
- Posts: 66
- Joined: Fri Jan 06, 2017 1:58 pm
ACK other Services in same host when certain Service is ACKd
Is there a way to setup a Service such that when it is ACK'd, all other alerting Services (at that time) on the same Host are automatically ACK'd with the same ACK message?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ACK other Services in same host when certain Service is
@MrWoodward, You could acknowledge all services at once with the use of the Mass Acknowledgment Component. That's the only way I could think off. Otherwise, you could come up with your own custom script using external commands:
https://old.nagios.org/developerinfo/ex ... ndlist.php
https://old.nagios.org/developerinfo/ex ... ndlist.php
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
MrWoodward
- Posts: 66
- Joined: Fri Jan 06, 2017 1:58 pm
Re: ACK other Services in same host when certain Service is
I think this is probably the correct answer for me.Otherwise, you could come up with your own custom script using external commands
Is there a way to trigger such a custom script to run when someone ACKs a service?
If not, I think I can integrate such code into the custom check plugin that I wrote. But I'd rather the script run on the ACK, rather than when it follows up on the next check.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: ACK other Services in same host when certain Service is
@MrWoodward, I don't think you can trigger a script on a service acknowledgment without modifying the sourcecode.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
MrWoodward
- Posts: 66
- Joined: Fri Jan 06, 2017 1:58 pm
Re: ACK other Services in same host when certain Service is
Ok, thanks for the help. I think I know how to accomplish what I'm trying to do.
Re: ACK other Services in same host when certain Service is
Sounds good! Is it OK if we lock this thread?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
MrWoodward
- Posts: 66
- Joined: Fri Jan 06, 2017 1:58 pm
Re: ACK other Services in same host when certain Service is
Sure thing. Thanks for the help.