index in netsnmp subagent

"Elias Bou Rahal" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

  I extended the snmpd agent by using the Dynamic Module Creation for the
net-snmp agent. and it s working very well, but now i want to add index to
the mibs. which procedures can i use to register the index of my mibs in
snmp agent. in example if this is the mib:

*jxmlsaiTable    OBJECT-TYPE
SYNTAX          SEQUENCE OF JXMLSAIEntry
ACCESS          read-only
STATUS          mandatory
DESCRIPTION     ""
::= { jar 3 }*


*jxmlsaiEntry   OBJECT-TYPE
SYNTAX         JXMLSAIEntry
ACCESS         read-only
STATUS         mandatory
DESCRIPTION ""
INDEX          { name }
::= { jxmlsaiTable 1 }*

I used before the index this function to register my counters
"register_mib()."

I am waiting ur response and i will be thankfull if u can give me an
example of  code on c.

Best Regards

   Elias

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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