-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deadman trigger error on lambda statement #718
Comments
I have done some further investigation and tried to boil the problem down to the simplest form: Database:
Working Tick script:
Output in /tmp/deadman.log Failing Tick Script
Output in /var/log/kapacitor/kapacitor.log (no output in /tmp/deadman.log)
InfluxDB v0.13.0 (git: 0.13 e57fb88a051ee40fd9277094345fbd47bb4783ce) |
@bowdenandrew Thanks for the details report. I'll take a look at this. |
Thanks @nathanielc , I look forward to hearing from you about this. The kapacitor product is great and it would be excellent to be able to get this threshold alerting working for different times. Alternatively, is there any other way that you can think of that I can get the time on an eval node and I can try to setup a .crit alert instead. |
I am hoping that someone can point me in the right direction for this, I have been working on this problem for a number of days and can't seem to make the deadman trigger adhere to a lambda statement in the 3rd parameter call.
I have only used the pre-built binaries but have tried 0.13.1, the nightly and 1.0.0-beta2 versions with differing errors. I have written the script as both a batch and a stream and both appear to have the same errors. I'm really hoping that I'm just doing this wrong but I have exhausted all the permutations that I can think of and I'm not getting very far.
Please note that the deadman switch works without the lambda statement for me.
batch script:
stream script:
In the 0.13.1 version, for both of these scrits the kapacitor log shows:
[medipath4:alert5] 2016/07/17 22:37:02 E! error evaluating expression: Failed to handle 1 argument: expression returned unexpected type invalid type
every minute
In both the nightly and the 1.0.0-beta2 versions, the log shows:
[medipath4:alert5] 2016/07/17 23:00:00 E! error evaluating expression: Failed to handle 1 argument: name "time" is undefined. Names in scope: emitted
Again, this is also every minute
Please let me know if there is any further information needed. Any and all help is appreciated.
Andrew
The text was updated successfully, but these errors were encountered: