mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9016 from Napsty/nrpe-disable-logging
Add new check_nrpe parameter -D to disable logging to syslog
This commit is contained in:
commit
cf8923d628
|
@ -889,6 +889,7 @@ nrpe_key | **Optional.** The client key file to use for PKI. Defaults to none.
|
||||||
nrpe_ssl_version | **Optional.** The SSL/TLS version to use. Defaults to TLSv1+.
|
nrpe_ssl_version | **Optional.** The SSL/TLS version to use. Defaults to TLSv1+.
|
||||||
nrpe_cipher_list | **Optional.** The list of SSL ciphers to use. Default depends on check_nrpe version.
|
nrpe_cipher_list | **Optional.** The list of SSL ciphers to use. Default depends on check_nrpe version.
|
||||||
nrpe_dh_opt | **Optional.** Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force. Default depends on check_nrpe version.
|
nrpe_dh_opt | **Optional.** Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force. Default depends on check_nrpe version.
|
||||||
|
nrpe_no_logging | **Optional.** Disable logging of check_nrpe to syslog facilities (requires check_nrpe >= 4.0).
|
||||||
|
|
||||||
|
|
||||||
### nscp <a id="plugin-check-command-nscp"></a>
|
### nscp <a id="plugin-check-command-nscp"></a>
|
||||||
|
|
|
@ -2349,6 +2349,10 @@ object CheckCommand "nrpe" {
|
||||||
value = "$nrpe_dh_opt$"
|
value = "$nrpe_dh_opt$"
|
||||||
description = "Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force"
|
description = "Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force"
|
||||||
}
|
}
|
||||||
|
"-D" = {
|
||||||
|
set_if = "$nrpe_no_logging$"
|
||||||
|
description = "Disable check_nrpe plugin from logging to syslog (requires check_nrpe >= 4.0)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.nrpe_address = "$check_address$"
|
vars.nrpe_address = "$check_address$"
|
||||||
|
|
Loading…
Reference in New Issue