1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-24 11:23:47 +01:00

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

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"