diff options
Diffstat (limited to 'templates/icmp-hosts.ini')
-rw-r--r-- | templates/icmp-hosts.ini | 38 |
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 (%)')" + + |