]> granicus.if.org Git - icinga2/commitdiff
Add support for -q argument to check_snmp_storage.pl.
authorMark Leary <mleary@mit.edu>
Wed, 31 Oct 2018 17:28:27 +0000 (13:28 -0400)
committerMark Leary <mleary@mit.edu>
Wed, 31 Oct 2018 17:28:27 +0000 (13:28 -0400)
itl/command-plugins-manubulon.conf

index ce9cfa1a4aa5d3f1f321a556bf4d40cd83596d0c..013d97d5fcac6304b4d4efdeffa87b729238535c 100644 (file)
@@ -215,6 +215,10 @@ object CheckCommand "snmp-storage" {
                        value = "$snmp_storage_olength$"
                        description = "Max-size of the SNMP message, usefull in case of Too Long responses."
                }
+    "-q" = {
+      value = "$storage_type$"
+      description = "Storage type: Other, Ram, VirtualMemory, FixedDisk, RemovableDisk, FloppyDisk, CompactDisk, RamDisk, FlashMemory, or NetworkDisk"
+    }
        }
 
        vars.snmp_storage_name = "^/$$"
@@ -396,6 +400,6 @@ object CheckCommand "snmp-service" {
                        description = "Do not use regexp to match NAME in service description."
                }
        }
-       
+
        vars.snmp_service_name = ".*"
 }