ID: cpu_alert
Error: 
Template: 
Type: stream
Status: disabled
Executing: false
Created: 12 Oct 16 15:37 MSK
Modified: 12 Oct 16 18:37 MSK
LastEnabled: 01 Jan 01 00:00 UTC
Databases Retention Policies: ["cp"."default"]
TICKscript:
stream
    // Select just the cpu measurement from our example database.
    |from()
        .database('cp')
        .measurement('user_cp')
    //    |window()
    //        .period(10m)
    //        .every(10m)
    |alert()
        // .crit(lambda: "usage_idle" < 100)
        // Whenever we get an alert write it to a file.
        .info(lambda: "value" > 500.0)
        .log('/tmp/alerts.log')

DOT:
digraph cpu_alert {
stream0 -> from1;
from1 -> alert2;
}


> What is the output of `kapacitor show task_name` for your task?
> 
> On Wednesday, October 12, 2016 at 9:49:44 AM UTC-6, codep...@gmail.com 
> wrote:And kapacitor list recordings produces:
> ID                                      Type    Status    Size      Date      
>              
> f6dc1d97-6bba-4beb-9ba5-29e52c10cd4b    stream  finished  23 B      12 Oct 16 
> 18:48 MSK    
> c442a78a-9267-448e-a21a-5073895b2f42    stream  finished  23 B      12 Oct 16 
> 18:37 MSK    
> 336fef32-e386-4b33-8b6f-338e47482176    stream  finished  23 B      12 Oct 16 
> 18:33 MSK    
> b18d463a-7aff-491f-8fee-308cc5ea8b11    stream  finished  23 B      12 Oct 16 
> 18:32 MSK    
> b7e933e9-41dd-41ac-bfb4-082bb3fa4f29    stream  finished  23 B      12 Oct 16 
> 15:37 MSK

-- 
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 influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
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/190094ee-5a8f-488d-88f1-79e1079e11c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to