add check_ntp_time

This commit is contained in:
Ludovic Cartier
2026-05-22 19:29:08 +02:00
parent e86ddb3700
commit 0ca06f7f32
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -63,3 +63,7 @@ nrpe_uptime_critical: 30
nrpe_ssl_path: '/etc/haproxy/ssl'
nrpe_ssl_warning: 21
nrpe_ssl_critical: 14
nrpe_ntp_host: 'europe.pool.ntp.org'
nrpe_ntp_warning: 10
nrpe_ntp_critical: 15
+1
View File
@@ -21,6 +21,7 @@ command[check_proc_age_{{ process }}]=/usr/lib/nagios/plugins/check_proc_age -p
command[check_systemd_failed]=/usr/lib/nagios/plugins/check_systemd_failed
command[check_needrestart]=/usr/lib/nagios/plugins/check_needrestart
command[check_reboot_required]=/usr/lib/nagios/plugins/check_reboot_required
command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H {{ nrpe_ntp_host }} -w {{ nrpe_ntp_warning }} -c {{ nrpe_ntp_critical }}
# disk
# -w <%>: Warning threshold for block usage.