I'm trying to create an agentx subagent on an embedded arm-linux that is 
running busybox.

I was successful at porting a mib into the agent.  I then used the 
net-snmp-config --compile option to create a subagent.  I then recompiled my 
master agent without the new mib in it but made sure agentx was turned on.  
Started the master agent and it looks good.  Start the subagent and I get:

  "Error: Failed to connect to the agentx master agent: Unknown host (No such 
file or directory)"

The snmp.conf file has basic V1 type configuration including the "master 
agentx" line.  I do not have any subagent configuration file.  It looked like I 
may need a /var/agentx/agentx file but I haven't been able to figure out what 
might go in it.

Any ideas on where to look?  My thoughts are:
1) some other part of net-snmp needs to be configured but I don't know what
2) It looks like it is trying to find a host name and I wonder if there might 
be collision with the busybox host routines vs gcc.

Any ideas would be greatly appreciated.

Thanks,

Jeff

--

Jeff Miller
ADC Telecommunications
1187 Park Place, Shakopee, MN  55379
952-403-8637
[EMAIL PROTECTED]



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to