]> granicus.if.org Git - icinga2/commitdiff
Provide the snmpv3_context option and the corresponding item in the documentation 7216/head
authorPeter Eckel <pe-git@hindenburgring.com>
Mon, 3 Jun 2019 08:56:00 +0000 (10:56 +0200)
committerPeter Eckel <pe-git@hindenburgring.com>
Mon, 3 Jun 2019 08:56:00 +0000 (10:56 +0200)
doc/10-icinga-template-library.md
itl/command-plugins.conf

index 1851a684e53050409e798704f3fc835350d6be4c..484a03e1e55f3c6dbaac49ea77f947e9fb821d57 100644 (file)
@@ -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.
index 44ef7f6281c28f8412c9dbe865519e763de6bf27..144cb3684b2cef8fdd7033d4e668ff9bbc0afa33 100644 (file)
@@ -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"