Hi, i'm new working with Kapacitor. I cannot make work the .exec command on my
cpu_alert.tick.
Here is my .tick file
stream
// Select just the cpu measurement from our example database.
|from()
.measurement('cpu')
|alert()
.crit(lambda: "usage_idle" < 70)
// Whenever we get an alert write it to a file.
.log('/tmp/alerts.log')
.exec('/home/test/TICK/myfile.py')
Here is myfile.py
f = open('file.txt','w')
f.write('works')
f.close()
however, the arlets.log is working as well as this
https://docs.influxdata.com/kapacitor/v1.1/introduction/getting_started/
describes, but the python file seems to be never called.
Thanks
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups
"InfluxData" 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/5d5dbc74-2135-4438-98ab-a1c55c05a700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.