mirror of https://github.com/Icinga/icinga2.git
Add new check_nrpe parameter -D to disable logging to syslog
This commit is contained in:
parent
8a704fb0f0
commit
57bea5e3c4
|
@ -887,6 +887,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_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_no_logging | **Optional.** Disable logging of check_nrpe to syslog facilities (requires check_nrpe >= 4.0).
|
||||
|
||||
|
||||
### nscp <a id="plugin-check-command-nscp"></a>
|
||||
|
|
|
@ -2345,6 +2345,10 @@ object CheckCommand "nrpe" {
|
|||
value = "$nrpe_dh_opt$"
|
||||
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$"
|
||||
|
|
Loading…
Reference in New Issue