Module: check_mk
Branch: master
Commit: 83956972a508654066f80c9c63e91f4e58adc065
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=83956972a50865…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Jul 31 15:47:11 2014 +0200
raritan_pdu_inlet: Changed name of perfdata
---
checks/raritan_pdu_inlet | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/raritan_pdu_inlet b/checks/raritan_pdu_inlet
index 2aafa1c..01e645e 100644
--- a/checks/raritan_pdu_inlet
+++ b/checks/raritan_pdu_inlet
@@ -36,7 +36,7 @@ capabilities = {
}
units = {
- '-1' : "kVA",
+ '-1' : "",
'0' : "",
'1' : "V",
'2' : "A",
@@ -89,7 +89,7 @@ def check_raritan_pdu_inlet_summary(item, _no_params, info):
digits = int(digits)
sensor_value = float(sensor_value) / 10**digits
- yield 0, "Value: %.2f %s" % ( sensor_value, units[unit] ), [
(units[unit], sensor_value ) ]
+ yield 0, "Value: %.2f %s" % ( sensor_value, units[unit] ), [ (item,
sensor_value ) ]
sensor_state = int(sensor_state)
sensor_text = "Sensor State: " + sensor_states[sensor_state]