Module: check_mk
Branch: master
Commit: 155a94d7c74fbc7f76218447e88009c86887734b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=155a94d7c74fbc…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Thu Feb 20 10:52:35 2014 +0100
Checks now also work with Datadomain 670 series
---
checks/emc_datadomain_disks | 2 +-
checks/emc_datadomain_fans | 2 +-
checks/emc_datadomain_fs | 2 +-
checks/emc_datadomain_nvbat | 2 +-
checks/emc_datadomain_power | 2 +-
checks/emc_datadomain_temps | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/checks/emc_datadomain_disks b/checks/emc_datadomain_disks
index a5af103..6c1192e 100644
--- a/checks/emc_datadomain_disks
+++ b/checks/emc_datadomain_disks
@@ -77,6 +77,6 @@ check_info["emc_datadomain_disks"] = {
6, # diskPerfBusy
]
)],
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14")
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS")
}
diff --git a/checks/emc_datadomain_fans b/checks/emc_datadomain_fans
index cf2b538..cf4d8db 100644
--- a/checks/emc_datadomain_fans
+++ b/checks/emc_datadomain_fans
@@ -67,6 +67,6 @@ check_info["emc_datadomain_fans"] = {
6, # fanStatus
]
),
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14")
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS")
}
diff --git a/checks/emc_datadomain_fs b/checks/emc_datadomain_fs
index 1d2d2c3..1d13a68 100644
--- a/checks/emc_datadomain_fs
+++ b/checks/emc_datadomain_fs
@@ -49,7 +49,7 @@ check_info["emc_datadomain_fs"] = {
"group" : "filesystem",
"default_levels_variable" : "filesystem_default_levels",
"has_perfdata" : True,
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS"),
"snmp_info" : (".1.3.6.1.4.1.19746.1.3.2.1.1",
[
1, # fileSystemResourceIndex
diff --git a/checks/emc_datadomain_nvbat b/checks/emc_datadomain_nvbat
index d577b3c..87d7f23 100644
--- a/checks/emc_datadomain_nvbat
+++ b/checks/emc_datadomain_nvbat
@@ -61,6 +61,6 @@ check_info["emc_datadomain_nvbat"] = {
4, # BatteryCharge
]
),
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14")
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS")
}
diff --git a/checks/emc_datadomain_power b/checks/emc_datadomain_power
index b138fdd..1d08570 100644
--- a/checks/emc_datadomain_power
+++ b/checks/emc_datadomain_power
@@ -61,6 +61,6 @@ check_info["emc_datadomain_power"] = {
4, # powerModuleStatus
]
),
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14")
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS")
}
diff --git a/checks/emc_datadomain_temps b/checks/emc_datadomain_temps
index f1535e3..ceea71f 100644
--- a/checks/emc_datadomain_temps
+++ b/checks/emc_datadomain_temps
@@ -63,6 +63,6 @@ check_info["emc_datadomain_temps"] = {
6, # tempSensorStatus
]
),
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.19746.3.1.14")
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.1.0").startswith("Data Domain OS")
}