Skip to content

Commit

Permalink
Merge pull request #9296 from Napsty/nrpe-v3
Browse files Browse the repository at this point in the history
Add nrpe v3 parameter in ITL
  • Loading branch information
Al2Klimov authored Jun 22, 2022
2 parents 356fe40 + 193aff9 commit ff6cdc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/10-icinga-template-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions itl/command-plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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++"
Expand Down

0 comments on commit ff6cdc2

Please sign in to comment.