Skip to content

Commit

Permalink
Add missing '-m' (snmpv3_miblist) and -p (snmpv3_port) options
Browse files Browse the repository at this point in the history
The options for setting an explicit MIB list and for specifying the target
port that are present for the snmp CheckCommand object that were missing from
the snmpv3 CheckCommand object are added with this patch.

fixes #12838

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
  • Loading branch information
peteeckel authored and gunnarbeutner committed Oct 11, 2016
1 parent 0145a32 commit d1f5118
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions itl/command-plugins.conf
Expand Up @@ -1343,6 +1343,10 @@ object CheckCommand "snmpv3" {
value = "$snmpv3_address$"
description = "Host name, IP Address, or unix socket (must be an absolute path)"
}
"-p" = {
value = "$snmpv3_port$"
description = "Port number"
}
"-n" = {
set_if = "$snmpv3_getnext$"
description = "Use SNMP GETNEXT instead of SNMP GET"
Expand Down Expand Up @@ -1407,6 +1411,10 @@ object CheckCommand "snmpv3" {
value = "$snmpv3_label$"
description = "Prefix label for output from plugin"
}
"-m" = {
value = "$snmpv3_miblist$"
description = "List of SNMP MIBs for translating OIDs between numeric and textual representation"
}
"-u" = "$snmpv3_units$"
"--rate-multiplier" = "$snmpv3_rate_multiplier$"
"--rate" = {
Expand Down

0 comments on commit d1f5118

Please sign in to comment.