mirror of https://github.com/Icinga/icinga2.git
Add support for -q argument to check_snmp_storage.pl.
This commit is contained in:
parent
680103f111
commit
62e9c0badd
|
@ -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 = ".*"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue