On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: >> How are these object implemented? Scalars, or table objects? > These variables are implemented as scalars. >> Which helper? > I am sorry that I could not understand this question.
What does the code of your "init" routine look like? > > I have also tried using the same counter64 variable twice. > > snmpget -c public -v 2c localhost firstCounter64Var.0 firstCounter64Var.0 > > > > I see that the subagent is receiving multiple gets for the first variable > > and no gets for the 2nd variable. If these are scalar objects, then the request will probably be "serialised" by the master agent, so the two varbinds would be processed individually. This means that the subagent would receive two separate GET requests. But these should obviously refer to the two variables that have been requested. > Yes, this is immplementd as subagent, I need to search in the forum for > making my code as main agent. You shouldn't need to change the code at all. Just copy the .c and .h file into the source tree, in the "agent/mibgroup" directory. Then run "configure --with-mib-modules=myfile" (assuming the module files are "myfile.[ch]"), and re-compile. There are other ways of doing this, but that's probably the simplest. Dave ------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
