- changed status to closed
alert for "Resource limit succeeded" triggered when it shouldn't be for loadavg
Issue #651
closed
Here's the relevant config:
set daemon 15
set alert admin@example.com
check system example.com
if loadavg (15min) > 4.0 then alert
I'll get an alert like follows (notice that it says the resource limit succeeded even though it lists the loadavg of 4.1, which is higher than the threshold of 4.0):
Resource limit succeeded Service example.com
Date: Tue, 18 Jul 2017 16:12:27
Action: alert
Host: example.com
Description: loadavg(15min) check succeeded [current loadavg(15min)=4.1]
Your faithful employee,
Monit
15 seconds later I'll get another alert saying "Resource limit matched" for the same loadavg:
Resource limit matched Service example.com
Date: Tue, 18 Jul 2017 16:12:44
Action: alert
Host: example.com
Description: loadavg(15min) of 4.1 matches resource limit [loadavg(15min)<4.0]
Your faithful employee,
Monit
These alerts will go back and forth repeatedly until the loadavg moves more in one direction or the other.
CentOS 6
monit 5.14
Comments (1)
-
repo owner - Log in to comment
Hello,
please upgrade monit ... there event description was fixed already.
The lates Monit release is 5.23.0
Best regards, The Monit team