Module: check_mk
Branch: master
Commit: 508df4dce9f97ce42c89a65cb19e2751c7290896
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=508df4dce9f97c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Jul 30 14:04:09 2014 +0200
Fixed syntax error in check
---
checks/hp_proliant_power | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/hp_proliant_power b/checks/hp_proliant_power
index c078823..4039799 100644
--- a/checks/hp_proliant_power
+++ b/checks/hp_proliant_power
@@ -41,10 +41,10 @@ def check_hp_proliant_power(item, params, info):
warn, crit = params
state = 0
levels = ''
- if reading => crit:
+ if reading >= crit:
state = 2
levels = '( Warning/Critical %s/%s )' % ( warn, crit )
- elif reading => warn:
+ elif reading >= warn:
state = 1
levels = '( Warning/Critical %s/%s )' % ( warn, crit )