Re: Weird behavior when setting trap destination with same username asthe agent username

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/6/25 Mike Ayers <[email protected]>:

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