SNMP returning a spareStatus value of unknown(4) for ADP disk spares
Applies to
- ONTAP 9
- Simple Network Management Protocol (SNMP)
- Advanced Disk Partitioning (ADP)
Issue
- ONTAP returns a
spareStatus
of 4 for ADP spare disks:
[root@LinuxHost ~]# snmpwalk -v3 -l AuthPriv -u 'zabbix' -a SHA256 -A "abcd:A-bcde" -x AES128 -X "abcd:A-bcde" 192.168.1.1 1.3.6.1.4.1.789.1.6.3.1.3.1
SNMPv2-SMI::enterprises.789.1.6.3.1.3.1 = INTEGER: 4
- Looking at the
netapp.mib
file, a status ofspare(1)
would be expected instead ofunknown(4)
:
spareStatus OBJECT-TYPE
SYNTAX INTEGER {
spare(1),
addingspare(2),
bypassed(3),
unknown(4),
offline(10)
}