CLI scripts on the server

John Mazzitelli mazz at redhat.com
Mon Jan 10 14:21:34 UTC 2011


i misspoke - meant to say "alert" plugin, not agent plugin

On 01/10/2011 03:36 AM, Heiko W.Rupp wrote:
>
> Am 06.01.2011 um 15:08 schrieb John Mazzitelli:
>> As for the "run a script as a notification", its definitely a good idea.
>> The one big thing we have to answer is - where do we store the script?
>
> For the alert-scriptlang plugin, I am just storing them in
> $RHQSERVER/alert-scripts. User can use vi to write the script.
> If the user wants to write non-trivial scripts, a language-aware editor
> is needed anyway, which we should not write ourselfes.
> But then the scriptlang plugin enables jruby, which noone in this
> company except for Torquebox and all those cloud guys understand.
>
>> We'd have to write a special agent plugin (just like our Users and Roles
>> server-side agent plugins), and have that plugin store the script in
>> some other special table that has a CLOB column in which to store the
>> script.
>
> Sounds much too complicated.
> And why agent plugin?
>
>    Heiko
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel


More information about the rhq-devel mailing list