summaryrefslogtreecommitdiffstats
path: root/templates/icmp-hosts.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:44:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:44:18 +0000
commit23be945fd2810ee82e3a23cbcd2352c9bda43d4f (patch)
treedd511b321f308264952cffb005a4288ea4e478e6 /templates/icmp-hosts.ini
parentInitial commit. (diff)
downloadicingaweb2-module-graphite-23be945fd2810ee82e3a23cbcd2352c9bda43d4f.tar.xz
icingaweb2-module-graphite-23be945fd2810ee82e3a23cbcd2352c9bda43d4f.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/icmp-hosts.ini')
-rw-r--r--templates/icmp-hosts.ini38
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/icmp-hosts.ini b/templates/icmp-hosts.ini
new file mode 100644
index 0000000..e6122a3
--- /dev/null
+++ b/templates/icmp-hosts.ini
@@ -0,0 +1,38 @@
+[icmp-rt.graph]
+check_command = "icmp-host"
+
+[icmp-rt.metrics_filters]
+rtmin.value = "$host_name_template$.perfdata.rtmin.value"
+rta.value = "$host_name_template$.perfdata.rta.value"
+rtmax.value = "$host_name_template$.perfdata.rtmax.value"
+
+[icmp-rt.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[icmp-rt.functions]
+rtmin.value = "alias(color(scale($metric$, 1000), '#44bb77'), 'Min. round trip time (ms)')"
+rta.value = "alias(color(scale($metric$, 1000), '#ffaa44'), 'Avg. round trip time (ms)')"
+rtmax.value = "alias(color(scale($metric$, 1000), '#ff5566'), 'Max. round trip time (ms)')"
+
+
+[icmp-pl.graph]
+check_command = "icmp-host"
+
+[icmp-pl.metrics_filters]
+pl.value = "$host_name_template$.perfdata.pl.value"
+
+[icmp-pl.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[icmp-pl.functions]
+pl.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')"
+
+