How can I resume threshold monitoring evaluations from the command line?
Threshold Monitoring
Threshold Limiter
All supported Performance Management releases
Follow these instructions to resume threshold evaluations
<ThresholdMonitoringConfigurationList>
<ThresholdMonitoringConfiguration version="1.0.0">
<ID>16</ID>
<ThresholdMonitoringEnabled>true</ThresholdMonitoringEnabled>
<PercentOfPollCycleThreshold>80</PercentOfPollCycleThreshold>
<ThresholdMonitoringLimiterEnabled>true</ThresholdMonitoringLimiterEnabled>
<RecoveryIntervalInMinutes>15</RecoveryIntervalInMinutes>
</ThresholdMonitoringConfiguration>
</ThresholdMonitoringConfigurationList>
(instead of a browser, you can run this rest call from the CLI using curl: curl -kv -u admin http://YOUR-DA:8581/rest/thresholdmonitoring/config)
3. Run the following command from the DA:
curl -kv -u admin -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
the user we are passing is an admin user from the PC console.
if you use -u <USER> the command will prompt for the password.
if you use -u <USER>:<PASSWORD> it will not prompt
..
if you are using http then the DA rest port is 8581, if you are using https, then remember the port is 8582.