Server Performance Monitoring and Alerts

12006

Learning Objectives

  • Enable Server Monitoring: Activate the server monitoring feature in the Jianghu panel, including important metrics such as CPU, memory, disk, and network.
  • Use of Monitoring Reports: Understand and utilize the monitoring reports provided by the Jianghu panel to keep track of the server's operational status in a timely manner.
  • Enable Abnormal Monitoring Email Notifications: Set up email notifications for abnormal monitoring in the Jianghu panel to stay informed about server anomalies.
  • Enable Server Reports: Activate the server report feature in the Jianghu panel to receive regular server operation reports.

1. Enable Server Monitoring

Monitoring the operational status of servers is a key part of ensuring their stability and efficiency. Here are some important parameters and monitoring metrics:

  • CPU Usage
  • Memory Usage
  • Disk Usage and Performance
  • Network Traffic and Bandwidth Usage
  • System Load

The Jianghu panel provides server monitoring functionality to monitor the above parameters:

  1. Log in to the Jianghu panel
  2. Click on the "Monitoring" section on the left sidebar to enter the monitoring page
  3. Find the "Enable Monitoring" option on the page and toggle the switch to turn it on

2. Use of Monitoring Reports

On the monitoring page, you can see real-time data and historical trends for various server metrics. By comparing and analyzing the monitoring data, you can promptly identify any anomalies in the server.

![Jianghu Panel - Server Monitoring.png](/doc/upload/articleMaterial/10100/Jianghu Panel - Server Monitoring.png)

3. Enable Abnormal Monitoring Email Notifications

The Jianghu panel offers the functionality to enable abnormal monitoring. With this feature, you can configure the abnormal thresholds for various metrics and enable email notifications. This way, when the server detects an anomaly in the metrics, it will send a notification via email.

Enable Abnormal Notifications:

  1. Click on "Monitoring" on the left side of the panel to enter the monitoring page
  2. Click "Enable Abnormal Notifications," then click the "Configure Abnormal Thresholds" button to set the abnormal thresholds for various metrics. The Jianghu panel will monitor parameters such as CPU, memory, disk capacity, and SSL certificate validity. You can use the default values for the thresholds directly.

Configure Email Notifications:

  1. On the main page of the Jianghu panel, click the "Settings" button
  2. In the settings page, toggle the switch next to "Email Notifications" to enable it
  3. Click the "Email Configuration" button, and in the pop-up dialog, enter the SMTP information for sending emails and the email address for receiving notifications. Click "Verify," and if it shows "Verification Successful," check the receiving email for a test email, then click the "OK" button to save.
  4. When the server encounters an anomaly, the system will automatically send an email notification

For information on configuring SMTP and authorization codes for various email servers, you can refer to the resources for this lesson. Generally, we use 163 email as the SMTP server due to its simpler configuration.

4. Enable Server Reports

The Jianghu panel also provides the functionality to generate server reports, which can organize various parameters of the server's operational status into reports and send them to users via email regularly, allowing users to stay informed about the server's operational status and identify issues.

  1. In the Jianghu panel, click on the "Monitoring" section on the left sidebar to enter the monitoring page
  2. Toggle the switch next to "Enable Server Reports" to turn it on
  3. Click the "Configure Report Frequency" button to set the frequency of report sending
  4. The system will send server reports according to the configured frequency

References

  1. SMTP Server and Authorization Code Configuration:

Assignment

Based on the content of this article, configure monitoring for a server with the following requirements:

  • Enable server monitoring
  • View and understand the data and trends in the monitoring reports
  • Enable abnormal monitoring email notifications and set the email address for receiving notifications
  • Enable server reports