From: Peter Eckel Date: Mon, 3 Jun 2019 08:56:00 +0000 (+0200) Subject: Provide the snmpv3_context option and the corresponding item in the documentation X-Git-Tag: v2.11.0-rc1~81^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31deb75d3eee324d899151ad1775f650f4b5d724;p=icinga2 Provide the snmpv3_context option and the corresponding item in the documentation --- diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 1851a684e..484a03e1e 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -1262,6 +1262,7 @@ snmpv3_getnext | **Optional.** Use SNMP GETNEXT instead of SNMP GET. snmpv3_seclevel | **Optional.** The security level. Defaults to authPriv. snmpv3_auth_alg | **Optional.** The authentication algorithm. Defaults to SHA. snmpv3_user | **Required.** The username to log in with. +snmpv3_context | **Optional.** The SNMPv3 context. snmpv3_auth_key | **Required,** The authentication key. Required if `snmpv3_seclevel` is set to `authPriv` otherwise optional. snmpv3_priv_key | **Required.** The encryption key. snmpv3_oid | **Required.** The SNMP OID. diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 44ef7f628..144cb3684 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1831,6 +1831,10 @@ object CheckCommand "snmpv3" { value = "$snmpv3_user$" description = "SNMPv3 username" } + "-N" = { + value = "$snmpv3_context$" + description = "SNMPv3 context" + } "-A" = { value = "$snmpv3_auth_key$" description = "SNMPv3 authentication password"