Module: check_mk
Branch: master
Commit: effed7503fa618dbd00d0cc053604ce1d61c9115
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=effed7503fa618…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Aug 14 16:44:40 2013 +0200
no perf data for ups_test
---
checks/ups_test | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/ups_test b/checks/ups_test
index 677aef8..e36a881 100644
--- a/checks/ups_test
+++ b/checks/ups_test
@@ -121,14 +121,14 @@ def check_ups_test(item, params, info):
ResultsDetail = "%s%s Time elapsed since test: %s%s" % (line[-1],
state_label, etime, time_label)
- perf = [ ( "ElapsedTime", ElapsedTime, warn, crit) ]
- return (state, ResultsDetail, perf )
+ #perf = [ ( "ElapsedTime", ElapsedTime, warn, crit) ]
+ return (state, ResultsDetail )
check_info['ups_test'] = {
"inventory_function" : inventory_ups_test,
"check_function" : check_ups_test,
"service_description" : "UPS Test",
- "has_perfdata" : True,
+ "has_perfdata" : False,
"group" : "ups_test",
"snmp_info" : ( ".1.3.6.1.2.1.33.1.7", [3,5,6,4 ] ),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0") in
[".1.3.6.1.4.1.534.1"]