Bug 577256 (jon24-alert-scripts) - Support executing agent side scripts as the result of an alert
Summary: Support executing agent side scripts as the result of an alert
Status: CLOSED CURRENTRELEASE
Alias: jon24-alert-scripts
Product: RHQ Project
Classification: Other
Component: No Component
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Keywords:
Depends On: 573816 599538 602682 613834 614165
Blocks: jon24-features
TreeView+ depends on / blocked
 
Reported: 2010-03-26 15:11 UTC by Charles Crouch
Modified: 2015-02-01 23:26 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-04 14:06:52 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 577217 None None None Never

Description Charles Crouch 2010-03-26 15:11:50 UTC
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.

Comment 1 Charles Crouch 2010-04-26 15:20:07 UTC
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

Comment 3 Corey Welton 2010-08-04 14:06:52 UTC
Closing these trackers.


Note You need to log in before you can comment on or make changes to this bug.