Hello all,
I have problems with SNMP traps from HP switches.
Although I put all MIB files from HP in the /usr/share/snmp/mibs folder, in some cases I only get the numeric OID representation and not the name for an SNMP trap.
Does anyone have any ideas here?
My Configuration:
Debian 10 with Zabbix 5.4
/etc/snmp/snmp.conf
All Originals HP Files (205 Files) are in the following Folder:
/usr/share/snmp/mibs
net-snmp-config --default-mibdirs
Thanks in advance!
If someone still has a hint for me where I can find an overview of the possible traps... I would be very happy!
I have all the files, but which traps there are or which are interesting for me, I have not found out yet.
So far I can only use snmptrap.fallback....
Best regards
Daniel
I have problems with SNMP traps from HP switches.
Although I put all MIB files from HP in the /usr/share/snmp/mibs folder, in some cases I only get the numeric OID representation and not the name for an SNMP trap.
Does anyone have any ideas here?
Code:
14:35:25 2021/07/20 ZBXTRAP 172.19.16.2 PDU INFO: receivedfrom UDP: [172.19.16.2]:161->[172.19.3.186]:162 version 0 notificationtype TRAP messageid 0 transactionid 6666 community zabbixtrap errorindex 0 errorstatus 0 requestid 0 VARBINDS: DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (1554452032) 179 days, 21:55:20.32 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.0.1 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.1.8.0 type=2 value=INTEGER: 1 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.1.6.0 type=2 value=INTEGER: 5 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.1.26.0 type=2 value=INTEGER: 2 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.12.2.1.9.1 type=66 value=Gauge32: 0 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.1.27.0 type=2 value=INTEGER: 1 SNMPv2-SMI::enterprises.11.2.14.11.5.1.19.1.28.0 type=4 value=Hex-STRING: AC 13 18 7C SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 172.19.16.2 SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "zabbixtrap" SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: SNMPv2-SMI::enterprises.11.2.14.11.5.1.19
Debian 10 with Zabbix 5.4
/etc/snmp/snmp.conf
Code:
# As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can reenable # loading them by commenting out the following line. # mibs +ALL
/usr/share/snmp/mibs
net-snmp-config --default-mibdirs
Code:
root@Zabbix:/usr/share/snmp/mibs# net-snmp-config --default-mibdirs /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
If someone still has a hint for me where I can find an overview of the possible traps... I would be very happy!
I have all the files, but which traps there are or which are interesting for me, I have not found out yet.
So far I can only use snmptrap.fallback....
Best regards
Daniel