Storage monitoring helps you to effectively manage your server’s disk space and prevent potential storage-related issues.
You can use it to get a detailed breakdown of your server’s storage usage. This is ideal if you’re looking to keep track of the storage (disk space) used by different web applications, databases, log files, and more that run on your server(s).
By following the steps below, you can easily enable, view, and disable Storage monitoring on your RunCloud server.
Enabling (and Disabling) Storage Monitoring in RunCloud
- Log in to your RunCloud dashboard and navigate to the server management page. On this page, locate and click on the “Monitoring” tab in the left sidebar menu.
- On the Monitoring page, find the “Configuration” button and click it. This will open a new popup window – look for the “Storage Monitoring” toggle switch.
- To enable/disable Storage monitoring, click on the toggle switch next to “Storage Monitoring” (it should turn green when enabled).
- Next, click on the checkbox below to grant your consent to RunCloud for running the monitoring agent
- Finally, click “Save Configuration” to enable Storage Monitoring.
Viewing Storage Information
After enabling storage monitoring it will take a few minutes for the data to appear in the dashboard. Once the data starts flowing in, you’ll see a storage breakdown as shown in the following image:
This breakdown provides a clear overview of how your server’s storage is being used across different categories.
The storage details are organized into categories for easy navigation, let’s take a look at each one of them.
Storage Mounts
The Storage Mounts Details provides a comprehensive overview of all mounted filesystems on your server. This is updated regularly and allows you to monitor and analyze the storage usage across various mount points which helps you manage your server’s disk space effectively.
For each mount point, you can view the following information:
- Filesystem: The device or partition name
- Type: The filesystem type (e.g., ext4, tmpfs, squashfs)
- Mounted on: The mount point in the file system hierarchy
- Usage: Current used space and percentage
- Available: Remaining free space
Web App Storage
The Web App Storage Details section provides an overview of the storage usage for each web application hosted on your RunCloud server. This feature allows you to monitor and manage the disk space consumed by each web application.
For each web application, you will see the following information in your dashboard:
- Name: This column shows the name of each web application on your server.
- Size: Displays the total disk space used by each web application; including all files associated with the application, such as source code, assets, and uploaded content.
- User: Shows the system user under which the web application is running.
- Last Update: Shows the date and time in the YYYY-MM-DD HH:MM:SS format when the application’s files were last modified. This timestamp helps you track recent activity or changes in each application.
This information is useful for backup planning as it allows you to accurately estimate storage requirements for each application.
By understanding the size and update frequency of your applications, you can make informed decisions about resource allocation, ensuring that each application has the resources it needs to perform optimally.
Database Storage
The Database Storage section provides a concise overview of the storage usage for each database on your RunCloud server. This feature allows you to quickly assess the disk space consumed by your databases.
Here you can see the following details:
- Name: This column shows the names of all databases on your server.
- Size: Shows the total disk space used by each database.
Log Storage
The Log Storage feature in an overview of system and application log files, displaying their paths and sizes. This functionality allows users to monitor log file growth, identify potential issues, and manage disk space effectively.
By presenting log information in an easily digestible format, RunCloud enables administrators to quickly pinpoint large log files that may require attention or rotation.
Temporary (Tmp) Storage
The Tmp Storage section provides valuable insights into the temporary files stored on your server. It displays a list of files in the /tmp directory, along with their paths and sizes, allowing you to monitor and manage temporary storage usage effectively.
This feature helps you identify large or potentially unnecessary temporary files that might be consuming significant disk space. By keeping an eye on the Tmp Storage, you can prevent issues related to disk space exhaustion, and maintain optimal server performance.