Hi,
I have a requirement to performe various processing for each parameter received in a PDU. I am using NetSNMP as an EMS agent (mid level agent), and when I receive a SET Request from higher level manager, I need to SET the data on the lower level component.
I am currently handling a PDU by building a buffer in the RESERVE1 and RESERVE2 passes, and sending the buffer to to lower level component in the COMMIT pass.
The problem is when I receive a PDU containing 2 tabular parameters, followed by 1 scalar parameter, followed by 1 tabular parameters. The processing is done in the order
TABULAR 1 RESERVE1
TABULAR 2 RESERVE1
TABULAR 3 RESERVE1
TABULAR 4 RESERVE1
TABULAR 1 RESERVE2
TABULAR 2 RESERVE2
TABULAR 3 RESERVE2
TABULAR 4 RESERVE2
SCALAR RESERVE1
SCALAR RESERVE2
so that all the tabular parameters are handled before the scalar parameter is handled, even though the scalar was the third parameter.
I require my processing to be performed in the order -
TABULAR 1 RESERVE1
TABULAR 2 RESERVE1
TABULAR 3 RESERVE1
TABULAR 4 RESERVE1
SCALAR RESERVE1
SCALAR RESERVE2
TABULAR 1 RESERVE2
TABULAR 2 RESERVE2
TABULAR 3 RESERVE2
TABULAR 4 RESERVE2
as I need to perform some custom handling on all tabular parameters received before the scalar parameter.
Please let me know if there is any way to determine the order of the parameters in the PDU, irrespective of the type of parameter (scalar or tabular). Although I have not checked, but this descripancy may also be due to different files being generated for the different types of parameters.
Thanks in advance,
Anjali
------------------------------------------------------------------------- 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-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users