Module: check_mk
Branch: master
Commit: d4ed190db1167671d95ea8220b78f5d3cc770d77
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d4ed190db11676…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Oct 12 16:54:14 2016 +0200
adapted scan function
---
checks/infoblox.include | 5 ++++-
checks/infoblox_grid_status | 2 +-
checks/infoblox_node_services | 4 ++--
checks/infoblox_replication_status | 24 ++++++++++++------------
4 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/checks/infoblox.include b/checks/infoblox.include
index 4d7c9af..380a0df 100644
--- a/checks/infoblox.include
+++ b/checks/infoblox.include
@@ -26,7 +26,8 @@
def scan_infoblox(oid):
- return "infoblox" in oid(".1.3.6.1.2.1.1.1.0").lower()
+ return "infoblox" in oid(".1.3.6.1.2.1.1.1.0").lower() or \
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.7779.1")
# .--services------------------------------------------------------------.
@@ -98,6 +99,8 @@ def parse_infoblox_services(info):
"55" : "discovery-capacity",
"56" : "threat-protection",
"57" : "cloud-api",
+ "58" : "threat-analytics",
+ "59" : "taxii",
}
parsed = {}
diff --git a/checks/infoblox_grid_status b/checks/infoblox_grid_status
index 9081a85..17c2034 100644
--- a/checks/infoblox_grid_status
+++ b/checks/infoblox_grid_status
@@ -25,7 +25,7 @@
# Boston, MA 02110-1301 USA.
-# .1.3.6.1.4.1.7779.3.1.1.2.1.15.0 11.112.133.11 -->
IB-PLATFORMONE-MIB::ibGridMasterVIP.0
+# .1.3.6.1.4.1.7779.3.1.1.2.1.15.0 X.X.X.X --> IB-PLATFORMONE-MIB::ibGridMasterVIP.0
# .1.3.6.1.4.1.7779.3.1.1.2.1.16.0 ONLINE -->
IB-PLATFORMONE-MIB::ibGridReplicationState.0
diff --git a/checks/infoblox_node_services b/checks/infoblox_node_services
index 6cd7925..f48077e 100644
--- a/checks/infoblox_node_services
+++ b/checks/infoblox_node_services
@@ -41,10 +41,10 @@
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.2.15 5 -->
IB-PLATFORMONE-MIB::ibNodeServiceStatus.lcd
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.9 Running -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.node-status
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.10 15% - Primary drive usage is OK. -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.disk-usage
-# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.11 11.112.133.11 -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-lan
+# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.11 X.X.X.X -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-lan
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.12 -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-lan2
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.13 -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-ha
-# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.14 11.112.133.203 -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-mgmt
+# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.14 X.X.X.X -->
IB-PLATFORMONE-MIB::ibNodeServiceDesc.enet-mgmt
# .1.3.6.1.4.1.7779.3.1.1.2.1.10.1.3.15 --> IB-PLATFORMONE-MIB::ibNodeServiceDesc.lcd
diff --git a/checks/infoblox_replication_status b/checks/infoblox_replication_status
index 0bab76e..1136794 100644
--- a/checks/infoblox_replication_status
+++ b/checks/infoblox_replication_status
@@ -25,18 +25,18 @@
# Boston, MA 02110-1301 USA.
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.1.13.49.49.46.49.49.50.46.49.51.51.46.49.52
11.112.133.14 --> IB-PLATFORMONE-MIB::ibNodeIPAddress."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.1.13.49.49.46.49.49.50.46.49.51.51.46.49.55
11.112.133.17 --> IB-PLATFORMONE-MIB::ibNodeIPAddress."11.112.133.17"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.2.13.49.49.46.49.49.50.46.49.51.51.46.49.52 Online
--> IB-PLATFORMONE-MIB::ibNodeReplicationStatus."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.2.13.49.49.46.49.49.50.46.49.51.51.46.49.55 Online
--> IB-PLATFORMONE-MIB::ibNodeReplicationStatus."11.112.133.17"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.3.13.49.49.46.49.49.50.46.49.51.51.46.49.52 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueFromMaster."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.3.13.49.49.46.49.49.50.46.49.51.51.46.49.55 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueFromMaster."11.112.133.17"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.4.13.49.49.46.49.49.50.46.49.51.51.46.49.52 2016/04/13
14:15:51 --> IB-PLATFORMONE-MIB::ibNodeLastRepTimeFromMaster."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.4.13.49.49.46.49.49.50.46.49.51.51.46.49.55 2016/04/13
14:15:51 --> IB-PLATFORMONE-MIB::ibNodeLastRepTimeFromMaster."11.112.133.17"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.5.13.49.49.46.49.49.50.46.49.51.51.46.49.52 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueToMaster."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.5.13.49.49.46.49.49.50.46.49.51.51.46.49.55 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueToMaster."11.112.133.17"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.6.13.49.49.46.49.49.50.46.49.51.51.46.49.52 2016/04/13
14:12:59 --> IB-PLATFORMONE-MIB::ibNodeLastRepTimeToMaster."11.112.133.14"
-# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.6.13.49.49.46.49.49.50.46.49.51.51.46.49.55 2016/04/13
14:15:51 --> IB-PLATFORMONE-MIB::ibNodeLastRepTimeToMaster."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.1.X.X.X.X.X X.X.X.X -->
IB-PLATFORMONE-MIB::ibNodeIPAddress."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.1.X.X.X.X.X X.X.X.X -->
IB-PLATFORMONE-MIB::ibNodeIPAddress."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.2.X.X.X.X.X Online -->
IB-PLATFORMONE-MIB::ibNodeReplicationStatus."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.2.X.X.X.X.X Online -->
IB-PLATFORMONE-MIB::ibNodeReplicationStatus."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.3.X.X.X.X.X 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueFromMaster."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.3.X.X.X.X.X 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueFromMaster."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.4.X.X.X.X.X 2016/04/13 14:15:51 -->
IB-PLATFORMONE-MIB::ibNodeLastRepTimeFromMaster."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.4.X.X.X.X.X 2016/04/13 14:15:51 -->
IB-PLATFORMONE-MIB::ibNodeLastRepTimeFromMaster."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.5.X.X.X.X.X 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueToMaster."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.5.X.X.X.X.X 0 -->
IB-PLATFORMONE-MIB::ibNodeQueueToMaster."11.112.133.17"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.6.X.X.X.X.X 2016/04/13 14:12:59 -->
IB-PLATFORMONE-MIB::ibNodeLastRepTimeToMaster."11.112.133.14"
+# .1.3.6.1.4.1.7779.3.1.1.2.1.2.1.6.X.X.X.X.X 2016/04/13 14:15:51 -->
IB-PLATFORMONE-MIB::ibNodeLastRepTimeToMaster."11.112.133.17"