Answer the question
In order to leave comments, you need to log in
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
1. df -h
2. ps -aux
3. iftop, nload
4. last
5. xs.
6. history
7. tar
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.
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
I would suggest netdata.cloud. Easy to install, lots of metrics, alerts.
1,2,4,5 - install NewRelic agent for linux. (New Relic One https://newrelic.com/signup is free)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question