RE: counter64 objects and AgentX problem

X Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
No, it doesn't work with snmpbulkget. From the response, it seemed to me that after OID1 failed, snmpbulkget didn't send the request for OID2.
snmpbulkget -v2c -c public xxx OID1 OID2 gives the following error:
Error in packetReason: (genError) A general failure occuredFailed object: OID1

I am sure that the problem is related to COUNTER64 type. Since I tried Integer or Unsigned32 OIDs, there was no error.
snmpget -v2c -c public xxx OID3 OID4OID3 = 1OID4 = 10
Where OID3 is Integer32 and OID4 is Unsigned32.
I also tried the followingsnmpget -v2c -c public xxx OID3 OID1OID3 = 1 OID1 = 327990
snmpget and snmpbulkget only gave errors when both OIDs are of type COUNTER64. It sounds very weird to me and I couldn't figure it out where is wrong.
ThanksXuan

> Subject: Re: counter64 objects and AgentX problem
> To: [email protected]
> CC: [email protected]
> From: [email protected]
> Date: Fri, 14 May 2010 15:38:46 -0500
> 
> Does it work with snmpbulkget?
> 
> 
> Kathy McLeod
> Dept S82  CCB - SNMP
> IBM Rochester, MN
> (507) 253-4803
> 
> 
>                                                                            
>              X Z                                                           
>              <[email protected]>                                               
>                                                                         To 
>              05/14/2010 03:30          <[email protected] 
>              PM                        et>                                 
>                                                                         cc 
>                                                                            
>                                                                    Subject 
>                                        counter64 objects and AgentX        
>                                        problem                             
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> 
> Hi,
> 
> I ran the AgentX subagent to answer the queries for OID1 and OID2 which are
> ASN_COUNTER64 type.
> 
> A snmpget on a single OID can return the correct value.
> 
> For example:
> 
> snmpget -v2c -c public xxx OID1
> 
> OID1 = 327990
> 
> snmpget -v2c -c public xxx OID2
> 
> OID2 = 78890
> 
> 
> A snmpget on two OIDs returned errors.
> 
> snmpget -v2c -c public xxx OID1 OID2  gives the following error:
> 
> Error in packet
> Reason: (genError) A general failure occured
> Failed object: OID1
> 
> OID2 = No Such Object available on this agent at this OID
> 
> Anyone has a clue what caused snmpget failed on multiple COUNTER64 values?
> 
> Thanks
> Xuan
> 
> 
> 
> 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.
> ------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> 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
> 
> 
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3

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

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