From: Dave S. <D.T...@cs...> - 2004-03-29 15:41:36
|
> I add a subagent using agentX and I need to retrieve data from the MIBs > of the master agent, like reading ip table, for example. Unfortunately, the AgentX protocol is purely designed for the master agent retrieving information from the subagent. There is no mechanism for the subagent to retrieve MIB values from the master agent. > Is there a simple (or not so simple) way to do it? Basically, you'll need to construct a suitable GET request within the subagent, and query the master agent as if the subagent was a management client. See the 'disman' group for some examples of how to do this (esp the mte_get_response() routine) Dave |