1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-26 19:13:52 +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"