On Sat, 15 Apr 2023 at 11:12, Simon Chamlian <simon.chaml...@mpbc.ca> wrote:
> > snmptrap -v 3 -u Simon -a MD5 -A SimonPass -l authNoPriv 172.27.37.227 > "" coldStart.0 > > I do receive the trap on my Trap Receiver even if I didn't specify a > Username and Authentication password in the MIB browser (on 172.27.37.227 ) > ! > Do you mean the security name instead of the username? The -u sets the security name, -A sets the authentication password. They're set in the example you gave. Or are you saying that you tried that command without the username and authentication password? If so, are you sure that you don't have those parameters set in an snmp configuration file? Trying the command with -Dread_config:line may help here. I tried snmptrap 5.9.3 with no -u and -A flags and with/without a configuration file and it only worked with the configuration file. - Craig
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders