For details about how to use the Net-SNMP command set, see
Using a MIB Browser
You can use a management information base (MIB) browser to query SNMP information.
Multiple MIB browsers are available. The MG-SOFT MIB browser is recommended. The
browser is a Windows graphical user interface (GUI) tool with the trap receiving function.
For details about how to download and use the MG-SOFT MIB browser, see
Common Problems
1.
SELinux may forbid Net-SNMP from accessing SSDs (
/dev/nvme*
) and cause the
ES3000 V3 SNMP module to function abnormally, so you need to change the SELinux
rights configuration.
2.
The firewall may cause failure to obtain SNMP and device information within the
Intranet. If the failure occurs, disable the firewall or modify the firewall settings.
3.
Before starting Net-SNMP, you can run the following command to check whether the
snmpd.conf file is loaded properly. If the file is not installed properly, the command
output reports an error.
#snmpd –Dread_config –H 2>&1 | grep "Reading" | sort -u
Example
If Net-SNMP 5.7 is used, use the
snmpd.conf
file provided by the ES3000 V3 to start the
snmpd program.
snmpd –d –Lo –c /opt/hio/snmpd.conf
Use the snmpwalk command tool to query ES3000 V3 through SNMP v2c.
snmpwalk -v 2c -c public localhost enterprises.2011.2.319
Or query through SNMP v3.
snmpwalk -v3 -u v3user -l auth -a MD5 -A Huawei123#$ 127.0.0.1 enterprises.2011.2.319
The following command output is an example:
# snmpwalk -Os -c public -v2c 127.0.0.1 enterprises.2011.2.319 -m ./HW-ES3000V3-
MIB.my
driverVersion.0 = STRING: "3.3.5.4"
cardCount.0 = INTEGER: 1
deviceIndex.1 = Gauge32: 1
deviceName.1 = STRING: "nvme0"
namespacesNumber.1 = INTEGER: 1
serialNumber.1 = STRING: "0503023HDCN107C80013"
modelNumber.1 = STRING: "HWE32P43012M000N"
firmwareVersion.1 = STRING: "1.82"
nvmeVersion.1 = STRING: "1.2"
deviceStatus.1 = STRING: "warning"
criticalWarning.1 = STRING: "the NVM subsystem reliability has been degraded due
to significant media related errors or any internal error that degrades NVM
subsystem reliability"
compositeTemperature.1 = STRING: "328 degree K (55 degree C)"
maxCapacity.1 = Gauge32: 1200
currentCapacity.1 = Gauge32: 1200
dataUnitsRead.1 = STRING: "27.8MB"
dataUnitsWritten.1 = STRING: "18060.0MB"
availableSpare.1 = INTEGER: 100
ES3000 V3 NVMe PCIe SSD
User Guide
C SNMP Function
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
178