Application Monitoring
Feature Introduction
An application refers to a server module providing services for the business, and composed of multiple instances with the same function and consistent realization. Multiple application groups are combined to form a complete business system. You can freely organize and manage applications in the BCM application monitoring based on your own system framework.
The BCM provides the process monitoring for the abnormal problems emerging during the operation process of applications. By monitoring of the running status of each instance in the application, the usage of CPU, memory, disk and other resources is monitored in real time. You can flexibly configure the alarm policies according to the business conditions to guarantee the healthy operation of applications.
In addition to the process monitoring, the BCM will successively support the monitoring modes such as log monitoring and port monitoring, and construct a multi-angle application monitoring system to guarantee you can master the application running status more efficiently.
Application Management
Create Application
1.Log in to Baidu AI Cloud, and select the cloud monitoring BCM. In the left navigation bar, click < Application Monitoring > to enter the page of "Application List".
2.Click < Create Application > button to enter the page of "Create Application".
3.Fill in the application name, alias and application description, and click & lt; confirm > button to create an application.
Edit/delete Application
1.Return to the page of "Application List" after the application is created.
2.Click < Edit >, < Delete > button in the "Operation" column to edit and delete an application.
Add/remove an Instance for Application
1.In the page of "Application List", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the page of "Instance List", click < Create Instance > button, and open the page of "Host List" under your account.
3.In the page of host list, select the host you want to add, and click < Confirm > button to add an instance to the application.
4.In the page of host list, click < Delete > button in the operation column of one instance to delete an instance from the application.
Process Monitoring
Create Process Monitoring Tasks
1.In the page of "Application List", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the left navigation bar, click < Create Task > tab page, and open the page of "Monitoring Task List".
3.In the page of "Monitoring Task List", click < Create Task > button, and open the page of "Create Monitoring Tasks".
4.In the page of "Create Monitoring Tasks", fill in the basic information and monitoring information of the monitoring task, and click < Save > button to create the monitoring task.
Note of process path configuration
- Please enter the absolute path of the executable file, e.g. "/home/work/bcm/nginx/sbin/nginx".
Java and general interpreted language generally take the following formats after the ps command is executed:
/usr/bin/java6/java /home/xxx/atest /usr/bin/java6/java /home/xxx/btest
- To monitor the corresponding process, we should designate the interpreter path, and add the unique identification string in the parameter string, e.g.: /usr/bin/java6/java atest /usr/bin/java6/java btest
In the page of "Create A Task", open "Whether to add an alarm policy" to continue to add an alarm policy to the monitoring task. Click < Next Step > button, and open the page of "Create An Alarm Policy". Fill in the alarm policy form to create an alarm policy.
View Process Monitoring Data
1.In the page of "Application List", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the left navigation bar, click < Create Task> tab page, and open the page of "Monitoring Task List".
3.In the page of "Monitoring Task List", click the name of one monitoring task, and open the details page of the monitoring task.
4.In the details page of the monitoring task, view the monitoring data of the monitoring task.
Alarm Management of Application Monitoring
Add Alarm Policy of Application Monitoring
1.In the page of "Application Llist", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the left navigation bar, click < Alarm Management > tab page, and open the page of "Alarm Management ".
3.Select < Alarm Policy > tab page, click < Create Policy > button, and open the page of "Alarm Policy".
4.Fill in the alarm policy form to create the alarm policy.
And we should first select the monitoring task in the alarm rules, namely, select the monitoring task to which the alarm policy is added.
The alarm action is an assembly of alarm notification methods and alarm contact groups. Click < Select Alarm Action > button. In the pop-up "Select Alarm Action" page, you can respectively select the alarm actions for "Abnormal", "Data Insufficiency" and "Return to Normal".
If there is no alarm action, click < Add Alarm Action > button at the top right corner, and fill in the form of "Create Alarm Action". After the alarm action is created, complete the selection of the alarm action.
Modify/delete Alarm Policy of Application Monitoring
1.In the page of "Application List", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the left navigation bar, click < Alarm Management > tab page, and open the page of "Alarm Management".
3.Select < Alarm Policy > tab page, and open the page of "Alarm Policy". Click < Edit >,< Delete > button in the "Operation" column of one alarm policy to edit and delete the alarm policy.
View Alarm Events of Application Monitoring
1.In the page of "Application List", click < View Instance > button in the operation column of one application, and open the page of "Instance List" of the application.
2.In the left navigation bar, click < Alarm Management > tab page, and open the page of "Alarm Management".
3.Select < Alarm Event > tab page to view the alarm event occurring in the application. And you can select different time ranges and event types according to requirements to view the alarm events under the condition.