I'm in the process to configure a metric extension that fire a corrective action.
This metric is a custom metric detection of locked sessions.
And it's a RAC cluster environment. As far as the metric defined target is a Database Cluster. This is a simple operation.
But then I define a corrective action at library level and is where I find that there are not examples in the documentation that shows how to run an environment script by passing arguments that are advertised on the screens.
Have an example of passing arguments to the corrective action script? like Oracle_sid, ORACLE_HOME and son on.
Also I've a conceptual question, about corrective actions.
Corrective actions are executed independently of the reporting mechanisms and rules of incidence?