Shammer's Philosophy

My private adversaria

Resolve the message "No access configuration" of snmptrapd

In my article written at a couple of day ago, I could configure to receive snmp trap from other network devices or softwares. But, my configuration was not sufficient because of the message "No access configuration - dropping trap".

This message was caused by insufficient configuration about the authentication. In detail, we should enable authentication configuration in /etc/snmp/snmptrapd.conf. If snmp community is clear, define those community as an authCommunity like below. In this example, snmptrap of public community can be received without logging "No access configuration".

#
# PLEASE: read the snmptrapd.conf(5) manual page as well!
#
#authCommunity log,execute,net private 
authCommunity log,execute,net public

If community is not defined explicitly, we can disable authorization by adding following line to /etc/snmp/snmptrapd.conf.

disableauthorization yes