Skip to content

Instantly share code, notes, and snippets.

@Digiover
Created February 6, 2024 09:34
Show Gist options
  • Save Digiover/0cc50057d5a184b8ce80a1d440e2be1b to your computer and use it in GitHub Desktop.
Save Digiover/0cc50057d5a184b8ce80a1d440e2be1b to your computer and use it in GitHub Desktop.
Zabbix auto discovery for IIS websites
# Query Win32_PerfRawData_W3SVC_WebService for all metric labels (names), including all website names hosted in IIS
#
# The Web Service object includes counters specific to the World Wide Web Publishing Service.
(Get-CimInstance -EA SilentlyContinue -Query "select * from Win32_PerfRawData_W3SVC_WebService" -Namespace root\cimv2).Name
# https://www.saotn.org/monitor-website-performance-in-iis-with-zabbix/
@Digiover
Copy link
Author

Digiover commented Feb 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment