diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 9bb1ae3c7..be16a4fb0 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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 diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 14501474a..83ab45b0d 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -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$"