Kapacitor deadman false alert

I have configured a deadman to raise an alert if no data received in a measurement but it raises continuous false alerts.
The kapacitor and the influx are installed in different system.

//–Alerts for Inv1
var data_inv1 = stream
|from()
.database(db)
.retentionPolicy(rp)
.measurement(input_inv01_measurement)

// Enable alert if no data
data_inv1
|log()
|deadman(1.0,deadman_value0p0_time)
.id(plantName + ‘: Inverter1 in task {{ .TaskName }}’)
.message(’{{ .ID }} is {{ if eq .Level “OK” }}alive{{ else }}dead{{ end }}’)
.messageField(’{{ .ID }} is {{ if eq .Level “OK” }}alive{{ else }}dead{{ end }}’)
.log(’/tmp/deadman.log’)

Same here.

dbrp "kapacitor"."autogen"
stream
    |from()
        .measurement('health')
        .groupBy('hostname')
    |deadman(1.0,30s)
        .log()
        .slack()

It supposed to notify if any of hosts will send no data. But if one host going down kapacitor notifying about all of them

Hello @pavel,
Can you share your message construction please?

Hi.
Thanks. I’ve solved it. The problem was in snmp data over udp that was not delivered from time to time

1 Like