[AGENT++] Nice to meet you, all.
Jochen Katz
katz at agentpp.com
Mon Jan 11 22:00:06 CET 2010
Hi,
either you are mixing agent and manager functionality or I just don't
understand your question.
For the manager you only use snmp++ and there you can use async requests
(Snmp::get() with callback param) and your callback is called with the
response of the agent.
On the agent side you use agent++. agent++ receives the request of the
manager and the request goes through agent++ until (for snmp get
requests) the MibLeaf::get_request() function is called. You can
override this function to get the value through whatever desired
mechanism (e.g. contact a database).
Regards,
Jochen
Am 11.01.2010 11:04, schrieb wancheng82:
> All,
> Nice to meet you.
> I want to integrate agent++ to our system.
> But our system is architected on asynchronized I/O, and it is a multi-process system.
> That means if I want to gather info from other process, the steps are
> 1)SNMP agent send an TCP packet to other process (we use TCP and 127.0.0.1 to do the IPC), and register
> callback function
> 2)If SNMP agent receives the corresponding response, the callback function will be called.
>
> I am new to agent++.
> Is it easy to implement based on libsnmp++ & libagent++?
>
> Thank you.
>
> Robin
>
>
>
> 2010-01-11
>
>
>
> wancheng82
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>
More information about the AGENTPP
mailing list