This worked. Once I set that I started getting unknown traps, the MIB browser I'm using shows the OID as .1.3.6.1.4.1.1418.4.5 but it was received as .1.3.6.1.4.1.1418.4.0.5. Modified the snmptt.conf file entry for that OID and tried ugain, still had it show up in unknown so I compared snmptt.ini on the test server and the production server and found that dns_enable was set to 0 instead of 1 on the production server. Fixed that, restarted the snmptt service and had traps coming in.tgriep wrote:I think I found the issue. The settings in the snmptrapd.conf file are incorrect to they are not getting passed from the snmptrapd daemon to the snmptt daemon correctly.
Can you edit the /etc/snmp/snmptrapd.conf file
Delete the following lineand uncomment the following lineCode: Select all
traphandle default /usr/local/bin/snmptraphandling.py
#traphandle default /usr/sbin/snmptthandler
Save the file and restart the snmptrapd daemon by running the followingTry that and see if this works for you.Code: Select all
service snmptrapd restart
Thanks guys, I must have changed these settings when I was troubleshooting long ago. Appreciate the help as always.