Unfortunately not. Deadman operates on volume of data, not age of data. While related, they cannot be handled the same way.
On Monday, September 12, 2016 at 5:46:06 PM UTC-4, Sean Beckett wrote: > The deadman documentation gives the actual TICKscript implementation. I > believe you can simply add other .alerts to that script to accomplish what > you want. > > > https://docs.influxdata.com/kapacitor/v1.0/nodes/stream_node/#deadman > > > > On Mon, Sep 12, 2016 at 3:30 PM, <[email protected]> wrote: > I'm trying to detect when nodes stop reporting data to telegraf. However I > don't want to use something like `deadman` as I want to have multiple alert > levels, such as warn and critical. Warn would be if no data has been received > for >60s, and critical would be >300s (or similar). > > > > The only way I can think of to do this is taking a `stats()|derivative()` > node, copying it with a `where(lambda: "emitted" > 0)`, and then getting the > time difference between the last data point with the filter and the last data > point without the filter. But I can't figure out how to accomplish this. > > > > Any help would be appreciated. > > > > Thanks > > > > -Patrick > > > > -- > > 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/dde78f74-f357-4453-baef-2e30327d82f4%40googlegroups.com. > > 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/d06d2329-3197-4eb6-a70f-2ba9ad688de3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
