Notifications API(/api/events) does not trigger an event for one or more objects in Aria Operations
search cancel

Notifications API(/api/events) does not trigger an event for one or more objects in Aria Operations

book

Article ID: 409714

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Symptoms:

  • 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
    1. Go to Operations>>Configurations>>inventory management
    2. Search for the affected object in the search box
    3. Select the affected object 
    4. Select "Start maintenance" icon in the toolbar and choose "I will return to end maintenance myself"
    5. Wait for a couple of minutes
    6. Ensure the affected object is still selected and Select End maintenance
    7. Verify the data collection after 5 to 10 minutes
  • After verifying the data collection, test the Notifications API using swagger or any API clients.

Additional Information

For additional details regarding maintenance mode refer Aria Operations Documentation