From d1f5118c5565743ff636c07b3ed1dadecf5cc4c2 Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Tue, 4 Oct 2016 09:53:12 +0200 Subject: [PATCH] Add missing '-m' (snmpv3_miblist) and -p (snmpv3_port) options 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 --- itl/command-plugins.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 6b8db0fa5..8816c0c87 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -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" @@ -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" = {