Disclosure: I work at Linuxfabrik.
Icinga 2 deprecated its bundled Windows check plugins (check_*.exe) and their CheckCommands in v2.16 and has scheduled them for removal in v2.18 (#10731). If you don’t want to switch to Icinga for Windows and the PowerShell Framework, our Monitoring Plugins also run on Windows. They are native, signed EXEs, need no Python and are called like any other plugin. That works from plain .conf files as well as from the Director.
| Deprecated CheckCommand | Linuxfabrik plugin |
|---|---|
disk-windows |
disk-usage |
load-windows |
cpu-usage |
memory-windows |
memory-usage |
network-windows |
network-io |
perfmon-windows |
none |
ping-windows, ping4-windows, ping6-windows |
none on Windows, run ping from the satellite |
procs-windows |
procs |
service-windows |
service |
swap-windows |
swap-usage |
update-windows |
updates |
uptime-windows |
uptime |
users-windows |
users |
Plugins that also run on Windows, without a counterpart in the deprecated set:
| Linuxfabrik plugin | Checks |
|---|---|
csv-values |
SQL queries against a CSV file (local, URL, SMB) |
dhcp-scope-usage |
IPv4 DHCP scope usage, locally or via WinRM |
disk-io |
Sustained disk I/O saturation |
dns |
DNS lookup |
file-age |
Age of files or directories (glob, SMB) |
file-count |
Number of files matching a pattern |
file-growth |
How fast files grow or shrink |
file-size |
File sizes (glob, SMB) |
logfile |
Pattern or regex matches in a logfile |
network-connections |
Socket connections by type and state |
network-errors |
Receive and transmit errors per interface |
network-port-tcp |
TCP port reachability |
ntp-offset |
Clock offset against an NTP server |
ntp-w32tm |
Clock offset and last sync of the Windows Time service |
path-rw-test |
Path is readable and writable |
scheduled-task |
State and last result of a Scheduled Task |
windows-version |
Windows version against endoflife.date |
Install (elevated PowerShell):
& ([scriptblock]::Create((irm https://repo.linuxfabrik.ch/install-monitoring-plugins.ps1)))
Icinga DSL:
object CheckCommand "disk-usage-windows" {
command = [ "C:\\Program Files\\ICINGA2\\sbin\\linuxfabrik\\disk-usage.exe" ]
arguments = {
"--warning" = "$disk_usage_windows_warning$"
"--critical" = "$disk_usage_windows_critical$"
}
}
Director: the basket ships cmd-check-*-windows commands and service templates.
procs, scheduled-task and updates need more rights than NetworkService. See Windows Plugins for a JEA endpoint.