From dde7b3921abc322a526ad41cc110231837a77e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Gu=C3=B0j=C3=B3n=20Sigur=C3=B0sson?= Date: Tue, 12 Oct 2010 15:37:46 +0000 Subject: [PATCH] Summary cleanup in check_Controllers --- check_eva/trunk/check_eva.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_eva/trunk/check_eva.py b/check_eva/trunk/check_eva.py index a609b20..6e43e16 100644 --- a/check_eva/trunk/check_eva.py +++ b/check_eva/trunk/check_eva.py @@ -530,7 +530,8 @@ def check_controllers(): nagios_state = max( check_operationalstate(i), nagios_state ) # Lets add to the summary - summary = summary + " %s/%s=%s " %(systemname,controllername, i['operationalstate']) + if i['operationalstate'] != 'good': + summary = summary + " %s/%s=%s " %(systemname,controllername, i['operationalstate']) # Lets get some perfdata interesting_fields = "controllermainmemory"