PoE polling on HP Switches

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Hey yall – I’m not seeing PoE polling on any have my HP switches
I put $config[‘enable_ports_poe’] = 1 in the config.php but still not seeing anything.

We use two standard mibs for this, POWER-ETHERNET-MIB and CISCO-POWER-ETHERNET-EXT-MIB. If this device doesn’t utilise either then it will need additional code.

Run ./poller.php -h HOSTNAME -d -r -f -m ports to get some debug info, look for pethPsePortEntry and cpeExtPsePortEntry, I expect you will see an error from snmp

https://p.libren.ms/view/31dc96e4 here you go. Let me know what else you need

I think HP uses the www.oidview.com/mibs/11/HP-ICF-POE-MIB.html

Discussed in https://github.com/librenms/librenms/issues/6736 - HP switches should be fairly straightforward according to the SNMP::Info patch, the last value is the ifIndex.

That HP MIB is for extra information on top of POWER-ETHERNET-MIB. Enterasys have a similar one for extra info, ENTERASYS-POWER-ETHERNET-EXT-MIB

Can you please share the output of:
snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME .

I got the output but it’s too big to upload to Pastebin and p.librenms… do know where I can upload it to?


What size is it?

its 4,027 KB

Odd, should work on our site but try that one above.

I’m getting errors when snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME . | ./pbin.sh

A PHP Error was encountered

Severity: Warning

Message: Error while sending QUERY packet. PID=13406

Filename: mysqli/mysqli_driver.php

Line Number: 306

Upload it to another one for now

It won’t take it either … IDK man what I’m doing wrong here :frowning:

Hey @Kevin_Krumm,

Did you find the solution to this?
I’m using all Aruba/HPE switches and need to monitor the Detection Status of all my ports.
The other day I had 4 ports going bad on the PoE (ports b9 to b12) on one of my modules and I didn’t notice until a colleague told me that 4 ports were with steady amber lights.

I would like to know how are you monitoring your aruba gear.


Is there someone who can help me on this?
Or should I create a new thread.

Hi @hrv231
Basically, if the POE is not showing, it means that LibreNMS does not have code to handle it.

Two options :

  • You can write the code, test it in your environnement, open a pull request, let the admins review it and merge it to LibreNMS
  • Open an issue (if not opened already) here (https://github.com/librenms/librenms/issues) and provide the required data. And wait for somebody else to do it. But unfortunately the list of opened issue is very big, and we lack contributers on those issues, meaning it may take a lot of time …