In this tutorial, we'll walk through the steps to set up server monitoring on BoostBackup. By the end of this guide, you'll have your server's CPU, disk, RAM, and network usage being monitored in real-time. The process involves creating a server on BoostBackup, generating installation instructions, and executing the installation command on your server.
Prerequisites
- SSH access to the server you want to monitor.
Step 1: Navigate to the Servers Section
Once logged in in boostbackup, find the "Servers" section in the left-hand menu and click on it.
Step 2: Create a New Server
In the "Servers" section, click on the "Create server" button. This will open a form where you can configure your new server for monitoring.
Step 3: Fill in the Server Details
In the form that appears, you will see an input field labeled "Server Name." Enter the name or hostname of the server you wish to monitor.
There is also a section for entering the paths to the log files, but you can also enter them later.
Ensure that the checkbox labeled "Also create featured alerts" is checked. This option will set up default monitoring for CPU, disk, RAM, and network usage.
Step 4: Read Installation Instructions
Before submitting the form, you will see a section with installation instructions. These instructions include a command that you need to run on your server via SSH.
Step 5: Execute the Installation Command on Your Server
Now, open your terminal and log in to your server using SSH:
ssh your-username@your-server-ip
Replace your-username
with your actual username and your-server-ip
with the IP address or hostname of your server.
Once logged in, copy the installation command from the BoostBackup form and paste it into your terminal. The command will look something like this:
wget -N https://boostbackup.com/agent/install.sh && bash install.sh YOUR_SERVER_ID https://boostbackup.com
Run the command by pressing Enter
. This script will install the necessary monitoring tools on your server and configure them to send data to BoostBackup every minute.
Step 6: Confirm Monitoring Setup
After the script has finished running, go back to the BoostBackup platform. You should now see your newly created server listed in the "Servers" section, with its status indicating that it is being monitored.
You can click at Detail & Logs button to view detailed statistics for CPU, disk, RAM, and network usage.
If you also want to set up log file monitoring, follow these instructions: How to set up log file monitoring
Conclusion
You've successfully set up server monitoring on BoostBackup! Your server is now sending performance data to BoostBackup, and you can view this data in real-time from the BoostBackup dashboard.
For further customization or to set up additional alerts, refer to the BoostBackup documentation or support resources.
Happy monitoring!