########################################################################### ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## ########################################################################### # Uses a helper script at "/etc/monit/templates/ssa-ctrl.sh" to check # whether there are any failed drives in an HP SmartArray logical drive. # The fragment "ssa-ctrl-0" must be changed such that "0" is the SmartArray # controller number; ie, when issuing ssacli ctrl 0 ... check program ssa-ctrl-0 with path "/etc/monit/templates/ssa-ctrl.sh" if status != 0 then alert