I answer myself.
As it is rode in the manpage of snmptrapd.conf, it is said that "with release
5.3, access control checks will be applied to
incoming notifications".
So an authorize directive such as "disableAuthorization yes" is necessary .
However, to authorize only my created user and to make a more accurate config,
it is better to use authUser directive. Then I have :
createUser -e 0x80...0 bob MD5 myAuthPassword DES myEncryptionKey
authUser log bob priv 1
see snmptrapd.conf for details of authUser directive.
________________________________
De : "kwyde-...@yahoo.fr" <kwyde-...@yahoo.fr>
À : "net-snmp-users@lists.sourceforge.net"
<net-snmp-users@lists.sourceforge.net>
Envoyé le : Mardi 23 avril 2013 15h06
Objet : traps handling
Hello,
I am using a proprietary network management software which uses snmptrapd
daemon of net-snmp to handle traps sent by devices. I am facing a weird problem
though
When I set line of this type in snmptrapd.conf :
createUser -e 0x80...0 bob MD5 myAuthPassword DES myEncryptionKey (and i'm sure
of all the ids)
trap snmp are not handled by the software.
I realised that I have to add disableAuthentication directive to make it work.
Then I have :
disableAuthentication yes
createUser -e 0x80...0 bob MD5 myAuthPassword DES myEncryptionKey
If I remove the second line, It does not work. And If I replace it with
createUser bob MD5 myAuthPassword DES myEncryptionKey
It does not work neither.
So how can I debug this weird behavior ? I would like to authorise only given
user with given deviceID and not using disableAuthentication directive.
Thank you for taking my request into consideration.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
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
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
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