Module: check_mk
Branch: master
Commit: 79912461030a6d261902e48d1d819b50b10e6fa8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=79912461030a6d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 2 12:57:35 2015 +0100
#2853 FIX cisco_asa_failover: Added support for CISCO PIX security devices
---
.werks/2853 | 9 +++++++++
ChangeLog | 1 +
checks/cisco_asa_failover | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2853 b/.werks/2853
new file mode 100644
index 0000000..46a57ca
--- /dev/null
+++ b/.werks/2853
@@ -0,0 +1,9 @@
+Title: cisco_asa_failover: Added support for CISCO PIX security devices
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1449057437
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 3b05569..0a1775c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -118,6 +118,7 @@
* 2850 FIX: juniper_cpu: Better error handling of empty data reported by device
* 2873 FIX: megaraid_pdisks: handle case "Copyback" correctly...
* 2852 FIX: check_http: SSL can now be configured to use specific SSL version
+ * 2853 FIX: cisco_asa_failover: Added support for CISCO PIX security devices
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/cisco_asa_failover b/checks/cisco_asa_failover
index 0f4e565..361bac2 100644
--- a/checks/cisco_asa_failover
+++ b/checks/cisco_asa_failover
@@ -92,7 +92,8 @@ check_info["cisco_asa_failover"] = {
"inventory_function" : inventory_cisco_asa_failover,
"service_description": "Cluster Status",
"has_perfdata" : False,
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").lower().startswith("cisco adaptive
security"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").lower().startswith("cisco adaptive
security") \
+ or "cisco pix security" in
oid(".1.3.6.1.2.1.1.1.0").lower(),
"snmp_info" : (".1.3.6.1.4.1.9.9.147.1.2.1.1.1", [
"2", # CISCO-FIREWALL-MIB::cfwHardwareInformation
"3", # CISCO-FIREWALL-MIB::cfwHardwareStatusValue