nagios-nrpe: deleted unused variables and added a ntp check server variable
This commit is contained in:
parent
0960b8a7b3
commit
9515c8639f
|
@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* base: reordering default variable file and deleting unused one
|
* base: reordering default variable file and deleting unused one
|
||||||
* base: use a template for ntp configuration to ease the management of the different cases
|
* base: use a template for ntp configuration to ease the management of the different cases
|
||||||
* logsentry: update config files, add "[logsentry]" in subject, and simplify task
|
* logsentry: update config files, add "[logsentry]" in subject, and simplify task
|
||||||
|
* nagios-nrpe: deleted unused variables and added a ntp check server variable
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,5 @@ nagios_nrpe_additional_allowed_hosts: []
|
||||||
nagios_nrpe_allowed_hosts:
|
nagios_nrpe_allowed_hosts:
|
||||||
"{{ nagios_nrpe_default_allowed_hosts
|
"{{ nagios_nrpe_default_allowed_hosts
|
||||||
| union(nagios_nrpe_additional_allowed_hosts) | unique }}"
|
| union(nagios_nrpe_additional_allowed_hosts) | unique }}"
|
||||||
nagios_nrpe_pgsql_passwd: PGSQL_PASSWD
|
|
||||||
nagios_nrpe_amavis_from: "foobar@{{ ansible_domain }}"
|
|
||||||
|
|
||||||
nagios_nrpe_check_proxy_host: "www.example.com"
|
nagios_nrpe_default_ntp_server: "pool.ntp.org"
|
||||||
|
|
||||||
nagios_plugins_directory: "/usr/local/lib/nagios/plugins"
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ command[check_swap]=/usr/local/libexec/nagios/check_swap --no-swap=ok -a -w 30%
|
||||||
# Generic services checks
|
# Generic services checks
|
||||||
command[check_smtp]=/usr/local/libexec/nagios/check_smtp -H localhost -f {{ general_alert_email }}
|
command[check_smtp]=/usr/local/libexec/nagios/check_smtp -H localhost -f {{ general_alert_email }}
|
||||||
command[check_dns]=/usr/local/libexec/nagios/check_dns -H evolix.net
|
command[check_dns]=/usr/local/libexec/nagios/check_dns -H evolix.net
|
||||||
command[check_ntp]=/usr/local/libexec/nagios/check_ntp -H ntp-check.evolix.net
|
command[check_ntp]=/usr/local/libexec/nagios/check_ntp -H {{ nagios_nrpe_default_ntp_server}}
|
||||||
command[check_ssh]=/usr/local/libexec/nagios/check_ssh -p 22 localhost
|
command[check_ssh]=/usr/local/libexec/nagios/check_ssh -p 22 localhost
|
||||||
command[check_mailq]=doas /usr/local/libexec/nagios/plugins/check_mailq.pl -M opensmtpd -w 5 -c 10
|
command[check_mailq]=doas /usr/local/libexec/nagios/plugins/check_mailq.pl -M opensmtpd -w 5 -c 10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue