If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Monitor CPU/RAM on Ubuntu VPS

Started by dorbealemel, Jul 19, 2023, 06:19 AM

Previous topic - Next topic

dorbealemelTopic starter

What are the available options for monitoring VPS on Ubuntu?

There are several tools in the market like Zabbix, Grafana, Nagios, and Icinga. As someone who is not a system administrator, I find them all a bit confusing. However, my requirements are straightforward:

1. I need a disk space monitor that can also show the directories taking up the most space, especially if there are already logs of 5 GB.
2. I want to monitor CPU/RAM usage.
3. I would like to track the traffic on my websites, including both regular and unusual requests on different ports.
4. I need to keep track of SSH logins.
5. I want to receive alerts when services go down.
6. It would be helpful to have a record of the team's history, as sometimes I need to remember how a particular server was configured.
7. I've heard that Zabbix can handle backups, but I'm not sure if it's worth setting up. Currently, I manually backup through the hosting panel, which is cost-effective for now.

Which utility among these options would cover all these requirements and be easy to learn?
  •  


duenuouck

Based on your requirements, Zabbix seems to be a suitable option for your VPS monitoring needs. It is a comprehensive monitoring tool that covers all the areas you mentioned.

1. Zabbix includes disk space monitoring and can also provide information on directories taking up the most space.
2. It allows monitoring of CPU and RAM usage, providing insights into resource utilization.
3. Zabbix supports tracking website traffic, including regular and unusual requests on different ports.
4. SSH logins can be monitored to keep track of access to your server.
5. Zabbix provides alerting capabilities to notify you when services go down.
6. Zabbix keeps a history of monitoring data, allowing you to review and analyze past server configurations.
7. While Zabbix does not inherently handle backups, it can integrate with other tools or scripts to automate backup processes.

Zabbix may require some initial setup and configuration, but it offers a user-friendly interface and ample dоcumentation to guide you through the learning process.
  •  

manivel

Prometheus+Grafana can handle tasks 1, 2, 3, and 5, but it may prove challenging for a novice.

For task 4, SSH logs can be examined, while generally, tasks 4 and 6 are accomplished through the use of auditd.

Task 7 can be accomplished in various ways, such as removing the entire system image, or selectively copying files and database dumps. The methodology and tools employed depend on the specific software and objectives at hand.

It's important to mention that familiarity with these tools and methodologies is crucial for successful execution, especially for beginners.
  •  

albert

There are no other options available apart from client-server applications. However, if needed, one can deploy a VPS and utilize a server that supports Zabbix. It is worth mentioning that there are alternatives like phpMyAdmin or other web interfaces specifically designed for server management.
  •  

hermenepoke

In your case, considering your specific requirements, I would recommend using Zabbix to cover all these needs in a comprehensive and user-friendly manner.

Firstly, Zabbix offers disk space monitoring with the ability to show directories consuming the most space. It can help identify large log files or other data occupying significant disk space.

Secondly, Zabbix allows for the monitoring of CPU/RAM usage, providing insights into resource utilization and potential bottlenecks.

Thirdly, Zabbix can track website traffic, including both regular and unusual requests on different ports. This feature provides valuable visibility into the network activity.

Additionally, Zabbix enables the tracking of SSH logins, allowing you to keep a record of user access to the system.

Zabbix provides alerting functionality, notifying you when services go down or when predefined thresholds are breached, ensuring timely response to any issues.

Zabbix has the capability to maintain a history of configurations, making it easier for you to recall past server setups and configurations when needed.

Regarding backups, while Zabbix has some backup capabilities, it might not be the most suitable solution for your specific backup needs. If you are currently managing backups cost-effectively through the hosting panel, you may consider continuing with that approach.
Zabbix's user-friendly interface and extensive dоcumentation make it relatively easy to learn, even for those with limited technical expertise. With its wide range of features, Zabbix can fulfill your monitoring requirements effectively and provide a centralized solution for VPS management on Ubuntu.
  •  

anilkh7058

  •  

rahul verma

Use the cat command to display the data held in /proc/cpuinfo.
Use lscpu to display the CPU details.
Using a vertical pipe, send the output of the lscpu command to grep and search for "max".
Type in the dmidecode command using sudo, and the argument -t 4.



If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...