Release 10.2.0 #114
|
@ -1,4 +1,8 @@
|
|||
- debug:
|
||||
msg: "Online DNS servers fails sometimes! Please change them in /etc/resolv.conf."
|
||||
|
||||
- name: custom NTP server for Online servers
|
||||
set_fact:
|
||||
nagios_nrpe_default_ntp_server: "ntp.online.net"
|
||||
|
||||
# - meta: flush_handlers
|
||||
|
|
|
@ -4,9 +4,12 @@ nagios_nrpe_additional_allowed_hosts: []
|
|||
nagios_nrpe_allowed_hosts: "{{ nagios_nrpe_default_allowed_hosts | union(nagios_nrpe_additional_allowed_hosts) | unique }}"
|
||||
nagios_nrpe_pgsql_passwd: PGSQL_PASSWD
|
||||
nagios_nrpe_amavis_from: "foobar@{{ ansible_domain }}"
|
||||
nagios_nrpe_default_ntp_server: "pool.ntp.org"
|
||||
nagios_nrpe_ntp_server: Null
|
||||
|
||||
nagios_nrpe_force_update_allowed_hosts: False
|
||||
|
||||
nagios_nrpe_check_proxy_host: "www.example.com"
|
||||
|
||||
nagios_plugins_directory: "/usr/local/lib/nagios/plugins"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
|
|||
# Generic services checks
|
||||
command[check_smtp]=/usr/lib/nagios/plugins/check_smtp -H localhost
|
||||
command[check_dns]=/usr/lib/nagios/plugins/check_dns -H evolix.net
|
||||
command[check_ntp]=/usr/lib/nagios/plugins/check_ntp -H ntp2.evolix.net
|
||||
command[check_ntp]=/usr/lib/nagios/plugins/check_ntp -H {{ nagios_nrpe_ntp_server or nagios_nrpe_default_ntp_server | mandatory }}
|
||||
command[check_ssh]=/usr/lib/nagios/plugins/check_ssh localhost
|
||||
command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -M postfix -w 10 -c 20
|
||||
|
||||
|
|
Loading…
Reference in a new issue