HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

Alerts REST API does not show all alerts

 
Highlighted
New Member

Alerts REST API does not show all alerts

When pulling alerts thru rest/alerts?start=0&count=-1&filter="alertState EQ 'Active'" I can see only 1 alert, but there are at least 5 in Global Dashboards 

2 REPLIES 2
Highlighted
HPE Pro

Re: Alerts REST API does not show all alerts

Please try below REST API  call and check if you are able to see all alerts.

GET https://{appl}/rest/alerts?view=alertSummary

I am an HPE Employee

Accept or Kudo
Highlighted
HPE Pro

Re: Alerts REST API does not show all alerts

The Global Dashboard gets alerts from the appliance Index, not /rest/alerts. Please use GET /rest/index?category=alerts to view them. And this is likely caused by the OneView Appliance index is not in sync. What version of OneView is running on your appliance?

I am an HPE employee

Accept or Kudo