Re: snmptrap v3 problem

This is a discussion on Re: snmptrap v3 problem within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --------------050305030505020408050500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-03-2007
Jeddylyn A. Ortilla
 
Posts: n/a
Default Re: snmptrap v3 problem

This is a multi-part message in MIME format.
--------------050305030505020408050500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello
Good Afternoon!


Thank you for your reply.

I added authuser directive in snmptrapd.conf.
authuser log,execute,net myuser
Sending and receiving of snmptrap v3 worked.


Thank you very much.

Best Regards,



Mike Ayers wrote:
>> From: net-snmp-users-bounces@lists.sourceforge.net
>> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
>> Behalf Of Jeddylyn A. Ortilla
>> Sent: Sunday, September 02, 2007 9:01 PM
>>

>
>
>> 1. snmpinform -d -Ddump -e 0x0102030405 -v 3 -c public -u
>> myuser -a MD5
>> -A mypasswd -l authNoPriv -x DES -X myotherpasswd localhost ""
>> .1.3.6.1.6.3.1.1.5.1
>> Result:
>> - snmpinform: Timeout
>> - trap is not logged in syslog
>>

>
> Rule of thumb: send traps before attempting informs. There are ways that informs can fail that traps cannot.
>
>
>> 2. snmptrap -d -Ddump -e 0x0102030405 -v 3 -c public -u
>> myuser -a MD5 -A
>> mypasswd -l authNoPriv -x DES -X myotherpasswd localhost ""
>> .1.3.6.1.6.3.1.1.5.1
>> Result:
>> - snmpinform: Timeout
>> - trap is not logged in syslog
>>

>
> Problems:
>
> 1) You are specifying a community string for v3. This is harmless but silly.
>
> 2) You are specifying priv parameters for authNoPriv security. This is harmless but silly.
>
> 3) You are specifying sysUpTime as "". This may or may not cause problems.
>
> 4) (the biggie) You are getting a timeout from the snmptrap command. Looks like you've got it aliased to "snmpinform", as that's how it reports its name back.
>
>
>> --------------------------
>> Configuration Files.
>> 1. Contents of snmpd.conf
>> ...
>> rocommunity public
>> rwcommunity public
>> rwuser myuser
>> rouser myuser
>> ...
>>

>
> Do not give both "rwuser" and "rouser" directives for the same user. Either the user can write or not - not both.
>
>
>> 2. Contents of snmptrapd.conf
>> #traphandle settings
>> ignoreauthfailure no
>> disableAuthorization no
>> authcommunity log,execute,net public
>>

>
> You will need authUser directives to receive v3 traps.
>
> There is a sizable gap between v1/v2c traps and v3 notifications. There's a good starting point in the tutorials:
>
> http://net-snmp.sourceforge.net/wiki...nmptrap_SNMPv3
>
> Note that sending and receiving v3 notifications is easily the most challenging aspect of SNMP, and often frustrates veterans, so take your time. I highly recommend you take as many of the tutorials as possible, and also read RFCs 2570 and 2571, which explain the v3 architecture, which differs radically from its predecessors.
>
>
> HTH,
>
> Mike
>
> P.S. Don't send questions like this to the coders list.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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/...net-snmp-users
>
>
>


--------------050305030505020408050500
Content-Type: text/x-vcard; charset=utf-8;
name="jortilla.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="jortilla.vcf"

begin:vcard
fn:Jeddylyn A. Ortilla
n:Ortilla;Jeddylyn A.
org:NEC Telecom Software Philippines, Inc.;Design Engineering
email;internet:jortilla@ntsp.nec.co.jp
title:Software Senior Engineer
tel;work:+632-818-0913
tel;fax:+632-818-0927
tel;cell:+63-917-801-3534
version:2.1
end:vcard


--------------050305030505020408050500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--------------050305030505020408050500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--------------050305030505020408050500--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0