PoE usage Data

Greenberet
Head in the Cloud

PoE usage Data

Hello,

 

does anybody know a method to retreive the PoE usage on a given port?

I've tried it over cloud snmp and device snmp, but I wasn't able to find a matching oid.

 

For sure I know that the meraki rest api isn't providing that information.

 

 

12 Replies 12
ww
Kind of a big deal
Kind of a big deal

Do you mean outside the dashboard?

 

Greenberet
Head in the Cloud

Exactly.

I want to monitor the PoE usage of the ports.

PhilipDAth
Kind of a big deal
Kind of a big deal

I don't think there is anyway to do this.

BlakeRichardson
Kind of a big deal
Kind of a big deal

The summary report will give you the total power usage in KWH for POE switches but it doesn't go as far as breaking it down per port. 

If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.
MerakiDave
Meraki Employee
Meraki Employee

The earlier replies are correct and you'll need to look at this info either at an individual port level in somewhat real time, or aggregated in a summary report.  That info is not syslogged or event logged for example.  And unfortunately there is no API call today that will return the instantaneous PoE power draw on a port by port basis either.  There are however errors for PoE overload and warnings for PoE power being denied. 

 

Curious, since it would be a ton of data, what is the use case for needing to track instantaneous PoE usage port by port?  Or perhaps it's more about alerting?  Perhaps the feature request would be to add an alert on the Network-Wide > Alerts page to have an alert if a port is denied PoE power, so you could start being alerted if a switch is over budget and some devices cannot get power.

Greenberet
Head in the Cloud

At the moment it's more for statistical reasons and personal interest. I don't need to track it instantaneous. It would be enough to have the value which is in the dashboard (which gets updated every 1-2 minutes I think). I would pull the data every 1-5 minutes.

From the API side we currently have GET/devices/{serial}/switchPortStatuses which is currently providing most of the statistical data (e.g. TX/RX, CDP, ... ). PoE is just missing here.

CarlZellers
Here to help

I have seen many instances where I have confirmed no external power cord to a phone and the dashboard just wont register PoE usage.. SNMP would be great to get around instances where the switch/dashboard seem incorrect/inaccurate.

 

 

image.png

AnGo
Comes here often

Hi,

 

Did you find any possibility to get PoE Budget Info or even on a port basis? I´m also looking for a way to get this, but until now, no luck... Meraki switches don´t support many MIBs.

Oren
Meraki Employee
Meraki Employee

If this thread is still relevant, try the following API call:Get switch port statuses

 

Best,

Oren. 

Greenberet
Head in the Cloud

Hello @Oren ,


it is still relevant. The "powerUsageInWh" parameter is sadly in Wh and not W over a period of 24? hours.
What me and the others wanted was a live view of the current usage.
e.g. a MV is using ~ 4.4-6Wh (lets say 5 for the next calculation) during the day. If it is freezing and the heater gets turned on in the night, then it would probably go to the advertised 30W.

example ( I know probably not so realistic, but again it's an example):
So day 8am - 10 pm -> 14 hours * 5W = 70Wh
night with freezing temperatures and IR -> 10 hours * 30W = 300Wh

 -> total 370Wh for 24 hours usage

With this you can't make any assumptions when it will use the full power and when not.

If we would get the current W, then it would be possible to put it into a database and visualize it. "Okay at 10pm the power usage of the camera  X went up".

Oren
Meraki Employee
Meraki Employee

That’s a good question.

One of the parameters available for that API call is timespan (in seconds), which allows you to query the usage over the last X seconds. If you take a measurement of 3600 seconds every hour - you’ll have the hourly PoE usage, or 60 seconds every minute, etc’.

Greenberet
Head in the Cloud

I've just played around with it and it's kinda "meh".
the smallest intervall with a result > 0Wh was 800 seconds (13.3 minutes). So it would be a better value for statistically reasons, but you would still miss short peaks.

the thing that annoys me here is the situation, that you are getting a live value every few seconds over the dashboard, when you are looking at it in the browser. So the possibility is there.
The best would be to get the value over mqtt or snmp.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels