AgentX bug?

X Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

Hi,
I added two scalars to NET-SNMP-EXAMPLES MIB: MyVal1 and MyVal2 which are ASN_COUNTER64 type. And I wrote an AgentX subagent to answer snmpget requests for the two Counter64 scalars.
A snmpget on a single OID can return the correct value.
For example:
snmpget -v2c -c public xxx NET-SNMP-EXAMPLES-MIB::MyVal1.0
OID1 = 327990
snmpget -v2c -c public xxx NET-SNMP-EXAMPLES-MIB::MyVal2.0
OID2 = 78890

A snmpget on two OIDs returned errors.
snmpget -v2c -c public xxx NET-SNMP-EXAMPLES-MIB::MyVal1.0 NET-SNMP-EXAMPLES-MIB::MyVal2.0  gives the following error:
Error in packetReason: (genError) A general failure occuredFailed object: NET-SNMP-EXAMPLES-MIB::MyVal1.0
If I changed both scalars to Integer32 or Unsigned32, everything worked just fine. 
Is it a bug in AgentX handling snmpget on multiple Counter64 object? Where should I report it?
ThanksXuan

 		 	   		  
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy. 		 	   		  
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  Get busy. 		 	   		  
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

------------------------------------------------------------------------------

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