summaryrefslogtreecommitdiffstats
path: root/templates/ntp.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.ini')
-rw-r--r--templates/ntp.ini65
1 files changed, 65 insertions, 0 deletions
diff --git a/templates/ntp.ini b/templates/ntp.ini
new file mode 100644
index 0000000..be91992
--- /dev/null
+++ b/templates/ntp.ini
@@ -0,0 +1,65 @@
+[ntp-offset.graph]
+check_command = "ntp_time, ntp_peer"
+
+[ntp-offset.metrics_filters]
+value = "$service_name_template$.perfdata.offset.value"
+
+[ntp-offset.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+yUnitSystem = "none"
+
+[ntp-offset.functions]
+value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Offset (ms)')"
+
+
+[ntp_peer-jitter.graph]
+check_command = "ntp_peer"
+
+[ntp_peer-jitter.metrics_filters]
+value = "$service_name_template$.perfdata.jitter.value"
+
+[ntp_peer-jitter.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[ntp_peer-jitter.functions]
+value = "alias(color(scale($metric$, 1000), '#1a7dd7'), 'Jitter (ms)')"
+
+
+[ntp_peer-stratum.graph]
+check_command = "ntp_peer"
+
+[ntp_peer-stratum.metrics_filters]
+value = "$service_name_template$.perfdata.stratum.value"
+
+[ntp_peer-stratum.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[ntp_peer-stratum.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Stratum')"
+
+
+[ntp_peer-truechimers.graph]
+check_command = "ntp_peer"
+
+[ntp_peer-truechimers.metrics_filters]
+value = "$service_name_template$.perfdata.truechimers.value"
+
+[ntp_peer-truechimers.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[ntp_peer-truechimers.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Truechimers')"