# Multiple applications check

**URL:** <https://community.icinga.com/t/multiple-applications-check/11229>\
**Category:** Icinga 2\
**Tags:** icinga-dsl, service-apply, service\
**Created:** [December 23, 2022, 9:50pm UTC](https://community.icinga.com/t/multiple-applications-check/11229 "2022-12-23T21:50:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![monigacom](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@monigacom](https://community.icinga.com/u/monigacom)\
**Post date:** [December 23, 2022, 9:50pm UTC](https://community.icinga.com/t/multiple-applications-check/11229/1 "2022-12-23T21:50:21Z")

</div>

Hello,

I’ve an “Apply Service” rule running a command script which checks multiple application services ( running or not running ) via ssh. This is setup like this to avoid multiple service checks for various hosts.  
One cavate is that if one of the services is not running for whatever reason ( app is not deployed or app has some issue going on ), it alerts obviously. In scenario where services defined separately, I can put it in downtime until it gets fixed. I can’t do that in this case because I want to other services be monitored.

Is there a way that I can put the bad service in downtime and keep the remaining ones as monitored?

The usual plugin output is  
App1 is running App2 is running App3 is running

Please advise,  
Thanks

---

<div class="post-metadata">

**Author:** ![Pooh](https://community.icinga.com/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@Pooh](https://community.icinga.com/u/Pooh)\
**Post date:** [December 23, 2022, 10:41pm UTC](https://community.icinga.com/t/multiple-applications-check/11229/2 "2022-12-23T22:41:26Z")

</div>

“I’ve an Apply Service rule running a command script which checks multiple  
application services (running or not running) via ssh.”

> In a scenario where services are defined separately, I can put one in  
> downtime until it gets fixed. I can’t do that in this case because I want to  
> other services be monitored.

“Is there a way that I can put the bad service in downtime and keep the  
remaining ones as monitored?”

Well, no, because as you say yourself, it is only one Service Check (as far as  
Icinga is concerned).

Icinga does not care how complex a single Service Check is - it’s either in  
OK, Warning or Alert state - it can’t be “4/5ths OK and 1/5th Alert”.

Antony.
