Provide the snmpv3_context option and the corresponding item in the documentation

This commit is contained in:
Peter Eckel 2019-06-03 10:56:00 +02:00
parent e7e51ae7e1
commit 31deb75d3e
2 changed files with 5 additions and 0 deletions

View 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.

View 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"