# Problem monitoring

**URL:** <https://community.icinga.com/t/problem-monitoring/7902>\
**Category:** Icinga Web\
**Created:** [August 3, 2021, 10:11am UTC](https://community.icinga.com/t/problem-monitoring/7902 "2021-08-03T10:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobU8](https://community.icinga.com/letter_avatar_proxy/v4/letter/b/ecae2f/32.png) [@BobU8](https://community.icinga.com/u/BobU8)\
**Post date:** [August 3, 2021, 10:11am UTC](https://community.icinga.com/t/problem-monitoring/7902/1 "2021-08-03T10:11:08Z")

</div>

Hi all,  
I’m new to Icinga but through the manual I configured with success Icingaweb.  
Now I want to add my machines to the monitoring but I have the following problem:  
I tested 1 Windows VM, it appears on the webpage but I don’t see the monitoring of the resources.  
Searching in the community I found how to add parameters but instead of showing me resources of the VM, it shows me the local resources (the ones of Icinga server).  
So I tried add more details trying to solve this, but the problem persist.

For Example here is the configuration in service.conf for hard disk:

apply Service for (disk =\> config in host.vars.local\_disks) {  
import “generic-service”  
check\_command = “disk-windows”  
command\_endpoint = host.vars.client\_endpoint  
assign where host.vars.agent\_endpoint  
vars.disk\_win\_show\_used = “true”

vars += config

assign where host.vars.os == “Windows”

vars.disk\_wfree = “10%”  
vars.disk\_cfree = “5%”  
}

The result on Icingaweb is: execvpe(/usr/lib64/nagios/plugins/check\_disk.exe) failed: No such file or directory

Moreover I want to see also the RAM & CPU usage.

Can anyone help me?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [August 3, 2021, 11:15am UTC](https://community.icinga.com/t/problem-monitoring/7902/2 "2021-08-03T11:15:25Z")

</div>

HI & welcome to the icinga community,

First, for better readability please format your post as described [here](https://community.icinga.com/t/create-topics-and-master-markdown-formatting/69).

I’d assume your `host.vars.client_endpoint` is empty or contains wrong content. However, it’s not needed anyway if you use this line instead:

> command\_endpoint = host.name

In addition you have two unnecessary assign statements when you fill `host.vars.local_disks` for Windows machines only.

---

<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:** [August 3, 2021, 11:15am UTC](https://community.icinga.com/t/problem-monitoring/7902/3 "2021-08-03T11:15:03Z")

</div>

You are trying to run Linux service checks on a Windows machine.

Have a look at the following guides for monitoring on Windows machines:

[https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/](https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/)  
#windows-monitoring

[https://icinga.com/docs/icinga-2/latest/doc/06-distributed-monitoring/](https://icinga.com/docs/icinga-2/latest/doc/06-distributed-monitoring/)  
#agent-setup-on-windows

[https://icinga.com/docs/icinga-2/latest/doc/07-agent-based-monitoring/](https://icinga.com/docs/icinga-2/latest/doc/07-agent-based-monitoring/)  
#nsclient-on-windows

Antony.
