2009/6/25 Mike Ayers <mike_ay...@tvworks.com>:

>> My /etc/snmp/pvgsnmpd.conf contains the following 2 lines only:
>> ###########################
>> sysservices 1
>> rwuser admin  noauth
>> ###########################
>>
>> And before running the agent for the first time I wrote the
>> following to my /var/lib/net-snmp/pvgsnmpd.conf :
>> ###########################
>> createUser admin MD5 "administrator"
>> ###########################
>
>        Whoa!  That's two "admin" users


Errr... no.
That's the correct configuration (assuming that the second
file is in the persistent configuration directory - I'd normally
expect this to be in /var/net-snmp/snmpd.conf).

The createUser line is used to define the name of an SNMPv3
user (including algorithm and password information).  The rwuser
line is used to specify what access this user should have.
   Both entries are necessary.


It does sound as if something odd is going on in general,
but there's nothing wrong with these particular entries.


I haven't had a chance to look at the trapsess behaviour yet,
but my guess is that this might need to specify an explicit
engineID for correct operation.
  Dave - it would be useful to have some details about how
you have configured users on the trap receiver.
   SNMPv3 notifications are notoriously difficult to get right!
See http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3
for more information.


Dave

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