Dave Shield wrote: > 2009/8/3 Sathish Babu <[email protected]>: > >> My requirement is to get the stream of 16 bit integer from an Agentx >> subagent. The size of the stream is variable. >> > > Can you expand a bit on exactly what you are trying to model here. > > If this is effectively an array of integer values, then SNMP would > normally structure this as a table, containing an integer-based column. > > That may or may not be suitable for your requirements, but we'd > need to know a bit more detail of what you are trying to do, > before we could offer sensible suggestions. > > Dave Hi Dave,
Thank you for the suggestion. The snmp agent is developed to access a particular chip from remote. This chip is accessible by means of the messaging from the CPU which runs the snmp agent. We have mapped the individual message ids to a mib. So a subagent receives the Set/Get for a particular mib. Then he will build the message and communicate with the chip and receive the response. This response need to be sent to the snmp master as a response to snmp Get request. The reply from the chip is the array of short integers and parsing this message is responsibility of the application on the master side. Hence I would like the snmp subagent to pass the short integer array to the master. Please suggest me which type should I use for this purpose. Thanks & Regards, Sathish. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
