Skip to main content

Hitachi HCP SNMP

Monitoring Connector Assets​

Monitored Objects​

The Monitoring Connector Hitachi HCP SNMP including monitoring of Nodes, Tenants and Volumes.

Collected Metrics​

Metric nameDescriptionUnit
node statusStatus of the node
nic statusStatus of the nic
san path statusStatus of the san path
bbu statusStatus of the battery backup unit
nodeid#node.space.usage.bytesUsage of the nodeB
nodeid#node.space.free.bytesFree space left on the nodeB
nodeid#node.space.usage.percentageUsage of the node in percentage%
nodeid#node.sensor.temperature.celsiusSensor temperatureC
nodeid#node.sensor.fan.speed.rpmSensor fan speedrpm
nodeid#node.sensor.voltage.voltSensor voltageV

It is possible to filter on the ID of a node using a REGEXP of the form [--filter-node-id='101'].

Prerequisites​

To control your Hitachi HCP, the SNMP must be configured. (https://knowledge.hitachivantara.com/Documents/Storage/Content_Platform/9.0.x/Administering_HCP/System_monitoring/03_Configuring_SNMP)

Setup​

  1. Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Hardware-Storage-Hitachi-Hcp-Snmp
  1. On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the Hitachi HCP SNMP Monitoring Connector

Host configuration​

  • Add a new Host and apply the HW-Storage-Hitachi-Hcp-SNMP-custom Host Template
  • Fill the SNMP Version and Community fields according to the device's configuration

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryNameDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

By default, Host Template HW-Storage-Hitachi-Hcp-SNMP doesn't have Service Template attached. You could:

  • attached Service Template to Host Template HW-Storage-Hitachi-Hcp-SNMP-custom
  • using service discovery

FAQ​

How to test the Plugin and what are the main options for ?​

Once the Plugin installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins/centreon_hitachi_hcp_snmp.pl \
--plugin=storage::hitachi::hcp::snmp::plugin \
--mode=nodes \
--hostname=10.30.2.114 \
--snmp-version='2c' \
--snmp-community='hcp_ro' \
--filter-node-id='101' \
--warning-space-usage-prct='80' \
--critical-space-usage-prct='90' \
--verbose

Expected command output is shown below:

OK: node '101' [ip address: 10.214.4.16] node status: available, nic status: ok, san path status: rain, battery backup unit status: Healthy - space usage total: 13.58 TB used: 350.93 GB (2.52%) free: 13.24 TB (97.48%) | '101#node.space.usage.bytes'=376806080512B;;;0;14933122809856 '101#node.space.free.bytes'=14556316729344B;;;0;14933122809856 '101#node.space.usage.percentage'=2.52%;0:80;0:90;0;100 '101~Temp_Ambient_FP#node.sensor.temperature.celsius'=25.0C;;;; '101~Temp_CPU0#node.sensor.temperature.celsius'=35.0C;;;; '101~Temp_CPU1#node.sensor.temperature.celsius'=40.0C;;;; '101~Temp_DIMM_AB#node.sensor.temperature.celsius'=28.0C;;;; '101~Temp_DIMM_EF#node.sensor.temperature.celsius'=29.0C;;;; '101~Temp_Outlet#node.sensor.temperature.celsius'=29.0C;;;; '101~Temp_PCH#node.sensor.temperature.celsius'=37.0C;;;; '101~Temp_PCI_Area#node.sensor.temperature.celsius'=33.0C;;;; '101~Temp_PCI_Inlet1#node.sensor.temperature.celsius'=30.0C;;;; '101~Temp_PCI_Inlet2#node.sensor.temperature.celsius'=28.0C;;;; '101~Temp_VR_CPU0#node.sensor.temperature.celsius'=27.0C;;;; '101~Temp_VR_CPU1#node.sensor.temperature.celsius'=32.0C;;;; '101~Temp_VR_DIMM_AB#node.sensor.temperature.celsius'=25.0C;;;; '101~Temp_VR_DIMM_CD#node.sensor.temperature.celsius'=27.0C;;;; '101~Temp_VR_DIMM_EF#node.sensor.temperature.celsius'=29.0C;;;; '101~Temp_VR_DIMM_GH#node.sensor.temperature.celsius'=31.0C;;;; '101~Fan_SYS0#node.sensor.fan.speed.rpm'=5100rpm;;;0; '101~Fan_SYS1#node.sensor.fan.speed.rpm'=4300rpm;;;0; '101~Fan_SYS2#node.sensor.fan.speed.rpm'=5100rpm;;;0; '101~Fan_SYS3#node.sensor.fan.speed.rpm'=4200rpm;;;0; '101~Fan_SYS4#node.sensor.fan.speed.rpm'=6600rpm;;;0; '101~Fan_SYS5#node.sensor.fan.speed.rpm'=5400rpm;;;0; '101~Fan_SYS6#node.sensor.fan.speed.rpm'=6500rpm;;;0; '101~Fan_SYS7#node.sensor.fan.speed.rpm'=5300rpm;;;0; '101~Volt_P12V#node.sensor.voltage.volt'=12.18V;;;; '101~Volt_P1V05#node.sensor.voltage.volt'=1.058V;;;; '101~Volt_P1V8_AUX#node.sensor.voltage.volt'=1.833V;;;; '101~Volt_P3V3#node.sensor.voltage.volt'=3.339V;;;; '101~Volt_P3V3_AUX#node.sensor.voltage.volt'=3.339V;;;; '101~Volt_P3V_BAT#node.sensor.voltage.volt'=3.161V;;;; '101~Volt_P5V#node.sensor.voltage.volt'=5.009V;;;; '101~Volt_P5V_AUX#node.sensor.voltage.volt'=5.009V;;;; '101~Volt_VR_CPU0#node.sensor.voltage.volt'=1.81V;;;; '101~Volt_VR_CPU1#node.sensor.voltage.volt'=1.81V;;;; '101~Volt_VR_DIMM_AB#node.sensor.voltage.volt'=1.22V;;;; '101~Volt_VR_DIMM_CD#node.sensor.voltage.volt'=1.22V;;;; '101~Volt_VR_DIMM_EF#node.sensor.voltage.volt'=1.22V;;;; '101~Volt_VR_DIMM_GH#node.sensor.voltage.volt'=1.22V;;;;
checking node '101' [ip address: 10.214.4.16]
node status: available, nic status: ok, san path status: rain, battery backup unit status: Healthy
space usage total: 13.58 TB used: 350.93 GB (2.52%) free: 13.24 TB (97.48%)

The command above monitors Hitachi HCP (--plugin=storage::hitachi::hcp::snmp::plugin --mode=nodes) identified by the IP address 10.30.2.114 (--hostname=10.30.2.114). As the Plugin is using the SNMP protocol to request the device, the related community and version are specified (--snmp-version='2c' --snmp-community='hcp_ro').

This command would trigger a WARNING alarm if space usage over 80% (--warning-space-usage-prct='80') and a CRITICAL alarm over 90% (--critical-space-usage-prct='90').

For each Plugin mode, all the options as well as all the available thresholds can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/centreon_hitachi_hcp_snmp.pl \
--plugin=storage::hitachi::hcp::snmp::plugin \
--mode=nodes \
--help

UNKNOWN: SNMP GET Request : Timeout​

If you get this message, you're probably facing one of these issues:

  • The SNMP agent of the device isn't started or is misconfigured
  • An external device is blocking the request (firewall, ...)

UNKNOWN: SNMP GET Request : Cant get a single value.​

This error message often refers to the following issues:

  • The Hitachi HCP device doesn't support the MIB used by the plugin
  • The targeted SNMP OID cannot be fetched because of insufficient privileges on the device. SNMP Agent must be capable of accessing to the enterprise branch Hitachi HCP: .1.3.6.1.4.1.116.5.46