Adding Process Monitoring
Process monitoring is used to monitor active processes on a host. By default, the Agent collects active process information such as CPU usage, memory usage, and the number of files opened. The customized process monitoring function can collect the number of key processes and obtain the status of key processes at any time.
Customized process monitoring is supported only in the CN North-Beijing1 (cn-north-1), CN North-Beijing4 (cn-north-4), CN South–Guangzhou (cn-south-1), and CN East–Shanghai2 (cn-east-2) regions. If you want to use this function in other regions, contact customer service.
Monitoring Specified Processes
Assume that the following processes are running on a server:
/usr/bin/java /usr/bin/ntpd /telescope /usr/bin/python
Three keywords are configured, and the collection results are as follows:
- Key word: Java, number of processes: 1
- Key word: telescope, number of processes: 1
- Key word: /usr/bin, number of processes: 3
Add specified processes.
- Log in to the management console.
- Under Management & Deployment, select Cloud Eye.
- In the navigation pane on the left, choose Server Monitoring.
- On the Server Monitoring page, locate the row that contains the target ECS and click View Metric to go to the OS Monitoring page.
- Select the Process Monitoring tab.
- On the Process Monitoring page, click Configure on the right of the Custom Processes area. On the Configure Monitoring for Custom Process page, configure the process name or keyword.
Figure 1 Configure Monitoring for Custom Process
You do not need to configure the Processes column. After you set the process name, the system will return the number of matched processes.
After the configuration is complete, you can view the number of custom processes in the Custom Processes area on the Process Monitoring tab.
Enabling Alarm Notification for Custom Process Monitoring
You can configure the alarm notification function. When the number of processes decreases or increases, Cloud Eye will notify you immediately.
To enable alarm notifications custom processes, perform the following steps:
- Log in to the management console.
- Under Management & Deployment, select Cloud Eye.
- In the navigation pane on the left, choose Server Monitoring.
- On the Server Monitoring page, locate the row that contains the target ECS and click View Metric to go to the OS Monitoring page.
- Select the Process Monitoring tab.
- On the Process Monitoring page, click Configure on the right of the Custom Processes area.
The Configure Monitoring for Custom Process box is displayed.
- Locate the desired process and click Create Alarm Rule.
- Configure alarm rule information and set Alarm Policy to (Agent) Specifies Processes. Creating an Alarm Rule for an ECS or BMS (Agent) XX Metric lists the parameters to be configured.
Last Article: Viewing Process Monitoring
Next Article: Viewing Server Monitoring Metrics
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.