class MmasOLPCpu

ManagedElement
+-Mmas
+-MmasOLPService
+-MmasOLPCpu

The class MmasOLPCpu configures the overload parameters for CPU resource.

Attributes
string
noNotification
activationAlgorithm = MEAN
This attribute specifies the activation algorithm for CPU overload protection.
Default value is MEAN. Allowed values are MEAN and CONSECUTIVE.
MEAN: average of the measuring period compared against the upper threshold value. When the average value is above the upper threshold value, the corresponding CPU overload actions are activated.
CONSECUTIVE: consecutive samples in the measuring period have to be above the upper threshold before the CPU overload actions are activated.


string
noNotification
deactivationAlgorithm = CONSECUTIVE
This attribute specifies the deactivation algorithm for CPU overload protection.
Default value is CONSECUTIVE. Allowed values are MEAN and CONSECUTIVE.
MEAN: average of the measuring period compared against the lower threshold value. When the average value is below the lower threshold value, the corresponding CPU overload actions are deactivated.
CONSECUTIVE: consecutive samples in the measuring period have to be below the lower threshold before the CPU overload actions are deactivated.
boolean
noNotification
enable = false
If true, CPU overload protection is enabled.
Default value is false. Applicable only if MmasOLPService enable is set to true.
Percent0To100
noNotification
lowerThresholdValue = 80
This attribute specifies the CPU usage threshold level for HTTP requests.
Default value is 80 percent. Allowed values are 0 to 100. The value must be set lower than the upperThresholdValue. Any HTTP requests received when the system is operating beyond the specified threshold remain in a standard overload protection state. The MMAS default in this state is to respond with a 503 Service Unavailable HTTP error containing a Retry-After header using the retryAfterInterval attribute value specified in the MmasOLPService class. This action is programmable via the
MMAS OLP API by creating a custom OLP filter or valve. Applicable only if MmasOLPCpu enable is set to true and the MmasOLPCpu upperThresholdValue had been reached.
Percent0To100
noNotification
maxLowerThresholdValue = 90
This attribute specifies the CPU usage threshold level for the HTTP requests.
Default value is 90 percent. Allowed values are 0 to 100. The value must be set lower than the maxUpperThresholdValue. Any HTTP requests received when the system is operating beyond the specified threshold remain in a maximum overload protection state. The MMAS default action in this state is to respond with a 503 Service Unavailable HTTP error containing a Retry-After header using a value three times higher than the value specified for the retryAfterInterval attribute value in the MmasOLPService class. This action is programmable via the MMAS OLP API by creating a custom OLP filter or valve. Applicable only if MmasOLPCpu enable is set to true and MmasOLPCpu maxUpperThresholdValue had been reached.
Integer1To60
noNotification
maxSamplingRate = 2
This attribute specifies the sample rate in seconds for updating threshold levels for CPU usage.
Default value is 2 seconds. Allowed values are 1 to 60 seconds.
Percent50To100
noNotification
maxUpperThresholdValue = 95
This attribute specifies the CPU usage threshold level for the HTTP requests.
Default value is 95 percent. Allowed values are 50 to 100. Any HTTP requests received when the system is operating beyond the specified threshold trigger a maximum overload protection state. The MMAS default action in this state is to respond with a 503 Service Unavailable HTTP error containing a Retry-After header using a value three times higher than the value specified for the retryAfterInterval attribute value in the MmasOLPService class. This action is programmable via the MMAS OLP API by creating a custom OLP filter or valve. Applicable only if MmasOLPCpu enable is set to true.
Integer2To1200
noNotification
measuringPeriod = 10
This is the measuringPeriod attribute for MmasOLPCpu class MO.
This attribute specifies the measuring period needed in seconds before the threshold is raised for CPU usage.
Default value is 10 seconds. Allowed values are 2 to 1200 seconds.
string
key
mandatory
noNotification
restricted
mmasOLPCpuId
This attribute defines the identity of the MmasOLPCpu instance.
Percent50To100
noNotification
upperThresholdValue = 85
This attribute specifies the CPU usage threshold level for HTTP requests.
Default value is 85 percent. Allowed values are 50 to 100. Any HTTP requests received when the system is operating beyond the specified threshold trigger a standard overload protection state. The MMAS default action in this state is to respond with a 503 Service Unavailable HTTP
error containing a Retry-After header using the retryAfterInterval attribute value specified in the MmasOLPService class. This
action is programmable via the MMAS OLP API by creating a custom OLP filter or valve. Applicable only if MmasOLPCpu enable is set to true.

  class MmasOLPCpu