Re: snmp v3 traps
Bill Fenner <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAF4SogbbKcYCJO_z0sY7-iHc39fwUK7oeT3ZjJSq_baXv=2jLw@mail.gmail.com> |
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