Ok, this just in from a couple of musty neurons that have been twiddling their synapses for the past quarter century:
In SNMPv1, there are 6 generic traps, numbered 0 through 5 (coldStart, warmStart, linkDown, linkUp, authenticationFailure, and egpNeighborLoss), and an enterprise-specific trap (numbered 6) where the "what is this trap" is a function of the trap OID, and specifc-trap field (14, in your case).
https://www.ibm.com/docs/en/zos/2.2.0?topic=commands-snmp-trap-types
------------------------------
José Pina Coelho
IT Specialist at Kyndryl
------------------------------
Original Message:
Sent: Mon October 25, 2021 01:00 PM
From: Steve Munday
Subject: net-snmp on AIX 7.1
** Update **
Found I needed to install net-snmp-utils which now gives me snmptrap in /opt/freeware/bin.
I then tried the below taken, in the main, from our existing SysEDGE "call" [I'm unsure of the "6 14" and wonder if its a SysEDGE specific item]
/opt/freeware/bin/snmptrap -v 2c -c <community> <host>:162 \1.3.6.1.4.1.546.14.1.1 6 14 \1.3.6.1.4.1.546.14.1.1 "SAP_AIX_MONITOR" \1.3.6.1.4.1.546.14.1.3 " net-snmp " \1.3.6.1.4.1.546.14.1.4 "3" \1.3.6.1.4.1.546.14.1.8 "<Service Manager queue name>" \1.3.6.1.4.1.546.14.1.9 " Demo ticket to see if net-snmp Open Source works "
However I get
Created directory: /var/net-snmpCreated directory: /var/net-snmp/mib_indexes14: Bad variable type ("1")#
Will keep digging.
Thanks, Steve
------------------------------
Steve Munday
AIX, IBM i, HMC, PowerVM
------------------------------