Kapacitor executing false

#1

Hello, I use kapacitor to collect data,but I find kapacitor executing false and I don’t know why.
Here is my script, filename is “admin”:
var admin = stream
|from()
.database(‘rule_engine’)
.retentionPolicy(‘autogen’)
.measurement(‘equity_summary’)
|alert()
.message(’{{ .TaskName }} is {{ .Level }} value:{{ .Field }}’)
.info(lambda:“equity”>100)
.log(’/tmp/alert.log’)
.mode(0644)
|influxDBOut()
.database(‘rule_engine’)
.retentionPolicy(‘one_day’)
.measurement(‘equity_summary’)

My udp conf
[[udp]]
enabled = true
bind-address = ":9100"
database = "rule_engine"
retention-policy = “autogen”

Here are the commands I have used

17:21 $ kapacitor define admin -tick admin -type stream -dbrp rule_engine.autogen
17:22 $ kapacitor enable admin
17:22 $ kapacitor list tasks
ID Type Status Executing Databases and Retention Policies
admin stream enabled false [“rule_engine”.“autogen”]