feat: Add SSL to nagios and NRPE
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
2ad3fb5ea0
commit
6efcdbf337
4 changed files with 149 additions and 0 deletions
|
|
@ -11,4 +11,19 @@ dont_blame_nrpe=0
|
|||
allow_bash_command_substitution=0
|
||||
command_timeout=60
|
||||
connection_timeout=300
|
||||
|
||||
{% if nrpe_enable_ssl %}
|
||||
ssl_client_certs=2
|
||||
{% if nrpe_remote_ssl_ca_file is defined %}
|
||||
ssl_cacert_file=/etc/nagios/ca.crt
|
||||
{% endif %}
|
||||
{% if nrpe_remote_ssl_cert_file is defined %}
|
||||
ssl_cert_file=/etc/nagios/server.crt
|
||||
{% endif %}
|
||||
{% if nrpe_remote_ssl_key_file %}
|
||||
ssl_privatekey_file=/etc/nagios/server.key
|
||||
{% endif %}
|
||||
ssl_logging=2
|
||||
{% endif %}
|
||||
|
||||
include=/etc/nagios/nrpe_local.cfg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue