Re: snmp v3 traps

jayshankar nair <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CACdxR1QY3jxXbp4Cqp8CfRvTjYUdye6TqTvVQg5w0yexx7saZw@mail.gmail.com>
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 <[email protected]> wrote:

> On Tue, Jan 2, 2018 at 3:44 AM, jayshankar nair <[email protected]
> > 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.