Executing the Notifications API(/api/events) using API clients return http code 200 but no notification event is triggered in Aria Operations
Same behavior is observed when using Swagger API to test the Notifications API
In the analytics-UUID. log(Located at /storage/log/vcops/logs/), you may find entries similar to:
ERROR [Function Execution Processor558] com.integrien.analytics.ResourceNDRProcessing.retrieve - Unable to obtain lock within timeout for resourceId - #### and hence unable process no data receiving status
Environment
VMware Aria Operations 8.18.x
Cause
Notification events will not trigger if data collection for the object is not working in Aria Operations
Resolution
To resolve this issue:
Verify data collection of the affected object by reviewing data for any of the object metrics.
Restart the data collection using the below procedure if data collection is not working
Go to Operations>>Configurations>>inventory management
Search for the affected object in the search box
Select the affected object
Select "Start maintenance" icon in the toolbar and choose "I will return to end maintenance myself"
Wait for a couple of minutes
Ensure the affected object is still selected and Select End maintenance
Verify the data collection after 5 to 10 minutes
After verifying the data collection, test the Notifications API using swagger or any API clients.