Change NTP host
This commit is contained in:
parent
26ef19636b
commit
54ec5901a5
@ -296,8 +296,8 @@ command[check_disks]=/usr/lib/nagios/plugins/check_disk -w 16% -c 9% -A{% for nr
|
|||||||
|
|
||||||
command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
|
command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
|
||||||
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
|
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
|
||||||
command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w {{ nrpe_check_total_procs * 0.9 | int }} -c {{ nrpe_check_total_procs }}
|
command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w {{ (nrpe_check_total_procs * 0.9) | int }} -c {{ nrpe_check_total_procs }}
|
||||||
{% if inventory_hostname == 'hesat.ra.nemunai.re' %}
|
{% if inventory_hostname == 'aton.ra.nemunai.re' %}
|
||||||
command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H fr.pool.ntp.org -w 1 -c 2
|
command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H fr.pool.ntp.org -w 1 -c 2
|
||||||
{% else %}
|
{% else %}
|
||||||
command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H {{ ntp_pool[0] }} -w 1 -c 2
|
command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H {{ ntp_pool[0] }} -w 1 -c 2
|
||||||
|
Loading…
Reference in New Issue
Block a user