Hi,
We use Teltonika routers with an analog input to measure voltage. We have some problems with the equipment that result in voltage peaks as you can see in the image below. I'm trying to make a trigger expression to detect this kind of behaviour but I can't make it work.
My idea was to use the trigger function count that will count the spikes for a period of time. In my thinking the expresion below will compare the current value with the avarage value +1. I use +1 to ignore small spikes. If there are 2 spikes within 5 minutes than the expresion is true.
{Template Buko Teltonika RUT955 SNMPv2:teltonika.analog.input.state.0.count(5m,"({ Template Buko Teltonika RUT955 SNMPv2:teltonika.analog.input.state.0.avg(5m)}+1)" ,gt)}>=2
I hope someone can help me, thanks in advance!
We use Teltonika routers with an analog input to measure voltage. We have some problems with the equipment that result in voltage peaks as you can see in the image below. I'm trying to make a trigger expression to detect this kind of behaviour but I can't make it work.
My idea was to use the trigger function count that will count the spikes for a period of time. In my thinking the expresion below will compare the current value with the avarage value +1. I use +1 to ignore small spikes. If there are 2 spikes within 5 minutes than the expresion is true.
{Template Buko Teltonika RUT955 SNMPv2:teltonika.analog.input.state.0.count(5m,"({ Template Buko Teltonika RUT955 SNMPv2:teltonika.analog.input.state.0.avg(5m)}+1)" ,gt)}>=2
I hope someone can help me, thanks in advance!
Comment