ONTAP Discussions

Active IQ Unified Manager API bug ?

marcrousseau

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

 

 

 

1 ACCEPTED SOLUTION

paul_stejskal

Probably. Please open a case to have it investigated.

 

View solution in original post

1 REPLY 1

paul_stejskal

Probably. Please open a case to have it investigated.

 

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public