Writing subagent for HPUX.. Need help!

Frank Fock Frank.Fock____t-online.de
Mon Nov 25 23:51:13 CET 2002


Hi Brad,

AFAIK, the default HPUX agent does not use AgentX
for its subagent interface. So, unless you
upgrade your HPUX agent to support AgentX,
you won't be able to use an AgentX++ subagent
with it.

Regards,
Frank

Brad Lowe wrote:
> Hi,
> 
> I am working on writing a subagent for HPUX. Can AgentX++ work with the
> existing hpux snmpdm? The AgentX++ subagent does not run (it example code is
> unable to bind to anything.
> 
> The existing HPUX snmpdm can bind to three kinds of subAgents:
> 
>     (1) Loosely coupled subAgents or separate process subAgents which
>         open IPC communication channels to communicate with the Master
>         Agent
>     (2) Shared library subAgents which are dynamically linkable libraries.
>     (3) Remotely coupled subagents which could run on a different
>            processor or operating system and communicate with the Master
>            Agent using TCP.
> 
> It looks like the AgentX++ Pro is the way to go.. Since there are make
> examples for HPUX11. But I'm not sure where to go from here.
> 
> Output from the subagent example follows:
>  (2)EVENT  : SubAgentXMib: opening socket
>  (1)INFO   : SubAgentX: bound local (socket)(sd):
> (/var/agentx/subagent20702), (3)
>  (1)ERROR  : AgentX: could not connect unix domain socket (location):
> (/var/agentx/master)
>  (1)EVENT  : AgentXSlave: listening on TCP (socket)(port): (3), (705)
>  (1)ERROR  : AgentX: could not connect TCP socket (port)(errno): (705),
> (239)
>  (1)ERROR  : SuAgentXMib: could not bind any port. Aborting.
>  (1)WARNING: SubAgentXMib: not conntected with master agent!
> 
> 
> Any help would be greatly appreciated.
> 
> Sincerely,
> 
> Brad Lowe
> 
> 







More information about the AGENTPP mailing list