Ah, yes the lambda expressions as vars was added with the 1.0 beta.
Glad its working!
On Thursday, June 16, 2016 at 11:29:34 AM UTC-6, Carlos Peñas wrote:
>
> mmm ok, got it :)
>
> It seems all ok except for the
>
> var w = lambda: "usage_idle" < 40
> var c = lambda: "usage_idle" < 20
>
>
> Kapacitor complains as
>
> invalid TICKscript: parser: unexpected 9 line 1 char 9 in "var w =
> lambda: "u". expected: "number","string","duration","identifier","TRUE","
> FALSE","==","(","-","!"
>
>
> So I have to copy ando paste warn and crit values across all alert nodes
> ... This is "beta" syntax? It will be handy
>
> Thanks!
>
>
>>>
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/d19bc12b-4f2d-4456-8f23-0cef336a0859%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.