<div dir="ltr">Why sandbox? I would much prefer to have full access.<div><br></div><div>-dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 12:14 PM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2016-03-09 at 20:12 +0100, Oliver Kraitschy wrote:<br>
> On Wed, Mar 09, 2016 at 09:14:55AM -0900, Dan Morphis wrote:<br>
> ><br>
> > Hello Zaid,<br>
> >   I presume the preset scripts will be nodejs scripts? Also, am I<br>
> > reading it correctly that a preset script can be bound to 1 or more<br>
> > events?<br>
<br>
</span>Yes, it's Javascript code. Ideally I'd want to sandbox that code and<br>
not give it access to NodeJS functions but I haven't yet found a way to<br>
do that without some performance hit.<br>
<br>
The custom script would appear as an option within presets (like set or<br>
refresh). The precondition part will be extended to include time and<br>
event fields, but it will be possible to check for events from within<br>
the preset too.<br>
<span class=""><br>
> i would second a feature which would enable us to trigger external<br>
> actions (for example to add a CPE to a Check_MK server) by defined<br>
> events (like preconditions).<br>
> Is something like this planned or even in the making?<br>
<br>
</span>Hopefully yes, that is the plan.<br>
<span class="HOEnZb"><font color="#888888"><br>
Zaid<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>