Summary cleanup in check_Controllers

This commit is contained in:
Páll Guðjón Sigurðsson 2010-10-12 15:37:46 +00:00
parent 16f6462084
commit dde7b3921a
1 changed files with 2 additions and 1 deletions

View File

@ -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"