Skip to content

A script that determines the load on the server above a certain threshold and sends a message about it to VK

License

Notifications You must be signed in to change notification settings

k-orolevsk-y/ubuntu-load-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Установка

Загружаем файл на сервер и подставляем свои значения в access_token, user_ids, text_msg (по желанию). Также советую подредактировать значение maxload основываясь на мощность своей VDS. (почитать об этом можете в интернете)

Авто запуск

Теперь добавляем файл в crontab (crontab -e)

image


Если Вы все сделали правильно, то теперь сервер будет проверять сам себя каждые 5 минут и в случае большой нагрузки будет отправлять Вам уведомление ВКонтакте.

image

About

A script that determines the load on the server above a certain threshold and sends a message about it to VK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages