I like to execute a bash script and evaluate the return code against a threshold.
Not sure what you are looking for but there is the NSA probe
nsa (Script Agent) - CA Unified Infrastructure Management Probes - CA Technologies Documentation
This is ideal to be executed by logmon. Select command mode for the file and specify your script.
-Garin
Perfectly correct, the "logmon" probe is the one to use for that kind of requirement (in "command" mode). Just to add a quick note in addition: you can even use the result to generate QOS message (performance metrics) you could graph in PRD then.
Thank you for this hint. I will try this