On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > The snmpd is actually timing out (most of the times, crash sometimes) when I > use snmpget for two Counter64 variables.
Does querying these two variables individually work correctly? How are these object implemented? Scalars, or table objects? Which helper? > 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. This is implemented as a subagent, then? Can you try compiling the module into the main snmp (master) agent. Does the problem remain? > I have coded Counter64 variables using the 'struct counter64' and filling > its members high and low. I have passed the args for > snmp_set_var_typed_value as (u_char*) and the size as 8. It's probably safer to use "sizeof(struct counter64)". That may well be 8, but better safe than sorry. 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
