You've already forked nrpe
add check_ntp_time
This commit is contained in:
@@ -63,3 +63,7 @@ nrpe_uptime_critical: 30
|
|||||||
nrpe_ssl_path: '/etc/haproxy/ssl'
|
nrpe_ssl_path: '/etc/haproxy/ssl'
|
||||||
nrpe_ssl_warning: 21
|
nrpe_ssl_warning: 21
|
||||||
nrpe_ssl_critical: 14
|
nrpe_ssl_critical: 14
|
||||||
|
|
||||||
|
nrpe_ntp_host: 'europe.pool.ntp.org'
|
||||||
|
nrpe_ntp_warning: 10
|
||||||
|
nrpe_ntp_critical: 15
|
||||||
|
|||||||
@@ -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_systemd_failed]=/usr/lib/nagios/plugins/check_systemd_failed
|
||||||
command[check_needrestart]=/usr/lib/nagios/plugins/check_needrestart
|
command[check_needrestart]=/usr/lib/nagios/plugins/check_needrestart
|
||||||
command[check_reboot_required]=/usr/lib/nagios/plugins/check_reboot_required
|
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
|
# disk
|
||||||
# -w <%>: Warning threshold for block usage.
|
# -w <%>: Warning threshold for block usage.
|
||||||
|
|||||||
Reference in New Issue
Block a user