[edge:cpu_alert|mean3->default4] 2016/08/11 13:34:01 D! closing c: 0 e: 0
[edge:cpu_alert|window2->mean3] 2016/08/11 13:34:01 I! aborting c: 1 e: 1
[cpu_alert:mean3] 2016/08/11 13:34:01 E! invalid field type: <nil>
[edge:cpu_alert|default4->eval5] 2016/08/11 13:34:01 D! closing c: 0 e: 0
[edge:cpu_alert|eval5->alert6] 2016/08/11 13:34:01 D! closing c: 0 e: 0
[edge:cpu_alert|stream->stream0] 2016/08/11 13:34:01 D! closing c: 129 e: 129
[edge:cpu_alert|stream0->from1] 2016/08/11 13:34:01 D! closing c: 129 e: 129
[edge:cpu_alert|from1->window2] 2016/08/11 13:34:01 D! closing c: 129 e: 129
[edge:cpu_alert|window2->mean3] 2016/08/11 13:34:01 D! closing c: 1 e: 1
[task_master] 2016/08/11 13:34:01 E! Stopped task: cpu_alert invalid field
type: <nil>
[task_store] 2016/08/11 13:34:01 E! task cpu_alert finished with error: invalid
field type: <nil>
Getting this error , what should I do ??
Following is the output of my show task :
kapacitor show cpu_alert
ID: cpu_alert
Error:
Type: stream
Status: enabled
Executing: true
Created: 11 Aug 16 11:45 UTC
Modified: 11 Aug 16 13:32 UTC
LastEnabled: 11 Aug 16 13:32 UTC
Databases Retention Policies: ["telegraf"."default"]
TICKscript:
stream
|from()
.measurement('cpu')
.groupBy('host')
|window()
.period(1m)
.every(1m)
|mean('value')
|default()
.field('usage_user', 0.0)
.tag('host', '')
|eval(lambda: 100.0 - "mean")
.as('used')
|alert()
.message('{{ .Level}}: {{ .Name }}/{{ index .Tags "host" }} has high
cpu usage: {{ index .Fields "usage_user" }}')
.info(lambda: TRUE)
.warn(lambda: "usage_user" > 60.0)
.crit(lambda: "usage_user" > 85.0)
.log('/tmp/high_cpu.log')
DOT:
digraph cpu_alert {
graph [throughput="0.00 points/s"];
stream0 [avg_exec_time_ns="0" ];
stream0 -> from1 [processed="20"];
from1 [avg_exec_time_ns="1.156µs" ];
from1 -> window2 [processed="20"];
window2 [avg_exec_time_ns="0" ];
window2 -> mean3 [processed="0"];
mean3 [avg_exec_time_ns="0" ];
mean3 -> default4 [processed="0"];
default4 [avg_exec_time_ns="0" fields_defaulted="0" tags_defaulted="0" ];
default4 -> eval5 [processed="0"];
eval5 [avg_exec_time_ns="0" eval_errors="0" ];
eval5 -> alert6 [processed="0"];
alert6 [alerts_triggered="0" avg_exec_time_ns="0" crits_triggered="0"
infos_triggered="0" oks_triggered="0" warns_triggered="0" ];
}
--
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/9d919bf7-86e4-41ab-b9c7-0d57605c6f0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.