Hitachi VSP-G, HUS-VM, HPE XP7/XP8 health status

Only the way to get health status from these storage is SNMP protocol.
Note new firmwares provide healt statust through REST API, so using it you do not need to use SNMP stuff

Install snmpwalk

Skip that in case you are on our Virtual Appliance
  • AIX
    Download Net-SNMP packages and install them.
    Do not use the latest packages on AIX, it does not work, use net-snmp-5.6.2.1-1!
    # umask 0022
    # rpm -Uvh net-snmp-5.6.2.1-1 net-snmp-utils-5.6.2.1-1 net-snmp-perl-5.6.2.1-1
    
    Make sure
    • you use PERL=/opt/freeware/bin/perl in etc/stor2rrd.cfg
    • PERL5LIB in etc/stor2rrd.cfg contains /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi path
  • Linux
    Follow this to get installed SNMP support in the tool on RHEL8 and CentOS8.
    # umask 0022
    # yum install net-snmp
    # yum install net-snmp-utils
    # yum install net-snmp-perl
    
    Note you might need to allow optional repositories on RHEL to yum can find it
    # subscription-manager repos --list
    ...
    # subscription-manager repos --enable rhel-7-server-optional-rpms
    
    Use rhel-7-for-power-le-optional-rpms for Linux on Power etc ...

  • Linux Debian/Ubuntu
    % umask 0022
    % apt-get install snmp libsnmp-perl snmp-mibs-downloader
    
    If apt-get does not find snmp-mibs-downloader package then enable contrib and non-free repositories.

Storage configuration - VSP-G

Allow SNMP on the storage, configure protocol (SNMP version), community string and permit STOR2RRD IP/hostname.
   Hitachi VSPG SNMP setup


Storage configuration - HUS-VM

Allow SNMP on the storage, it uses SNMP v1, configure community string and permit STOR2RRD IP/hostname.
   Hitachi HUS-VM SNMP setup


Network communication

Allow comunication between STOR2RRD server and the storage on CNTL IP and port 161 UDP
You can test network visibility through this test:
perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl vspg_CNTL_host.example.com 162
  UDP connection to "vspg_CNTL_host.example.com" on port "161" is ok

STOR2RRD setup

Edit storage configuration line in etc/storage-list.cfg.
Place at its end CNTL IP/hostanme of the storage, protocol version and community string.
Note that
#
# Hitachi VSP-G and HUS-VM
# HPE XP7 (use VSPG as storage type)
#
# Storage Alias:VSPG:IP address/hostname:storage user:password:/etc/horcm.conf:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS:SNMP_IP:SNMP_VERSION:SNMP_PORT:SNMP3_USER:SNMP_COMMUNITY:SNMP_PRIV_PASS:SNMP_AUTH_PASS:SNMP_SEC_LEVEL:SNMP_AUTH_PROTOCOL:SNMP_PRIV_PROTOCOL
#
# to encrypt password use: perl ./bin/spasswd.pl
#
# SNMP v2c example, use just SNMP_IP, SNMP_VERSION, SNMP_PORT, SNMP_COMMUNITY fields
VSPG-600-alias01:VSPG:vspg_SVP_host.example.com:stor2rrd:KT4mXVI9N0BUPjZdVQo=:/etc/horcm1.conf::::vspg_CNTL_host.example.com:2c:161::public

# SNMP v3 example
VSP2:VSPG:192.168.1.1:stor2rrd:KDo2KU0tJjVWOTcoYAo=:/etc/hormcm1.conf:1024:10:5:192.168.3.3:3:444:user1:private:KjYmXVI9N0BUPjZdVStAYGAK:KjYmXVI9N0BUPjZdVStAYGAK:noAuthNoPriv:MD5:DES

Example

Hitachi VSPG example