# Windows-disk check in service set

**URL:** <https://community.icinga.com/t/windows-disk-check-in-service-set/4611>\
**Category:** Service Monitoring\
**Tags:** director\
**Created:** [June 4, 2020, 11:55am UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611 "2020-06-04T11:55:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishna](https://community.icinga.com/user_avatar/community.icinga.com/krishna/32/2922_2.png) [@krishna](https://community.icinga.com/u/krishna)\
**Post date:** [June 4, 2020, 11:55am UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611/1 "2020-06-04T11:55:41Z")

</div>

Hello

I have created windows-disk service template  
disk check for different partitions C,D etc…

While applying this service template to a windows service set that i defined it is not working.

![disk-check-windows](https://community.icinga.com/uploads/default/original/2X/c/cd82f63f7cb1ea43faae107e9751a56c94f49717.png)

if i apply it to a windows host directly it is working

![disk-windows check ok](https://community.icinga.com/uploads/default/original/2X/6/61aadc9e69a55f62f7e1726034bb5c8b79d7ad94.png)

So did i need to create different service template for diffrent partitions and apply it to service set ? Please advice  
Thank you

---

<div class="post-metadata">

**Author:** ![cstein](https://community.icinga.com/user_avatar/community.icinga.com/cstein/32/7745_2.png) [@cstein](https://community.icinga.com/u/cstein)\
**Post date:** [June 8, 2020, 10:31am UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611/2 "2020-06-08T10:31:39Z")

</div>

Hello,

are you specifying the drive letters as mentioned like

```auto
C:
D:
E:

```

instead of

```auto
C
D
E

```

The `:` is required to work properly. If this does not help, could you please share your configuration with us?

---

<div class="post-metadata">

**Author:** ![krishna](https://community.icinga.com/user_avatar/community.icinga.com/krishna/32/2922_2.png) [@krishna](https://community.icinga.com/u/krishna)\
**Post date:** [June 8, 2020, 3:53pm UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611/3 "2020-06-08T15:53:24Z")

</div>

Hello @cstein  
Thanks for the reply  
As i said am using :

> [@cstein](#):
>
> The `:` is required to work properly

I am using this and it is working also  
But only problem is when i am using inside it in a service set it is not working properly  
Regards

---

<div class="post-metadata">

**Author:** ![cstein](https://community.icinga.com/user_avatar/community.icinga.com/cstein/32/7745_2.png) [@cstein](https://community.icinga.com/u/cstein)\
**Post date:** [June 29, 2020, 10:49am UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611/4 "2020-06-29T10:49:18Z")

</div>

Sorry for my late response ☹

I played around with it and sadly I cannot reproduce this. I cannot tell where the issue comes from, but to me it would look like a configuration error somehow, because it doesnt matter if it is a Service Set or a Template, Apply Rule or a directly assigned service.

---

<div class="post-metadata">

**Author:** ![krishna](https://community.icinga.com/user_avatar/community.icinga.com/krishna/32/2922_2.png) [@krishna](https://community.icinga.com/u/krishna)\
**Post date:** [June 29, 2020, 11:09am UTC](https://community.icinga.com/t/windows-disk-check-in-service-set/4611/5 "2020-06-29T11:09:57Z")

</div>

Hi @cstein thanks for your time

found temporary solution similar explaned it [here](https://community.icinga.com/t/director-service-sets-add-service-checks-based-on-host-templates/267)

> [@krishna](#):
>
> create different service template for diffrent partitions and apply it to service set ?

- Select the previously created service template `windows-disk` , define the name as `disk C:` and use the custom property `disk_win_path` to assign the value `C:` to it.
- Repeat that for the second service set with `D:` and `E:` services

Regards
