I
I
Ilya Rodionov2019-06-13 15:24:52
ubuntu
Ilya Rodionov, 2019-06-13 15:24:52

If LA > 5 - reboot the machine or its resource tracking daemon?

Colleagues, hello.
Tell me, please, is there any system / daemon for monitoring the server in the open source? Now I'm not talking about monitoring - that's not it - but about the actual primary "admin".
That is, a basic example: LA at the machine goes to the ceiling by itself - the demon on the host (on the kvm or inside the vm itself) under some conditions (for example, the LA has already been like this for 5 minutes) decides to restart the machine.
And similar cases where, in principle, the intervention of the administrator is not always necessary.
Is there something that can be installed and see how it will work? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2019-06-13
@opium

Limits on percents and memory can be set in the same eye on ruby, and I think it’s possible in Di systems, and they’ve got it in the docker, and even more so in kubernetes too, in general it’s hard to say where this is not

A
Andrey Shatokhin, 2019-06-13
@Sovigod

This can be written on the knee and added to kroner

* * * * * if [ $(uptime | awk -F'[a-z]:' '{ print $2}' | awk '{print $3}' | sed 's/\..*//' ) -gt 5 ]; then reboot; fi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question