Set_Application_Monitoring: Set monitoring

Use the Set_Application_Monitoring command to set monitoring of the WebSphere® application.

Command syntax

YN:Set_Application_Monitoring App_Id Monitoring_Enabled Request_Data_Monitoring_Level Request_Data_Sampling_Rate

where App_Id is the application ID which is automatically assigned in the portal from the selection context when Take Action was invoked.

Monitoring_Enabled is a boolean value and the valid values are 0 and 1. It defines whether the monitoring agent application dashboard monitoring feature is enabled for the given application.

Request_Data_Monitoring_Level is an integer value that defines custom request monitoring level for the given application. Valid values are 0 (DISABLE), 1 (LEVEL1), and 2 (LEVEL2). If the Request Monitoring Control Level is set to Application, this level overrides any level that the user might set for the entire monitoring agent.
Important: If the Request Monitoring Control Level is set to Server, this Take Action command has no effect on the actual monitoring level. The new level is recorded, but the server-wide setting is applied. If you change the Request Monitoring Control Level to Application, the recorded application monitoring level takes effect.

Request_Data_Sampling_Rate is an integer value that defines custom request monitoring rate (in percentage) for the given application. Valid values range from 0 to 100.

Important: When this Take Action is selected for a node representing a z/OS® servant region, it applies to all servant regions in the same managed system (WebSphere Application Server instance).

Reflex _Automation_Mode is a boolean value and the valid values are 0 and 1. When you select 1, WR application health monitoring accepts reflex automation commands from WASAppHealthGood/Fair/Bad situations and adjusts the monitoring level automatically based on the current application health status.