Thanks for the reply.

The agent is based on the Net-SNMP 5.1.2. 
Your reply confirmed that there's not much change in agent side other than to 
set --with-default-snmp-version=3, to include the V3 mibs such as: 
SNMP-TARGET-MIB.txt , SNMP-USER-BASED-SM-MIB.txt , SNMP-VIEW-BASED-ACM-MIB.txt, 
(may be the configure option automatically includes these), and the application 
- snmpv3, target. 

The manager (client) is an inherited in house application to monitor the 
interface counter, CPU and memory usage. It takes the configuration from front 
end UI then insert to the schedule for polling by the defined interval 
constantly. The in house library call the snmp_sess_init , snmp_sess_open , 
snmp_sess_session , read_objid , snmp_add_null_var , snmp_sess_synch_response , 
snmp_sess_close etc. to get the values of desired counters. I guess to make it 
work with V3 the security data such as username, authentic key, and private key 
(parameters required by V3 application - snmpget, snmpwalk, etc.) are needed 
and passed to the structure in the pdu, correct?  So all I need to do is to 
find out the V3 specific fields in the pdu structure and fill them up, correct? 
How about the engine ID, authprotocal, and privprotocal?

Thanks,
Jim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield
Sent: Wednesday, December 14, 2005 12:38 AM
To: Jim Su
Cc: Net-Snmp-Users
Subject: Re: migrate from V2 to V3

On Fri, 2005-12-02 at 17:53 +0800, Jim Su wrote:
>     I have one SNMP manger and SNMP agent only work for V1 and V2.

Is this agent based on the Net-SNMP agent?
Or something else?


> What is your recommended approach that I can take to migrate
> the existing codes to support V3? The Net-SNMP version is 5.1.2.

The Net-SNMP agent can support all three versions of SNMP.
No changes are needed to your MIB module code whatsoever.
^^^^^^^^^^

If you've got a Net-SNMP MIB module that works with SNMPv1
and SNMPv2c, then it will work with SNMPv3 as well.


>      Normally how long it takes to migrate from V2 to V3?

About a minute.
Mostly spent creating the necessary SNMPv3 users, and
restarting the SNMP agent.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 2005/12/9

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 2005/12/13
 

Reply via email to