Windows 檢查
windows 模組有 10 項檢查。透過 WinRM 檢查 Windows 主機(PowerShell,唯讀)。輸出為 JSON(ConvertTo-Json),由執行器解析。
本頁面在建置文件時由產品的檢查目錄產生,因此規則、間隔及預設嚴重程度一律與你正在閱讀的版本相符。閾值是預設值;實體和資源可以覆蓋這些閾值。
| 檢查 | 間隔 | 預設嚴重性 | 規則 |
|---|---|---|---|
windows.cpu_percentCPU utilization | 60s | warning | warning > 80 percent · 15m / critical > 90 percent · 5m |
windows.memory_availableAvailable memory | 60s | warning | warning < 10 percent · 10m / critical < 5 percent · 5m |
windows.disk_freeDisk free space per volume | 300s | warning | warning < 15 percent / critical < 10 percent |
windows.disk_latencyDisk latency (read / write) | 60s | warning | warning > 20 milliseconds · 5m / critical > 50 milliseconds · 5m |
windows.servicesCritical services running | 60s | critical | Status = Running |
windows.pending_rebootPending reboot | 900s | warning | pending_reboot = false |
windows.updates_pendingPending Windows updates (search only) | 21600s | warning | warning >= 1 count / critical >= 1 count |
windows.security_eventsSecurity-relevant event log entries | 120s | warning | warning >= 1 count |
windows.hardeningHardening posture (AV, firewall, SMBv1, RDP, local admins) | 3600s | warning | av_enabled = true, smb1_enabled = false, firewall_profiles_on = 3 |
windows.os_versionOS version and edition inventory | 86400s | info | any change |
檢查
windows.cpu_percent
CPU utilization
- 量度
cpu_percent(percent) · 每60s·winrm- 規則
warning > 80 percent · 15m / critical > 90 percent · 5m· 預設嚴重性: warning- 措施
- —
- 基準
- Azure Monitor recommended VM rule: CPU > 80%.
windows.memory_available
Available memory
- 量度
available_percent(percent) · 每60s·winrm- 規則
warning < 10 percent · 10m / critical < 5 percent · 5m· 預設嚴重性: warning- 措施
- —
- 基準
- On SQL hosts with max server memory set, low free memory is expected; tune per host.
windows.disk_free
Disk free space per volume
- 量度
free_percent(percent) · 每300s·winrm- 規則
warning < 15 percent / critical < 10 percent· 預設嚴重性: warning- 措施
- —
- 基準
- Also alert on absolute free space (< 20 GB) for large data volumes — add as override.
windows.disk_latency
Disk latency (read / write)
- 量度
read_ms(milliseconds) · 每60s·winrm- 規則
warning > 20 milliseconds · 5m / critical > 50 milliseconds · 5m· 預設嚴重性: warning- 措施
- —
- 基準
- SQL data files: reads > 20 ms are slow; log writes should stay under 10 ms (set as override on log volumes).
windows.services
Critical services running
- 量度
service_status· 每60s·winrm- 規則
Status = Running· 預設嚴重性: critical- 措施
- —
- 基準
- List comes from the resource attributes; defaults cover SQL and SSRS.
windows.pending_reboot
Pending reboot
- 量度
pending_reboot· 每900s·winrm- 規則
pending_reboot = false· 預設嚴重性: warning- 措施
- —
- 基準
- Warn after 24 h pending (set via `for` override), critical after 7 days.
windows.updates_pending
Pending Windows updates (search only)
- 量度
pending_updates(count) · 每21600s·winrm- 規則
warning >= 1 count / critical >= 1 count· 預設嚴重性: warning- 措施
- —
- 基準
- Critical when any pending update has MsrcSeverity Critical/Important; otherwise warning. The platform never calls Install.
windows.security_events
Security-relevant event log entries
- 量度
security_events(count) · 每120s·winrm- 規則
warning >= 1 count· 預設嚴重性: warning- 措施
- —
- 基準
- 4625 bursts → brute force; 4728/4732/4756 → privileged group change (critical); 1102 audit cleared (critical); 7045 new service.
windows.hardening
Hardening posture (AV, firewall, SMBv1, RDP, local admins)
- 量度
hardening· 每3600s·winrm- 規則
av_enabled = true, smb1_enabled = false, firewall_profiles_on = 3· 預設嚴重性: warning- 措施
- —
- 基準
- CIS Windows Server benchmark: AV on with signatures < 3 days, all firewall profiles on, SMBv1 off, local admins reviewed.
windows.os_version
OS version and edition inventory
- 量度
os_info· 每86400s·winrm- 規則
any change· 預設嚴重性: info- 措施
- —
- 基準
- Inventory; the updates module compares with endoflife.date for end-of-support.