S
S
spaceatmoon2021-10-28 21:22:48
linux
spaceatmoon, 2021-10-28 21:22:48

How to monitor vps on ubuntu?

I saw a similar question asked here 3 years ago, but I think everything has changed.

There are Zabbix, Grafana, Nagios, Icinga on the market. As a non-system administrator, this is not very clear to me. My requirements are simple:

1. Disk space monitor. It was also ideal to see the top fat directories. Maybe there logs are already 5 GB each.
2. CPU / RAM
3. Traffic on sites, so you can look at when there were requests, including direct and strange port requests.
4. Accounting for logins via ssh
5. Alerts when services crash
6. Command history. Sometimes it is useful to remember how one or another server was configured.
7. It seems that the same zabbix can make backups, but it would be convenient to set it up. True, I don’t know about the expediency, tk. at the moment I sometimes make backups through the panel on the hosting by hand. Looks cheap, but still.

Which of the utilities will cover these requirements and which one is easy to learn?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
R
Ronald McDonald, 2021-10-28
@Zoominger

1. df -h
2. ps -aux
3. iftop, nload
4. last
5. xs.
6. history
7. tar

P
paran0id, 2021-10-28
@paran0id

1, 2, 3 and 5 can be done using prometheus + grafana, but it will be a chore for a beginner
4 is in the ssh logs, but in general 4 and 6 are done using auditd
7 - in different ways, you can capture the entire system image or specifically copy files, database dumps and so on - the technique and tool depend on the software and tasks.

D
Drno, 2021-10-28
@Drno

None. These are client-server applications, well, of course, you can put on the VPS and the server of the same zabbix.
It seems to me that there is just something like phpMyAdmin ... or some other web interface for the server

A
Alexander Shishov, 2021-10-29
@AleX52

I would suggest netdata.cloud. Easy to install, lots of metrics, alerts.

A
Alexander Karabanov, 2021-10-29
@karabanov

1 CPU 1 GB - and I want monitoring, like big uncles

V
Vitaly Karasik, 2021-10-29
@vitaly_il1

1,2,4,5 - install NewRelic agent for linux. (New Relic One https://newrelic.com/signup is free)

R
RaShe, 2021-11-04
@RaShe

syagent.com - simple and in two clicks, actively developing.

D
Denis, 2021-11-04
@Sat0shi

Pulse , if it is nginx, then half of it can be closed by monitoring NGINX Amplify

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question