diff options
Diffstat (limited to 'templates/icmp.ini')
-rw-r--r-- | templates/icmp.ini | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/icmp.ini b/templates/icmp.ini new file mode 100644 index 0000000..cb60655 --- /dev/null +++ b/templates/icmp.ini @@ -0,0 +1,36 @@ +[icmp-rt.graph] +check_command = "icmp" + +[icmp-rt.metrics_filters] +rtmin.value = "$service_name_template$.perfdata.rtmin.value" +rta.value = "$service_name_template$.perfdata.rta.value" +rtmax.value = "$service_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" + +[icmp-pl.metrics_filters] +pl.value = "$service_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 (%)')" |