Module: check_mk
Branch: master
Commit: e7f6e60dc68f30797d48d6a5247dace138bcae65
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e7f6e60dc68f30…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Oct 18 19:43:03 2012 +0200
Extened SNMP scan function for some ups checks
---
checks/ups_capacity | 2 +-
checks/ups_in_freq | 2 +-
checks/ups_in_voltage | 2 +-
checks/ups_out_load | 2 +-
checks/ups_out_voltage | 2 +-
checks/ups_power | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/checks/ups_capacity b/checks/ups_capacity
index 0e3684c..2b7c193 100644
--- a/checks/ups_capacity
+++ b/checks/ups_capacity
@@ -74,5 +74,5 @@ check_info["ups_capacity"] = {
"has_perfdata" : True,
"snmp_info" : ( ".1.3.6.1.2.1.33.1.2", [
"2.0" , "3.0" ,"4.0" ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0")
in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ]
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ]
}
diff --git a/checks/ups_in_freq b/checks/ups_in_freq
index fb9bbac..d54f156 100644
--- a/checks/ups_in_freq
+++ b/checks/ups_in_freq
@@ -57,5 +57,5 @@ check_info['ups_in_freq'] = {
"has_perfdata" : True,
"snmp_info" : ( ".1.3.6.1.2.1.33.1.3.3.1", [ 0, 2 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ] \
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ] \
}
diff --git a/checks/ups_in_voltage b/checks/ups_in_voltage
index ae86dbc..c14d84a 100644
--- a/checks/ups_in_voltage
+++ b/checks/ups_in_voltage
@@ -56,5 +56,5 @@ check_info['ups_in_voltage'] = {
"has_perfdata" : True,
"snmp_info" : ( ".1.3.6.1.2.1.33.1.3.3.1", [ 0, 3 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ]
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ]
}
diff --git a/checks/ups_out_load b/checks/ups_out_load
index 686412e..f384489 100644
--- a/checks/ups_out_load
+++ b/checks/ups_out_load
@@ -56,5 +56,5 @@ check_info['ups_out_load'] = {
"has_perfdata" : True,
"snmp_info" : ( ".1.3.6.1.2.1.33.1.4.4.1", [ 0, 5 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ]
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ]
}
diff --git a/checks/ups_out_voltage b/checks/ups_out_voltage
index f29764b..000eade 100644
--- a/checks/ups_out_voltage
+++ b/checks/ups_out_voltage
@@ -56,5 +56,5 @@ check_info['ups_out_voltage'] = {
"has_perfdata" : True,
"snmp_info" : ( ".1.3.6.1.2.1.33.1.4.4.1", [ 0, 2 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ]
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ]
}
diff --git a/checks/ups_power b/checks/ups_power
index 53434e4..fe8df62 100644
--- a/checks/ups_power
+++ b/checks/ups_power
@@ -60,5 +60,5 @@ check_info['ups_power'] = {
"group" : "hw_temperature",
"snmp_info" : ( ".1.3.6.1.2.1.33.1.4.4.1", [ 0, 4 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in \
- [ ".1.3.6.1.4.1.818.1.100.1.1",
".1.3.6.1.2.1.33", ".1.3.6.1.2.1.33.2" ]
+ [ ".1.3.6.1.4.1.534.1",
".1.3.6.1.4.1.818.1.100.1.1", ".1.3.6.1.2.1.33",
".1.3.6.1.2.1.33.2" ]
}