I just have one question, is it possible to use some form of parentheses? It does not mention it, but I find that OR counts higher than AND operations, e.g.:
filter=name=x&alias=z|name=y&alias=z gives me values x,y for z , however
filter=name=x|name=y&alias=z seems to give me all x in the system. It would be great if we could do :
filter=(name=x|name=y)&alias=z
Not big deal if we can't, just have to be aware of it. Probably should be mentioned in an example in the manual?
yes, but it is very general for me. I used the SRM, but has no experience on its config. I try to get more info about the pattern for SRM. May I set up a connection with you to get some helps?
I am using the SRM now, but has little experience on the configuration. I just set up the REST API, but I don’t know how to use the Pattern in the documentation you mentioned.
I attach the screen show, I just wonder how make it give the data out?
Thank you very much.
Rick Zhou
Service Delivery Advisor, Infrastructure Managed Services / Virtustream
isakats
141 Posts
4579
1
Posted November 1st, 2017 08:00
Hi John,
It is doable, try the following: https:// :58443/APG-REST/metrics/series/values?filter=name=%27Capacity%27%7Cname=%27UsedCapacity%27&part=%270002A%27&properties=device,part,model,dgstype,poolname,ismapped,ismasked,alias,unit&period=86400&type=last&limit=-1
it returns both Capacity & UsedCapacity in my lab.
regards,
Isaka