Skip to content
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

HPE FF 5700 - No Powers or Fan found #1410

Closed
jmbredal opened this issue Jan 17, 2017 · 12 comments
Closed

HPE FF 5700 - No Powers or Fan found #1410

jmbredal opened this issue Jan 17, 2017 · 12 comments
Assignees

Comments

@jmbredal
Copy link
Collaborator

jmbredal commented Jan 17, 2017

NAV doesn't find any powers or fans for a HPE FlexFabric 5700 switch.

The SNMP query's are the following:

FAN1:
ENTITY-MIB::entPhysicalClass.116 = INTEGER: fan(7)
FAN2:
ENTITY-MIB::entPhysicalClass.117 = INTEGER: fan(7)

PSU1:
ENTITY-MIB::entPhysicalClass.113 = INTEGER: powerSupply(6)
PSU2:
We don't have this installed yet, so don't know if it's .114.

We need to have alarm set if some of these fails.


Imported from Launchpad using lp2gh.

@soderholmm
Copy link

I'm here.

@lunkwill42
Copy link
Member

@soderholmm: If the PSUs and fans are present in the ENTITY-MIB, NAV should really find them. Does the ipdevpoll inventory job finish successfully on this switch?

Also, NAV cannot detect the status of the PSUs on HP unless it supports HP's proprietary POWERSUPPLY-MIB. There's a copy of it here: https://raw.githubusercontent.com/pgmillon/observium/master/mibs/hp/POWERSUPPLY-MIB

If you have the MIB file installed, you can try

snmptable -Ci -v2c -c <community> <yourswitch> POWERSUPPLY-MIB::hpicfPsTable

The output might look like this:

SNMP table: POWERSUPPLY-MIB::hpicfPsTable

 index hpicfPsState hpicfPsFailures hpicfPsTemp hpicfPsVoltageInfo hpicfPsWattageCur hpicfPsWattageMax hpicfPsLastCall
     1    psPowered               0           0     AC 220V                        0              1500        21817553
     2    psPowered               0           0     AC 220V                        0              1500        21817553
     3    psPowered               0           0     AC 220V                        0              1500        21817553
     4    psPowered               0           0     AC 220V                        0              1500        21817553

@lunkwill42
Copy link
Member

For fans, there is also HP's FAN-MIB: https://raw.githubusercontent.com/pgmillon/observium/master/mibs/hp/FAN-MIB

The table in question is FAN-MIB::hpicfFanTable

@soderholmm
Copy link

I have now installed the MIBS + HP-ICF-OID and tried them.
The results are:
FAN-MIB::hpicfFanTable: No entries
POWERSUPPLY-MIB::hpicfPsTable: No entries

And the log from inventory says:
[INFO schedule.netboxjobscheduler] [inventory ] inventory for completed in 0:00:49.943490. next run in 5:59:10.056587.

If I query ENTITY-MIB::entPhysicalTable the PSU:s (113 and 114) and FAN:s (116 and 117) are there.
Also the serial numbers are listed.

And now PSU or FAN is found in NAV.

@lunkwill42
Copy link
Member

Still strange they didn't appear in NAV before. I do want to stress that you will not get status updates for these PSUs and FANs if those proprietary MIBs have no entries :-(

@soderholmm
Copy link

soderholmm commented Feb 9, 2017 via email

@lunkwill42
Copy link
Member

@soderholmm, could you set DEBUG level logging for nav.ipdevpoll.plugins.psu in logging.conf and rerun the ipdevpoll inventory job for your HP switch, to see what is logged?

@lunkwill42 lunkwill42 reopened this Feb 14, 2017
@soderholmm
Copy link

soderholmm commented Feb 15, 2017 via email

@lunkwill42
Copy link
Member

Thanks, @soderholmm. Looking at the code now, I realize that, although the plugin can see these PSUs and FANs in the ENTITY-MIB, it doesn't store them into NAV when there is no corresponding MIB support to monitor their status.

I guess there are two questions:

  1. Should NAV bother to register FANs and PSUs when there is no way to know their status?
  2. Why doesn't your HP switch support HP's own MIB to get PSU and fan status? Are you up-to-date with the latest software?

@soderholmm
Copy link

soderholmm commented Feb 17, 2017 via email

@lunkwill42
Copy link
Member

Looks like there's a typo-ridden MIB available from various sources:

HH3C-REDUNDANCY-POWER-MIB

I don't see a clear way of associating the contents of these tables with the contents of ENTITY-MIB::entPhysicalTable, but you could see if you are able to use this MIB to get some sensible output from your switches.

@lunkwill42
Copy link
Member

Closing, due to lack of feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants