Hi everybody,
I would greatly appreciate if you could help me with the following problem.
1) net-snmp v5.3.0.1 and the RMON2 subagent (auto-generated by mib2c using mib2c.table_data.conf) are running on Linux.
2) in order to get alMatrixSDOctets objects from alMatrixSDTable I use the following command:
snmpgetnext -v 2c -c public localhost 1.3.6.1.2.1.16.17.1.1.3.1.0.3
where the 0 represents a timestamp, and got the following response:
SNMPv2-SMI::mib-2.16.17.1.1.3.1.1766.3.4.10.16.77.8.4.10.16.76.8.10 = Gauge32: 1842,
where 1766 represents timestamp of the selected record in the alMatrixS DTable  table.
3) my goal is that this respond looks like this
SNMPv2-SMI::mib-2.16.17.1.1.3.1.0.3.4.10.16.77.8.4.10.16.76.8.10 = Gauge32: 1842,
Where 1766 is replaced by 0 that we have in the original request.
4) I checked the request->requestvb->name in the
alMatrixSDTable_handler(netsnmp_mib_handler *handler,
                        netsnmp_handler_registration *reginfo,
                        netsnmp_agent_request_info *reqinfo,
                        netsnmp_request_info *requests)
and discovered that request->requestvb->name is not equal to the original request oid; it has a value that in the alMatrixSDTable.
5) my questions are:
a) how could I get the original request oid ?
      b)does the time filltering work in this case?
Thanks a lot,
Stan


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to