The Analysys.cfg has this default LOAD value: LOAD 5.0 10.0 For a 2 CPU machine, wouldn't those values be too high? A load 2.0 on a 2 CPU machine means a 100% usage of the total "CPU power", right?
Any help is appreciated
Luca
Hi Luca, the answer is a bit more complex than that, but basically, load 2 on 2 CPU machine means that the machine is just about able to cope with the load thrown at it. If the load is higher than the number of CPUs for a longer period of time, you might have a performance problem. More detailed explanation here: https://www.howtogeek.com/194642/understanding-the-load-average-on-linux-and...
I usually set the warning/yellow threshold to a value slightly higher than the number of CPUs and the critical/red to twice the number of warning/yellow value. At least on machines with a small number of CPUs.
I case of 2CPU machine I would set it to: LOAD 2.5 5.0
Obviously, if you should review the CPU load patterns of your server and update the LOAD config accordingly to make sure the thresholds are not:
- too low - you might get a lot of false positive alerts
- too high - you might not notice there is something going and the machine is struggling to cope with the load
Regards, Martin
participants (2)
-
lenko99@gmail.com
-
tolomelli.luca@gmail.com