Hi,
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 execute operation is always successful.
Can you help me on this?
Regards,
Rui Alves
Hi,
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?
Regards,
Rui Alves
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.
yeah sure man, RFM !
On 12/1/11, Rui Alves rui.fc.alves@gmail.com wrote:
Hi,
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?
Regards,
Rui Alves
rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
rhq-users@lists.fedorahosted.org