Hi,
authuser log traptest statement is included in snmptrapd.conf file
more snmptrapd.conf
createUser -e 0x8000000001020304 traptest SHA mypassword AES authuser log
trapte
st
Why it is displaying below errors in
snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
Thanks,
Jayshankar
On Wed, Jan 3, 2018 at 2:26 AM, Bill Fenner <fen...@gmail.com> wrote:
> On Tue, Jan 2, 2018 at 3:44 AM, jayshankar nair <jayshankar.n...@gmail.com
> > wrote:
>
>> Hi,
>>
>> I am not receiving any snmp v3 traps while running snmptrapd daemon.
>>
>> snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
>> Warning: no access control information configured.
>> (Config search path: /usr/local/etc/snmp:/usr/local
>> /share/snmp:/usr/local/lib/snmp:/root/.snmp)
>> This receiver will *NOT* accept any incoming notifications.
>> NET-SNMP version 5.7.1
>> ------------------------------------------------------------
>> -----------------------------------
>> more snmptrapd.conf
>> createUser -e 0x8000000001020304 traptest SHA mypassword AES authuser log
>> trapte
>> st
>> ------------------------------------------------------------
>> ----------------------------------
>>
>> snmptrap -v 3 -n "" -a SHA -A mypassword -x AES -X mypassword -l authPriv
>> -u traptest -e 0x8000000001020304 localhost 0 linkUp.0
>>
>>
>> ------------------------------------------------------------
>> ----------------------------------------------
>>
>> Please let me know the issue.
>>
>
> snmptrapd attempted to tell you the issue:
>
> * Warning: no access control information configured.*
>
> You need to use the "auth*" directives to configure snmptrapd what types
> of traps are allowed to be sent by what user. Perhaps something like
>
> authUser log traptest
>
> Obviously, if you want to allow "execute" or "net" permissions, you have
> to specify those instead/also.
>
> Bill
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users