Re: Agent returns table index

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 26 Aug 2010 16:16:13 +0200, Norasyikin MD Ali <[email protected]> said:

NMA> I've built a table using mib2citerate.conf template in the agent and I 
NMA> would like the agent to return an available index of the table to the 
NMA> NMS for SET purposes without the manager polling it.

The way this has been done for some MIBs is that the MIB will define a
scalar object that will return a free index into the table that the
manager can query.  You then need to implement the scalar and teach the
manager how to use it.

Other managers simply know how to find a slot themselves by looking
through the entire table for a blank spot.

It all depends on the type of table it is and what type of data it holds
and how it should be ordered.  Every problem likely has a different solution.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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.