Re: [SUSPECTED SPAM] Error in snmp trap

Nevadita Chatterjee <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJSLEmwUx1nOSQSwKREjTQs4OZRMT+R-DbeL24CkZAzupHcbdA@mail.gmail.com>
Hi,
  I have tried the option as suggested by you
snmptrap -v 3 -n "" -a SHA -A "myauthentication" -x AES -X "mypassword" -l
authPriv -u myuser2 -e 0x80001f88800b022f443c4f695b00000000 localhost 0
NOTIFICATION-TEST-MIB::demo-notif >&
/home/ubuntu/TRAPS/logs_nevadita/client_log

but the error is same
snmptrapd: input: a7
trace: snmp_input(): snmptrapd_handlers.c, 1038:
snmptrapd: Trap OID: UCD-SNMP-MIB::ucdavis.991.17
trace: snmp_input(): snmptrapd_handlers.c, 1064:
snmptrapd: Running auth trap handlers
trace: netsnmp_trapd_check_auth(): snmptrapd_auth.c, 186:
*snmptrapd:auth: Comparing auth types: result=0, request=0, result=1*
*No access configuration - dropping trap.*
trace: _sess_read(): snmp_api.c, 6100:


Also below is my /etc/snmp/snmptrapd.conf
createUser -e 0x80001f88800b077f443c4f695b00000000 myuser1 SHA mypassword
AES
#authuser log myuser1
createUser -e 0x80001f88800b022f443c4f695b00000000 myuser2 SHA
myauthentication AES mypassword
authUser log,execute myuser2 noauth
#authCommunity log comunity
authCommunity execute myuser2 noauth
authGroup execute myuser2 noauth
authAccess execute myuser2 noauth
trapcommunity myuser2
snmpTrapdAddr udp:127.0.0.1:162
traphandle default /home/ubuntu/TRAPS/trapscript.sh


Please help I am trying this very hard

*Nevadita Chatterjee*

On Thu, Aug 9, 2018 at 5:12 PM, Kaleemulla Sharief (kasharie) <
[email protected]> wrote:

> Shouldn’t that be authPriv? since you are passing both auth and priv
> details
>
>
>
> Thanks,
>
> --Kaleem
>
>
>
> *From: *Nevadita Chatterjee <[email protected]>
> *Date: *Thursday, 9 August 2018 at 5:08 PM
> *To: *"[email protected]" <net-snmp-users@lists.
> sourceforge.net>
> *Subject: *[SUSPECTED SPAM] Error in snmp trap
>
>
>
> I am Sending a SNMPv3 trap from local host
>
> snmptrap -v 3 -n "" -a SHA -A "myauthentication" -x AES -X "mypassword" -l
> noauthNoPriv -u myuser2 -e 0x80001f88800b022f443c4f695b00000000 localhost
> 0 NOTIFICATION-TEST-MIB::demo-notif
>
>
>
> The snmptrapd is receiving the trap and giving below error
>
> trace: snmp_input(): snmptrapd_handlers.c, 1064:
>
> snmptrapd: Running auth trap handlers
>
> trace: netsnmp_trapd_check_auth(): snmptrapd_auth.c, 186:
>
> *snmptrapd:auth: Comparing auth types: result=0, request=0, result=1*
>
> *No access configuration - dropping trap.*
>
>
>
> How to get rid of the bold error. I am trying from 2 days
>
> Thanks in advance for the help
>
>
> *Nevadita Chatterjee*
>

------------------------------------------------------------------------------
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.