The new var 'snmp_is_cisco' was added to snmp-memory check
for use the correct OID with cisco switches. The default
is 'false'.
fixes #9303
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
snmp_privpass | **Required.** SNMP version 3 priv password. No value defined as default.
snmp_warn | **Optional.** The warning threshold.
snmp_crit | **Optional.** The critical threshold.
+snmp_is_cisco | **Optional.** Change OIDs for Cisco switches. Defaults to false.
snmp_perf | **Optional.** Enable perfdata values. Defaults to true.
snmp_timeout | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
"-f" = {
set_if = "$snmp_perf$"
}
+ "-I" = {
+ set_if = "$snmp_is_cisco$"
+ description = "check cisco memory (sum of all memory pools)"
+ }
}
vars.snmp_warn = "94,50"
vars.snmp_crit = "98,80"
vars.snmp_perf = true
+ vars.snmp_is_cisco = false
}