[AGENT++] Need help with certain design
Frank Fock
fock at agentpp.com
Tue Aug 17 23:02:19 CEST 2010
Hi Reetesh,
You can use MibComplexEntry for that.
Best regards,
Frank
On 17.08.2010 22:17, Reetesh Ranjan wrote:
> - I need to register for a subtree OID e.g. x.y.1 such that I can
> receive and process SET and GETNEXT request for OIDs like x.y.1.100,
> x.y.1.135 etc.
> - I need to modify the OID in the GETNEXT response e.g. if GETNEXT
> REQ had a VB for x.y.1.135, I want to change the VB in the GETNEXT REP
> to x.y.1.136.
>
> I am not able to achieve above with MibLeaf and MibTable. I used
> examples/search on forum emails; but can't seem to get the direct
> answer. I don't want to go AgentX or any solution that involves
> multiple processes. Could you please help me with this?
>
> I have done a working example earlier for SET and GET with a scalar
> OID x.y.1 earlier, so that SET/GET with the OID x.y.1.0 work fine.
> This was using a derivation of MibLeaf and standard loop in a thread
> to listen and process SNMP requests following the agent++ examples to
> do the same.
>
> Thanks,
> Reetesh
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list