# TICKScript not alerting

**URL:** <https://community.influxdata.com/t/tickscript-not-alerting/16100>\
**Category:** Kapacitor\
**Tags:** kapacitor\
**Created:** [September 25, 2020, 10:52pm UTC](https://community.influxdata.com/t/tickscript-not-alerting/16100 "2020-09-25T22:52:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerKnerd](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/derknerd/32/5663_2.png) [@DerKnerd](https://community.influxdata.com/u/DerKnerd)\
**Post date:** [September 25, 2020, 10:52pm UTC](https://community.influxdata.com/t/tickscript-not-alerting/16100/1 "2020-09-25T22:52:50Z")

</div>

Hey everyone,

I created the following TICKScript based on the autogenerated on using Chronograf:

```auto
stream
    |from()
        .database('telegraf')
        .retentionPolicy('autogen')
        .measurement('ardu_terra_hot_side')
    |eval(lambda: "value")
        .as('value')
    |alert()
        .crit(lambda: "value" > 10)
        .message('{{index .Tags "who"}}s Terrarium ist zu kalt ({{index .Fields "value"}} °C). Arduino möglicherweise defekt!')
        .id('Too hot')
        .idTag('alertID')
        .levelTag('level')
        .messageField('message')
        .durationField('duration')
        .stateChangesOnly()
        .email()
        .to('xxx@xxxx')
        .telegram()
        .chatId('xxxx')
        .parseMode('Markdown')

```

Sadly the script doesn’t alert when the value is above the threshold.

Can someone help me?

Greetings  
Knerd
