1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-24 19:33:46 +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,6 +530,7 @@ def check_controllers():
nagios_state = max( check_operationalstate(i), nagios_state ) nagios_state = max( check_operationalstate(i), nagios_state )
# Lets add to the summary # Lets add to the summary
if i['operationalstate'] != 'good':
summary = summary + " %s/%s=%s " %(systemname,controllername, i['operationalstate']) summary = summary + " %s/%s=%s " %(systemname,controllername, i['operationalstate'])
# Lets get some perfdata # Lets get some perfdata