Version numbers should match. You are using Kapacitor 0.2 with InfluxDB
0.13. I would recommend upgrading to Kapacitor 0.13 and see if that
addresses the issue.

On Mon, Jul 25, 2016 at 8:52 AM, <[email protected]> wrote:

> hello,
> im using kapacitor v 0.2 beta influxdb v 0.13.0
> i got an issue trying to define a new alert using joinNode
>
> heres my tick:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *var one = batch    |query(''' SELECT 100*mean("value") FROM
> "metrics"."default"."134" WHERE "measure" == 'impressions' AND "relative"
> == '0' AND "env" == 'exchange' AND "type" == 'diff_percent' ''')
> .period(60m)        .every(30s)        .groupBy('measure', 'relative',
> 'env', 'type', time(10s))    .fill(0)    |eval(lambda: int("mean"))
> .as('mean')var two = batch    |query(''' SELECT min("value") FROM
> "metrics"."default"."134" WHERE "relative" == '0' AND "source" == 'adk2'
> AND "env" == 'exchange' AND "measure" == 'impressions' ''')
> .period(60m)        .every(30s)        .groupBy('measure', 'relative',
> 'env', 'source', time(10s))    .fill(0)    |eval(lambda:
> "min"/"mean")        .as('bla')one    |join(two)      .as('one', 'two')
> |eval(lambda: "two"/"one")        .as('bla')    |alert()        .id('{{
> .Name }}@{{ index .Tags "measure" }}')        .message('{{ .ID }} {{ .Level
> }} measure: {{ index .Fields "bla" }} (threshold: below 0)')
> .crit(lambda: "bla" > 0)
> .log('/adk2/var/kapacitor/alerts.log')        .slack()
> .channel('#alerts-test')*
>
>
>
>
> and my error when trying to define and enable my tick:
>
> *enabling task test_tick: found =, expected identifier, string, number,
> bool at line 1, char 71*
>
>
> i dont even have char 71 in line 1
>
> any thoughts?
>
> --
> 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/86887b62-d38a-4ec5-84bb-360b7d185da3%40googlegroups.com
> <https://groups.google.com/d/msgid/influxdb/86887b62-d38a-4ec5-84bb-360b7d185da3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
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/CALGqCvOoekwVCEGyRGgmaCMNFFJeoqXUFzkg_5QEqpi2FUKTFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to