]> granicus.if.org Git - icinga2/commitdiff
ITL: Add support for GETNEXT in SNMP CheckCommand
authorDolf Schimmel (Freeaqingme) <dolf@dolfschimmel.nl>
Sat, 21 Feb 2015 13:25:15 +0000 (14:25 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 24 Feb 2015 20:49:28 +0000 (21:49 +0100)
refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
itl/command-plugins.conf

index 1fbdf7293f8f52eba6affe0a2d975d94cbd80dcf..5ffb48951b21aa026cef448eba40bbbf534f611c 100644 (file)
@@ -756,6 +756,10 @@ object CheckCommand "snmp" {
                        set_if = "$snmp_rate$"
                        description = "Enable rate calculation"
                }
+               "-n" = {
+                       set_if = "$snmp_getnext$"
+                       description = "Use SNMP GETNEXT instead of SNMP GET"
+               }
        }
 
        vars.snmp_address = {{