Module: check_mk
Branch: master
Commit: a6cbf9a6c7521163f8c41e8475415b5db7ef0b23
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a6cbf9a6c75211…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 20 21:01:08 2011 +0200
Reindented hr_mem
---
checks/hr_mem | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/hr_mem b/checks/hr_mem
index d1470d5..3f3ce81 100644
--- a/checks/hr_mem
+++ b/checks/hr_mem
@@ -69,7 +69,7 @@ def check_hr_mem(item, params, info):
warn, crit = params
if type(warn) == float:
- perfdata.append(('memused', str(totalused_mb)+'MB',
int(warn/100.0 * totalmem_mb),
+ perfdata.append(('memused', str(totalused_mb)+'MB',
int(warn/100.0 * totalmem_mb),
int(crit/100.0 * totalmem_mb), 0, totalvirt_mb))
if totalused_perc >= crit:
return (2, 'CRIT - %s, critical at %.1f%%' % (infotext, crit),
perfdata)