Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4988

Active IQ Unified Manager API bug ?

$
0
0

Hello,

 

I'm using AiQ UM 9.9P1

I try to get events from AiQ UM API with curl and I want to use multiple values for some filters

 

Here are my results :

 

- get events with filter CURRENT_STATE=NEW|ACKNOWLEDGED
curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?current_state=new%7Cacknowledged" -H "accept: application/json" -u $USER:$PASS

 

-> works perfectly 

 

- get events with filter IMPACT.LEVEL=INCIDENT|RISK

curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?current_state=new%7Cacknowledged&impact.level=incident%7Crisk" -H "accept: application/json" -u $USER:$PASS

 

-> works perfectly 

 

- get events with filter SEVERITY=ERROR (only one value)

curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?severity=ERROR" -H "accept: application/json" -u $USER:$PASS

 

-> works perfectly 

 

- get events with filter SEVERITY=ERROR|CRITICAL (with 2 values)

curl -X GET "https://$OCUM_SERVER_HOST/api/management-server/events?severity=ERROR%7CCRITICAL" -H "accept: application/json" -u $USER:$PASS

 

-> ERROR

"error": {
"code": null,
"message": "No enum constant com.netapp.dfm.entity.platform.event.EventSeverity.error,critical",
"target": null
}

Is this a bug ? Can somebody help ?

Thanks

Marc

 

 

 


Viewing all articles
Browse latest Browse all 4988

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>