about net-snmp not restore data and get data from traffic porcess every time when recv a snmp message form MANAGER?

daily study <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello, all

  I must use net-snmp as agent in this style.

  traffic process1<----(private protocol)----->agent process<--------(snmp
protocol)------->manager
                                                               |
  traffic process2<----(private protocol)-------->

 Traffic processes and agent process are in one computer, and manager in
another computer.
Agent process does not save any real data and only convert the snmp oid to
private_id used in traffic process.
Agent get/getnext/set real data from traffic processes every time when agent
receive get/getnext/set snmp message from manager.
I think agent will  send (message type, private_id1, private id2,....) to
traffic process when agent receive snmp message from manager.(private id
will be converted from OID, message type including GET/GETNEXT/SET )
and agetn will  send  real snmp message to manager when agent receive
(message type, private_id1, private id2,....) from traffic process (private
id will be converted to OID ,message type including RESPONSE/ TRAP).

my questions are:
  1. I want to use net-snmp  as such agent, Could i use net-snmp in the
model above ? How to use net-snmp?  Could give me some examples in such
model?
  2. I find i may use send_v2trap api to send  snmpv2 trap to manager. Is it
right?
  3. How and where i can get OID from snmp message from manager?
  4. How can i make a snmp message to manager when i receive private
procotol message from traffic process ? which API in net-snmp i can use to
send this RESPONSE message to manager?

another question:
 5.  In snmp normal model, is it ture that agent MUST have the real data of
all OID in defined MIB and agent MUST get real data from traffic process
periodical ?

 my qq: 65205529, email :  [email protected]

  please help me!!!

 thanks a lot.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

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