From 62e9c0baddb0ec70ebf8c69064daa188d740001a Mon Sep 17 00:00:00 2001 From: Mark Leary Date: Wed, 31 Oct 2018 13:28:27 -0400 Subject: [PATCH] Add support for -q argument to check_snmp_storage.pl. --- itl/command-plugins-manubulon.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index ce9cfa1a4..013d97d5f 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -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 = ".*" }