I’m trying to get an alarm to send an notification only when the event stays true for 5min.
To be more specific: I’m monitoring the temperature and usage of the CPU.
It is not uncommon for the CPU to hit high temperatures for a pretty short time several times a day. This is fine because this doesn’t really cause any problem. If the CPU runs at a very high temperatue for a few minutes it can cause some problems tho.
Now I’m getting alerts every time the CPU goes above 64 Celcius.
Is there a way to make the alarm only activate when the temperature is above 64 for 5min?
lookup: max -1m
delay: up 5m down 5m multiplier 1.5 max 1h
crit: $this > (($status == $CRITICAL) ? (60) : (64))
info: CPU temperature monitoring.