summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/windows.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/windows.conf')
-rw-r--r--src/health/health.d/windows.conf108
1 files changed, 108 insertions, 0 deletions
diff --git a/src/health/health.d/windows.conf b/src/health/health.d/windows.conf
new file mode 100644
index 000000000..9dfda50c1
--- /dev/null
+++ b/src/health/health.d/windows.conf
@@ -0,0 +1,108 @@
+## CPU
+
+ template: windows_10min_cpu_usage
+ on: windows.cpu_utilization_total
+ class: Utilization
+ type: Windows
+component: CPU
+ lookup: average -10m unaligned match-names of dpc,user,privileged,interrupt
+ units: %
+ every: 1m
+ warn: $this > (($status >= $WARNING) ? (75) : (85))
+ crit: $this > (($status == $CRITICAL) ? (85) : (95))
+ delay: down 15m multiplier 1.5 max 1h
+ summary: CPU utilization
+ info: Average CPU utilization over the last 10 minutes
+ to: silent
+
+## Memory
+
+ template: windows_ram_in_use
+ on: windows.memory_utilization
+ class: Utilization
+ type: Windows
+component: Memory
+ calc: ($used) * 100 / ($used + $available)
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (80) : (90))
+ crit: $this > (($status == $CRITICAL) ? (90) : (98))
+ delay: down 15m multiplier 1.5 max 1h
+ summary: Ram utilization
+ info: Memory utilization
+ to: sysadmin
+
+## Network
+
+ template: windows_inbound_packets_discarded
+ on: windows.net_nic_discarded
+ class: Errors
+ type: Windows
+component: Network
+ lookup: sum -10m unaligned absolute match-names of inbound
+ units: packets
+ every: 1m
+ warn: $this >= 5
+ delay: down 1h multiplier 1.5 max 2h
+ summary: Inbound network packets discarded
+ info: Number of inbound discarded packets for the network interface in the last 10 minutes
+ to: silent
+
+ template: windows_outbound_packets_discarded
+ on: windows.net_nic_discarded
+ class: Errors
+ type: Windows
+component: Network
+ lookup: sum -10m unaligned absolute match-names of outbound
+ units: packets
+ every: 1m
+ warn: $this >= 5
+ delay: down 1h multiplier 1.5 max 2h
+ summary: Outbound network packets discarded
+ info: Number of outbound discarded packets for the network interface in the last 10 minutes
+ to: silent
+
+ template: windows_inbound_packets_errors
+ on: windows.net_nic_errors
+ class: Errors
+ type: Windows
+component: Network
+ lookup: sum -10m unaligned absolute match-names of inbound
+ units: packets
+ every: 1m
+ warn: $this >= 5
+ delay: down 1h multiplier 1.5 max 2h
+ summary: Inbound network errors
+ info: Number of inbound errors for the network interface in the last 10 minutes
+ to: silent
+
+ template: windows_outbound_packets_errors
+ on: windows.net_nic_errors
+ class: Errors
+ type: Windows
+component: Network
+ lookup: sum -10m unaligned absolute match-names of outbound
+ units: packets
+ every: 1m
+ warn: $this >= 5
+ delay: down 1h multiplier 1.5 max 2h
+ summary: Outbound network errors
+ info: Number of outbound errors for the network interface in the last 10 minutes
+ to: silent
+
+## Disk
+
+ template: windows_disk_in_use
+ on: windows.logical_disk_space_usage
+ class: Utilization
+ type: Windows
+component: Disk
+ calc: ($used) * 100 / ($used + $free)
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (80) : (90))
+ crit: $this > (($status == $CRITICAL) ? (90) : (98))
+ delay: down 15m multiplier 1.5 max 1h
+ summary: Disk space usage
+ info: Disk space utilization
+ to: sysadmin