Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Eaton 5PX USP with Network Management Card #3364
Incorrect device detection.
The 5PX range of Eaton UPS device appear to have been aquired from MGE in 2007.
This may lead to some odd device detection and OS details depending on the age of the device and if the firmware has been adjusted to display MGE or Eaton.
How the device presents itself is dependant on the Network Management Card
adjusting /opt/librenms/includes/discovery/os/eatonups.inc.php as follows
It should also be noted that in older versions of the NMC firmware there is a bug which will cause the NMC to reboot when attempting to poll using SNMP v3
This bug has apparently been resolved in firmware JC or newer
The unit is branded as an Eaton UPS, however Eaton purchased the MGE product line from Power Solutions in 2007 and renamed it.
Please see this page : http://www.power-solutions.com/ups/mge for more details.
As far as I can tell the NMC still reports mgeups as the OS string.
When LibreNMS is configured to detected the UPS as an Eaton device it failed to display SNMP data correctly.
After adjusting /opt/librenms/includes/discovery/os/eatonups.inc.php to list the OS as mgeups SNMP data started to be displayed.
The problem may be related to incorrect Eaton MIBS??- but I am not sure.
Please check the poller, discovery and complete snmpwalk files attached to my first post - hopefully they can clarify this.
If you need further details let me know what you need or what commands to run and I will try to get it to you.
Looking a bit closer at the Eaton website it appears that there are different mib files for different management cards.
I have attached 2x mib files in TXT format below.
This file XUPS-MIB_Network_Card_MS - is the mib file that matches the older style management card that I have installed in my 5PX
Further testing is likely required however this suggests a bug due to MIB file oddness from Eaton.
If you can provide a workflow of files that need changing or MIB files to replace I am happy to test further.
The attached PDF has details on which MIBs are compatible with the NMC installed in my 5PX
Page 122 has the following.
1.3.7 MIB (Management Information Base)
Additionally the appendix section 7.2 lists the SNMP objects and MIB access paths
As previously mentioned I am happy to have a bit of a poke at this to see if I can get it working; but I would need some pointers to get me started.
I don't know how to help recognizing this device, what can I do?
Thanks, here are the infos: