# Windows Monitoring

**URL:** <https://community.icinga.com/t/windows-monitoring/132>\
**Category:** Service Monitoring\
**Tags:** windows\
**Created:** [January 10, 2019, 1:14pm UTC](https://community.icinga.com/t/windows-monitoring/132 "2019-01-10T13:14:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [January 10, 2019, 1:14pm UTC](https://community.icinga.com/t/windows-monitoring/132/1 "2019-01-10T13:14:43Z")

</div>

# General

First off, decide on the transport.

- Install an agent where the Icinga node talks to
- Query the services remotely

If your master/satellite instance cannot connect to the agent, you need to ensure that the agent can either connect to the parent node (Icinga 2 protocol) or send the check results with a different method (REST API on the parent node e.g.).

## Agents

Install the [Icinga agent](https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/#client-setup-on-windows) on the Windows host and use it a command execution bridge (command\_endpoint)  
This way, communication uses TLS and connections can be established either from the agent to the master/satellite **or** vice versa.

The Icinga agent allows you to execute check scripts and plugins locally.

- vbs and Powershell scripts
- [Icinga plugins](https://icinga.com/docs/icinga2/latest/doc/10-icinga-template-library/#windows-plugins) provided with the agent installer package
- [Local NSClient++ checks](https://icinga.com/docs/icinga2/latest/doc/10-icinga-template-library/#nscp-plugin-check-commands) (check\_nscp\_api, nscp-local)

The [Icinga Template Library](https://icinga.com/docs/icinga2/latest/doc/10-icinga-template-library/) provides many CheckCommand definitions out of the box already.

## Remote Queries

### WMI

Enable the WMI interface and query the Windows host using [check\_wmi\_plus](http://www.edcint.co.nz/checkwmiplus/).  
An example can be found [here](https://gist.github.com/dayreiner/4f37327146222be0d2c8).

### SNMP

Older systems also support [SNMP on Windows](https://docs.microsoft.com/en-us/windows/desktop/snmp/snmp-start-page).

---

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [January 10, 2019, 1:15pm UTC](https://community.icinga.com/t/windows-monitoring/132/2 "2019-01-10T13:15:03Z")

</div>



---

<div class="post-metadata">

**Author:** ![eogieglo](https://community.icinga.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@eogieglo](https://community.icinga.com/u/eogieglo)\
**Post date:** [July 20, 2021, 2:24pm UTC](https://community.icinga.com/t/windows-monitoring/132/3 "2021-07-20T14:24:17Z")

</div>

hi, good morning

i have a question

How to monitoring windows server with snmp in Icinga?

Examples?
