8/09/2017

HP SMH data source is missing, blank

For ProLiant DL380p Gen8 if you use the Hewlett Packard SPP method for installing agents and the System Management Homepage comes up with nothing for the components on the homepage. And the data source is blank, missing or not set and you go to the Settings page and cannot find a list of sources.

Basically you are missing:

# yum install hp-ams hp-smh-templates

One restores the Settings option for selecting a source the other completes the sources.

After yum installing them from the SPP repository, you (do) need to restart the hp-snmp-agents init.d script to provide the data.

And don't forget to set the snmpd.conf readonly community strings to something the hpsmh can access.


Key thing to know

When installing the agents from SPP from now on, they broke the packages up into still more packages, if they all aren’t installed, then SMH will have no data source and be blank.

From this:
yum --disablerepo="*" --enablerepo="spp" install hp-snmp-agents hpssa hponcfg

To this:
yum --disablerepo="*" --enablerepo="spp" install hp-snmp-agents hpssa hponcfg hp-ams hp-health hp-smh-templates hpssacli net-snmp net-snmp-utils

The following are also good cli checks

[root@host ~]# snmpwalk -c public -v 2c  localhost 1.3.6.1.4.1.232.2.2.4.2.0

SNMPv2-SMI::enterprises.232.2.2.4.2.0 = STRING: "ProLiant DL380p Gen8"

[root@host ~]# hpssacli ctrl all show status

Smart Array P420i in Slot 0 (Embedded)
   Controller Status: OK
   Cache Status: OK
   Battery/Capacitor Status: OK

[root@host ~]# hpssacli ctrl all show

Smart Array P420i in Slot 0 (Embedded)    (sn: 009999999999999)

[root@texasvmhost ~]# hpssacli ctrl slot=0 pd all show

Smart Array P420i in Slot 0 (Embedded)

   array A

      physicaldrive 1I:2:1 (port 1I:box 2:bay 1, SAS, 0 MB, Failed)
      physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SAS, 1200.2 GB, OK)
      physicaldrive 1I:2:3 (port 1I:box 2:bay 3, SAS, 1200.2 GB, OK)
      physicaldrive 1I:2:4 (port 1I:box 2:bay 4, SAS, 1200.2 GB, OK)
      physicaldrive 2I:2:5 (port 2I:box 2:bay 5, SAS, 1200.2 GB, OK)
      physicaldrive 2I:2:6 (port 2I:box 2:bay 6, SAS, 1200.2 GB, OK)
      physicaldrive 2I:2:7 (port 2I:box 2:bay 7, SAS, 1200.2 GB, OK)
      physicaldrive 2I:2:8 (port 2I:box 2:bay 8, SAS, 1200.2 GB, OK, active spare for 1I:2:1)