From 91b1638a013194c53c5b61bedb5678ebb91b0c28 Mon Sep 17 00:00:00 2001 From: Nicolas Berens Date: Thu, 18 Jan 2024 10:58:32 +0100 Subject: [PATCH] add multiplier option to check_snmp which is available since monitoring-plugins v2.3.3, refs #9907 --- itl/command-plugins.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 83b9c6167..9bdf33bfe 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1770,6 +1770,10 @@ object CheckCommand "snmp" { value = "$snmp_miblist$" description = "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL' for symbolic OIDs.)" } + "-M" = { + value = "$snmp_multiplier$" + description = "Multiplies current value, 0 < n < 1 works as divider, defaults to 1" + } "--rate-multiplier" = { value = "$snmp_rate_multiplier$" description = "Converts rate per second. For example, set to 60 to convert to per minute" @@ -1898,6 +1902,10 @@ object CheckCommand "snmpv3" { value = "$snmpv3_miblist$" description = "List of SNMP MIBs for translating OIDs between numeric and textual representation" } + "-M" = { + value = "$snmpv3_multiplier$" + description = "Multiplies current value, 0 < n < 1 works as divider, defaults to 1" + } "-u" = { value = "$snmpv3_units$" description = "Units label(s) for output data (e.g., 'sec.')"