Some Service Alarms only close after we click on them:
After clicking on it:
Why is this happening?
Dx OI SaaS
Dx OI any on-premise release.
This happens because the stalled alarm still has a ServiceAlarm associated with that, by default, it should be deleted in 30 days If there is no more activity on that.
By default, the retention period set to close stalled alarm is 30 days if no more activity on that. You can check what is set in your environment by doing:
curl -X PATCH "http://URL:PORT/onboarding/doc_type" -H "accept: /" -H "Content-Type: application/json" -d "{ \"doc_type_id\": \"itoa_service_cis_sa\", \"doc_type_version\": \"1\", \"product_id\": \"ao\", \"retention_period\": \"30\"}"
curl -X PATCH "http://URL:PORT/onboarding/doc_type" -H "accept: /" -H "Content-Type: application/json" -d "{ \"doc_type_id\": \"itoa_services_sa\", \"doc_type_version\": \"1\", \"product_id\": \"ao\", \"retention_period\": \"30\"}
You can change the stalled retention period by doing:
SA_STALE_SERVICE_ALARM_SYNCH_ENABLE=true
SA_STALE_SERVICE_ALARM_SYNCH_FROM_TIME=now-720
3. Restart the POD.