D
D
delkov2016-08-21 20:27:33
linux
delkov, 2016-08-21 20:27:33

How to monitor a Debian server?

Доброго времени суток, уважаемые!
Имеется одиночный сервер на Debian 8.
Необходимо проверять работают ли:
1) демоны: PostgreSQL/SSH/Apache or Meteor.
2) самописные скрипты python.
В случае чего писать логи, уведомлять по почте. Пытаться перезапустить.
Для 2) сейчас использую supervisor, уведомляю по почте также через python.
* использовать supervisor с демонами не получается..
Возможные претенденты: Munin, Monit, Zabbix, etc. либо писать скриптовые велики.
Определите вектор, спасибо!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
Fixid, 2016-08-21
@delkov

Zabbix, fast and easy

D
Dmitry Aleksandrov, 2016-08-21
@jamakasi666

Your bike is better. Wrote a script that checks the right one, if something is wrong then sendmail to the log. Then this script in cron to run in the required number of minutes / hours / days. As an option, you can also attach some kind of xmpp console and send messages directly through it to yourself. Or attach a free account for the developer from sms.ru and send sms to your number.

T
TyzhSysAdmin, 2016-08-21
@POS_troi

Define a vector, thanks!

Munin, Monit, Zabbix, etc.
You are welcome.

S
strelmax, 2016-08-21
@strelmax

Well, there are few tasks, I would use self-written scripts.
If the tasks grow gradually, then I would use zabbix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question