Free Storage, SAN and LAN Performance and Capacity Monitoring

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

Only the way to get health status from these storages is SNMP protocol.
This feature is available since product version 2.42 (planned for Feb 2019).
Contact as via support@stor2rrd.com if you want to test it earlier.

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
    # 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 comunity string.
#
# Hitachi VSP-G and HUS-VM
# HPE XP7 (use VSPG as storage type)
#
# Storage Alias:VSPG:SVP IP address/hostname:storage user:encrypted password:/etc/horcm.conf:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS:CNTL IP address/hostname:SNMP_VERSION:SNMP_PORT:SNMP3_USER:SNMP_COMMUNITY
# to encrypt password use: perl ./bin/spasswd.pl
#
# SNMP v2c example
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
VSPG-600-alias01:VSPG:vspg_SVP_host.example.com:stor2rrd:KT4mXVI9N0BUPjZdVQo=:/etc/horcm1.conf::::vspg_CNTL_host.example.com:3:161:stor2rrd:

Example

Hitachi VSPG example