diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index f99a2c409..f827fd78f 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -882,6 +882,7 @@ nrpe_arguments | **Optional.** Arguments that should be passed to the command. M nrpe_ipv4 | **Optional.** Use IPv4 connection. Defaults to false. nrpe_ipv6 | **Optional.** Use IPv6 connection. Defaults to false. nrpe_version_2 | **Optional.** Use this if you want to connect using NRPE v2 protocol (needed for NSClient++). Defaults to false. +nrpe_version_3 | **Optional.** Use this if you want to connect using NRPE v3 protocol. Defaults to false. nrpe_payload_size | **Optional.** Specify non-default payload size for NSClient++. Default is 1024. nrpe_ca | **Optional.** The CA file to use for PKI. Defaults to none. nrpe_cert | **Optional.** The client cert file to use for PKI. Defaults to none. diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index efbe42402..a09af5cdb 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -2323,6 +2323,10 @@ object CheckCommand "nrpe" { set_if = "$nrpe_version_2$" description = "Use this if you want to connect to NRPE v2" } + "-3" = { + set_if = "$nrpe_version_3$" + description = "Use this if you want to connect to NRPE v3" + } "-P" = { value = "$nrpe_payload_size$" description = "Specify non-default payload size for NSClient++"