nagios_nrpe: add a new variable nagios_nrpe_default_ssh_config
This commit is contained in:
parent
a7008f04c9
commit
613536eab2
3 changed files with 3 additions and 1 deletions
|
@ -92,6 +92,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* nagios-nrpe: configure server certificate for nrpe daemon
|
||||
* pf: pass quick for ICMP and Evolix rules which won't need to be overwritten, no state for ICMP because it's not needed and can sometimes be unfavourable
|
||||
* base: update .profile file to match new OpenBSD configuration
|
||||
* nagios_nrpe: add a new variable nagios_nrpe_default_ssh_config
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -6,5 +6,6 @@ nagios_nrpe_allowed_hosts:
|
|||
| union(nagios_nrpe_additional_allowed_hosts) | unique }}"
|
||||
|
||||
nagios_nrpe_default_ntp_server: "pool.ntp.org"
|
||||
nagios_nrpe_default_ssh_config: "-p 22 localhost"
|
||||
|
||||
evobsd_ssl_cert_hostname: "{{ inventory_hostname }}.{{ general_technical_realm }}"
|
||||
|
|
|
@ -22,7 +22,7 @@ command[check_swap]=/usr/local/libexec/nagios/check_swap --no-swap=ok -a -w 30%
|
|||
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_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 {{ nagios_nrpe_default_ssh_config }}
|
||||
command[check_mailq]=doas /usr/local/libexec/nagios/plugins/check_mailq.pl -M opensmtpd -w 5 -c 10
|
||||
|
||||
# Specific services checks
|
||||
|
|
Loading…
Reference in a new issue