# Icinga DLS - monitoring services

**URL:** <https://community.icinga.com/t/icinga-dls-monitoring-services/11774>\
**Category:** Icinga 2\
**Tags:** director, icinga2\
**Created:** [April 11, 2023, 1:58pm UTC](https://community.icinga.com/t/icinga-dls-monitoring-services/11774 "2023-04-11T13:58:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![benjofalanga](https://community.icinga.com/user_avatar/community.icinga.com/benjofalanga/32/6073_2.png) [@benjofalanga](https://community.icinga.com/u/benjofalanga)\
**Post date:** [May 2, 2023, 2:30pm UTC](https://community.icinga.com/t/icinga-dls-monitoring-services/11774/4 "2023-05-02T14:30:05Z")

</div>

Hey you can check my command below  
You can modify it as you wish, it if all services are up on a single host.  
Just follow the guide provided

> [@Icinga command to check status of all services on host](https://community.icinga.com/t/icinga-command-to-check-status-of-all-services-on-host/11906):
>
> Add dummy command to check all services on single host Add new Command Create a new command and fill in the fields as shown [[image]](https://www.linkpicture.com/view.php?img=LPic645118d39990a1038447325) Make sure to select the check\_dummy command Fill in the arguments Navigate to the arguments tab of the new command and add two new arguments Leave Argument Name empty Value Type → Icinga DSL Value: paste this code var up\_count = 0 var down\_count = 0 var cluster\_services = macro("$cluster\_services$") var hostname = macro("$host.name$") for (servic…

---

_[View the full topic](https://community.icinga.com/t/icinga-dls-monitoring-services/11774)._
