cancel
Showing results for 
Search instead for 
Did you mean: 

Report inventory by device type

Report inventory by device type

Jose_Chaves
New Contributor II

Hi,

 

Is there a way of getting a report with the device count gruped by model?

 

Regards,

Jose Chaves

1 ACCEPTED SOLUTION

Zdeněk_Pala
Extreme Employee

Hi,

Option 1: export to CSV and make the aggregate by your own.

Option 2: use scripting/workflows to generate such a report.

 

Regards Zdeněk Pala

View solution in original post

4 REPLIES 4

Jose_Chaves
New Contributor II

Hi,

 

The export to CSV worked.

I will try with the API, a python script in a workflow to send it by mail.

 

Regards,

Jose Chaves

yas1
New Contributor II

Hi Jose,

Here is a possible way to query via XMC GraphiQL API. Afterwards you can process the output further as you’d like to. I’d suggest using python for the API calls. Just have a look at https://<XMC-IP>:8443/nbi/graphiql/index.html? and try around.

 

02201d2555204989980d0d45c87c3fc3_a40dcbf4-67d5-4085-be52-0398d982b79f.png

 

Best regards
Yannick

Stefan_K_
Valued Contributor

This would be a problem if you have stacks, because the model would be “EXOS Stack”

Zdeněk_Pala
Extreme Employee

Hi,

Option 1: export to CSV and make the aggregate by your own.

Option 2: use scripting/workflows to generate such a report.

 

Regards Zdeněk Pala
GTM-P2G8KFN