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

// Enable alert if no data
.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 }}’)