Through the use of the new pluggable alert notification system it should be possible to configure an alert to trigger the run an arbitrary script on a specific platform which is inventory. We should test and document that this use case is working as expected, both for scripts which are automatically added to the inventory under a JBAS instance and those which need to be manually added to the inventory. It should be possible to pass relevant information from the alert and the resource which the alert was triggered on, to the script.
Some test cases that have occurred to me: -Test alert and resource arguments can be passed successfully through to scripts on multiple OS's -Test what happens if multiple scripts are found that match the selection criteria, which one gets used. (maybe covered by https://bugzilla.redhat.com/show_bug.cgi?id=577217) -Test what happens if no script is found that matches the selection criteria. (maybe covered by https://bugzilla.redhat.com/show_bug.cgi?id=577217) -Test support for both scripts defined at the Platform level(manually added) and those discovered underneath a JBAS instances -Test that scripts can be programmatically discovered through the CLI and then used as the target for alert notifications
Closing these trackers.