I'm trying to use RHQ script plugin to execute some custom
maintenance scripts and generate an alert if they return a predefined exit code or
output.
It seams that if the script exists and is executable the operation is always successful.
Can you help me on this?
Sounds like a RFE. I don't think its possible to do that today. Might
require some code changes in the script plugin. I think the operation
might need to have a new parameter property to say something like "if
exit status code is not 0, assume operation failed" or something like
that.