New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eaton 5PX USP with Network Management Card #3364

Closed
oam7575 opened this Issue Apr 13, 2016 · 13 comments

Comments

Projects
None yet
4 participants
@oam7575

oam7575 commented Apr 13, 2016

Incorrect device detection.

The 5PX range of Eaton UPS device appear to have been aquired from MGE in 2007.
See this page : http://www.power-solutions.com/ups/mge

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
In my case the card is a slightly older model with older firmware ( which AFAIK cannot be upgraded )

adjusting /opt/librenms/includes/discovery/os/eatonups.inc.php as follows

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 Apr 13, 2016

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 attached file has release notes from Eaton.

Release_Note_NetworkMS_JH.txt

oam7575 commented Apr 13, 2016

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 attached file has release notes from Eaton.

Release_Note_NetworkMS_JH.txt

@laf

This comment has been minimized.

Show comment
Hide comment
@laf

laf May 3, 2016

Member

I'm confused with this one, your screenshot shows this as an eaton ups?!

Member

laf commented May 3, 2016

I'm confused with this one, your screenshot shows this as an eaton ups?!

@laf laf added the Needs-Info label May 3, 2016

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 May 4, 2016

Hi Laf

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.

Cheers.

oam7575 commented May 4, 2016

Hi Laf

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.

Cheers.

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 May 4, 2016

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.
The XUPS_Power_Xpert_Gateway file is for a newer style of management card

Xups_Power_Xpert_Gateway.mib.txt

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

XUPS-MIB_Network_Card_MS_5PX.txt

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.

Cheers,

oam7575 commented May 4, 2016

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.
The XUPS_Power_Xpert_Gateway file is for a newer style of management card

Xups_Power_Xpert_Gateway.mib.txt

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

XUPS-MIB_Network_Card_MS_5PX.txt

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.

Cheers,

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 May 5, 2016

More details

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)
The card is Compatible with following MIBs:
• MIB II (RFC 1213)
• Internet Engineering Task Force (IETF) Standard UPS MIB (RFC 1628)
• EATON Pulsar MIB (ex MGE) V1.7
• EATON Powerware MIB (PowerMib)

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.

Cheers,

66102_User_Manual_English.pdf

oam7575 commented May 5, 2016

More details

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)
The card is Compatible with following MIBs:
• MIB II (RFC 1213)
• Internet Engineering Task Force (IETF) Standard UPS MIB (RFC 1628)
• EATON Pulsar MIB (ex MGE) V1.7
• EATON Powerware MIB (PowerMib)

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.

Cheers,

66102_User_Manual_English.pdf

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 May 28, 2016

Pull Request #3572 submitted to hopefully fix up the detection issues and add support for a few more sensors.

First time round for me - let me know if i need to adjust anything.

Cheers.

oam7575 commented May 28, 2016

Pull Request #3572 submitted to hopefully fix up the detection issues and add support for a few more sensors.

First time round for me - let me know if i need to adjust anything.

Cheers.

@oam7575

This comment has been minimized.

Show comment
Hide comment
@oam7575

oam7575 Jun 4, 2016

First attempt at pull request was close enough to a disaster.

Thanks to @laf and @murrant for the help they provided I have started again and submitted PR #3601
Hopefully it will be a little bit neater and closer to what is needed.

oam7575 commented Jun 4, 2016

First attempt at pull request was close enough to a disaster.

Thanks to @laf and @murrant for the help they provided I have started again and submitted PR #3601
Hopefully it will be a little bit neater and closer to what is needed.

@laf

This comment has been minimized.

Show comment
Hide comment
@laf

laf Jan 22, 2017

Member

Hi,

We are trying to tidy up old issues by working out which ones are still required or have not yet been resolved. If this issue should remain open - please update it with the latest debug information ensuring your install is up to date.

_TAG_TIDYUP

Member

laf commented Jan 22, 2017

Hi,

We are trying to tidy up old issues by working out which ones are still required or have not yet been resolved. If this issue should remain open - please update it with the latest debug information ensuring your install is up to date.

_TAG_TIDYUP

@Di-Sa

This comment has been minimized.

Show comment
Hide comment
@Di-Sa

Di-Sa Jan 23, 2017

Hi,
I have an Eaton EX-2200, with network card, that LibreNMS doesn't recognize: it is seen as a 'Generic Device'...
In the MIB tab I have:
Module MIB Included by Last Modified
MG-SNMP-UPS-MIB upsmg includes/discovery/functions.inc.php 2016-11-28 18:50:25
followed by all the OID with values...

I don't know how to help recognizing this device, what can I do?
Thanks.

Di-Sa commented Jan 23, 2017

Hi,
I have an Eaton EX-2200, with network card, that LibreNMS doesn't recognize: it is seen as a 'Generic Device'...
In the MIB tab I have:
Module MIB Included by Last Modified
MG-SNMP-UPS-MIB upsmg includes/discovery/functions.inc.php 2016-11-28 18:50:25
followed by all the OID with values...

I don't know how to help recognizing this device, what can I do?
Thanks.

@laf

This comment has been minimized.

Show comment
Hide comment
@laf

laf Jan 23, 2017

Member

Please provide the info from http://docs.librenms.org/Support/FAQ/#faq8

Member

laf commented Jan 23, 2017

Please provide the info from http://docs.librenms.org/Support/FAQ/#faq8

@Di-Sa

This comment has been minimized.

Show comment
Hide comment
@Di-Sa

Di-Sa Jan 24, 2017

Thanks, here are the infos:
LibreNMS: 192.168.57.220, Eaton EX-2200: 192.168.57.225, Gateway: 192.168.57.254, community: public

Eaton EX-2200 - LibreNMS - Discovery: http://pastebin.com/DQJC5qEL
Eaton EX-2200 - LibreNMS - Poller: http://pastebin.com/3Xrs4FwF
Eaton EX-2200 - LibreNMS - SNMPwalk: http://pastebin.com/ThJhEtR7

Di-Sa commented Jan 24, 2017

Thanks, here are the infos:
LibreNMS: 192.168.57.220, Eaton EX-2200: 192.168.57.225, Gateway: 192.168.57.254, community: public

Eaton EX-2200 - LibreNMS - Discovery: http://pastebin.com/DQJC5qEL
Eaton EX-2200 - LibreNMS - Poller: http://pastebin.com/3Xrs4FwF
Eaton EX-2200 - LibreNMS - SNMPwalk: http://pastebin.com/ThJhEtR7

@murrant

This comment has been minimized.

Show comment
Hide comment
@murrant

murrant Jan 24, 2017

Member

This seems to be one of the Re-branded MGE UPS's.

Eaton bought MGE's small business devices.

Member

murrant commented Jan 24, 2017

This seems to be one of the Re-branded MGE UPS's.

Eaton bought MGE's small business devices.

@laf laf added the Device 🖥 label Jan 24, 2017

laf added a commit to laf/librenms that referenced this issue Jan 25, 2017

@laf laf referenced this issue Jan 25, 2017

Merged

newdevice: Added support MGEUPS EX2200 #3364 #5602

2 of 2 tasks complete

@murrant murrant closed this in #5602 Jan 25, 2017

murrant added a commit that referenced this issue Jan 25, 2017

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

lock bot commented May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.