I have a script running on some Linux machines which monitors the status of FC links. The output of the script when there is a failure is like so (the variables are filled in when output from the script):
Link $nexusName is down! Host: $(hostname) Array: $arrayName
Where $nexusName is a unique identifier for the FC link.
The output of the script will list all the links which are down. Under normal operating conditions there is no output from the script. I am trying to create an alarm for every line of the output. I've tried playing with the format rules, but it only seems to alarm on the first line of output. Is what I'm wanting possible? If so, how would I go about accomplishing this?