summaryrefslogtreecommitdiffstats
path: root/templates/cpu_windows_powershell_framework.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cpu_windows_powershell_framework.ini')
-rw-r--r--templates/cpu_windows_powershell_framework.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/cpu_windows_powershell_framework.ini b/templates/cpu_windows_powershell_framework.ini
new file mode 100644
index 0000000..f156851
--- /dev/null
+++ b/templates/cpu_windows_powershell_framework.ini
@@ -0,0 +1,19 @@
+[load-windows.graph]
+check_command = "Invoke-IcingaCheckCPU"
+
+[load-windows.metrics_filters]
+load.value = "$service_name_template$.perfdata.$load$.value"
+crit.value = "$service_name_template$.perfdata.$load$.crit"
+warn.value = "$service_name_template$.perfdata.$load$.warn"
+
+[load-windows.urlparams]
+areaAlpha = "0.5"
+lineWidth = "2"
+min = "0"
+title = "CPU $load$ %"
+yUnitSystem = "none"
+
+[load-windows.functions]
+load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')"
+crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')"
+warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')"