Hello,
For educational purposes, I have set up a Zabbix lab to monitor the NetApp Data ONTAP Simulator, which is essentially a virtual machine mimicking a NetApp NAS Cluster.
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "2024-09-16T08:42:37-0400 PDU INFO:
receivedfrom UDP: [172.16.4.11]:161->[172.16.3.42]:162
transactionid 4
version 0
errorstatus 0
notificationtype TRAP
community public
requestid 0
messageid 0
errorindex 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (2424500) 6:44:05.00
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: NETAPP-MIB::appTrap
NETAPP-MIB:ProductTrapData.0 type=4 value=STRING: "SNMPTEST: SNMPTEST SNMPTEST: (11) SNMPTEST: SNMPTEST"
NETAPP-MIB:ProductSerialNum.0 type=4 value=STRING: "1-80-000011"
SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 172.16.4.11
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "public"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: NETAPP-MIB::netapp"
This is what I tried so far:
Regards
For educational purposes, I have set up a Zabbix lab to monitor the NetApp Data ONTAP Simulator, which is essentially a virtual machine mimicking a NetApp NAS Cluster.
- I have set up the snmptrap.fallback item for the Zabbix server
- I have added a host object to Zabbix with the snmptrap.fallback item using the IP addresses of the two Simulator nodes
- I have linked the NetApp AFF A700 by HTTP template to the host object and successfully are able to pull all metrics from the simulator
- test traps are written successfully to /tmp/zabbix_traps.tmp for both local (snmptrap command) and remote traps (sending test traps from the Simulator)
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "2024-09-16T08:42:37-0400 PDU INFO:
receivedfrom UDP: [172.16.4.11]:161->[172.16.3.42]:162
transactionid 4
version 0
errorstatus 0
notificationtype TRAP
community public
requestid 0
messageid 0
errorindex 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (2424500) 6:44:05.00
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: NETAPP-MIB::appTrap
NETAPP-MIB:ProductTrapData.0 type=4 value=STRING: "SNMPTEST: SNMPTEST SNMPTEST: (11) SNMPTEST: SNMPTEST"
NETAPP-MIB:ProductSerialNum.0 type=4 value=STRING: "1-80-000011"
SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 172.16.4.11
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "public"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: NETAPP-MIB::netapp"
This is what I tried so far:
- changing the host's SNMP interface from SNMPv2c to SNMPv1 (because ONTAP only supports v1 and v3)
- tried to change the $DateTimeFormat in zabbix_trap_receiver.pl from '%Y-%m-%dT%T%z' to $DateTimeFormat to '%Y-%m-%dT%H:%M:%S%z' because maybe the timestamp within the trap is malformed
Regards
Comment