Resume threshold evaluations from the command line

Document ID : KB000014819
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How can I resume threshold evaluations from the command line?

Environment:
CAPM 3.x
Answer:

Follow these instructions to resume threshold evaluations

  1. Enter the following URL into a web browser: http://DA_host:8581/rest/thresholdmonitoring/config
  2. Take note of the ID value of the ThresholdMonitoringConfiguration item.

<ThresholdMonitoringConfigurationList>

   <ThresholdMonitoringConfiguration version="1.0.0">

     <ID>16</ID>

     <ThresholdMonitoringEnabled>true</ThresholdMonitoringEnabled>

     <PercentOfPollCycleThreshold>80</PercentOfPollCycleThreshold>

     <ThresholdMonitoringLimiterEnabled>true</ThresholdMonitoringLimiterEnabled>

     <RecoveryIntervalInMinutes>15</RecoveryIntervalInMinutes>

   </ThresholdMonitoringConfiguration>

</ThresholdMonitoringConfigurationList>

3. Run the following command from the DA:

curl -v -H "Content-Type:application/xml" -X PUT http://<DA>:8581/rest/thresholdmonitoring/config/16 --data "<ThresholdMonitoringConfiguration version='1.0.0'><ThresholdMonitoringEnabled>true</ThresholdMonitoringEnabled></ThresholdMonitoringConfiguration>"

 

At this point, you should now start seeing threshold events again