Add support for -q argument to check_snmp_storage.pl.

This commit is contained in:
Mark Leary 2018-10-31 13:28:27 -04:00
parent 680103f111
commit 62e9c0badd
1 changed files with 5 additions and 1 deletions

View 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 = ".*"
}