[API] Switches - Power supplies & PoE usage

Solved
Namgyu
Getting noticed

[API] Switches - Power supplies & PoE usage

Hello, all.

I am looking for Dashboard APIs about power supplies and PoE usage on each switch.

I want to check the factors (PoE budget on each power supply slot, consumption and budgeted on PoE usage) in this image via APIs.

 

paint.png

1 Accepted Solution
PhilipDAth
Kind of a big deal
Kind of a big deal

There is no such API.

View solution in original post

2 Replies 2
PhilipDAth
Kind of a big deal
Kind of a big deal

There is no such API.

sungod
Kind of a big deal

There's a roundabout way you can get some of what you are after...

 

i) you can get PoE usage for all the ports on a switch (in watt hours for the specified timespan) with get /devices/{serial}/switchPortStatuses

 

ii) you can get the switch model name, then use a lookup table to find the PoE power budget for the switch

 

Doesn't help you with number of power supplies, but it will give you PoE usage and budget

Get notified when there are additional replies to this discussion.