HPE OneView
1748021 Members
4714 Online
108757 Solutions
New Discussion

/rest/alerts query

 
divyadarshini
Occasional Contributor

/rest/alerts query

hi ,

For rest api call to get alerts I am using -  rest/alerts?start=0&count=-1&filter="alertState EQ 'Active' OR alertState EQ 'Locked' OR alertState EQ 'Cleared'"&filter="severity EQ 'Critical' OR severity EQ 'Warning'"

In HPE one view portal I dont have any Active alerState but when above query is ran I get alertState as "Active"

and severity as "MAJOR" which is wrong.

So basically  data from above url and data in dashboard is not matching.can you help on this?