I'd like to trigger a script based on a custom event (instead of Scalr > events like HostUp etc.) > I can create a custom event, as described in this page: > http://wiki.scalr.com/display/docs/Adding+Custom+Events > But I don't understand how is it possible for scalr to detect such events; > in the example above, how can the system detect that Apache has been > restarted? >
At the bottom of the page it is said that you trigger events yourself using the "szradm" tool: szradm --fire-event=YourCustomEvent param1=value1 param2=value2 So you need to trigger the custom events yourself. In this case, you can have some script checking Apache PID for instance, which triggers the event when it is changed, or any other approach you like. -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
