> I have tried to determine why a SNMPD.CONF file does not work on a
> SNMP V3 authentication setup in the following file.


> createUser tester1 MD5 testpasswd DES
> createUser tester2 MD5 testpass DES

Alexander was correct in saying that these entries would normally
be placed in the /var/net-snmp/snmpd.conf file, but I don't think
that's the cause of your problem.

I'm suspicious about the following lines:

> view    view1   included   system 0
> view    view2   included   interfaces 0

In particular, that final '0'
You seem to be specifying a mask that actually ignores the whole
of the view that you're trying to set up!

Try with

  view    view1   included   system
  view    view2   included   interfaces

instead.


Other comments:


> com2sec tester1 default  public
> com2sec tester2 default  public

You don't need these two lines.
The "com2sec" directive is *ONLY* relevant to SNMPv1/2c requests.
It's completely unnecessary for SNMPv3/USM requests.

(And given that you've also got a "rocommunity public" entry,
 you're actually giving *three* separate instructions as to how
 to handle the community string "public".  No wonder the poor
 agent is getting confused!)

 
> trapsink  192.168.1.3 public
> trap2sink 192.168.1.3 public

I don't think you want both of these lines either.
That means that *every* trap generated by the agent will be
sent twice - once as a v1 trap, and once as a v2 trap.
Choose one or the other - not both.

Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.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/listinfo/net-snmp-users

Reply via email to