Dear Dave:
Thank you for the answer although I have solved the problem by myself:>
the reason is no the foder named as "agentx" in the path "/var" because it
runs on the default socket .I create this foder and then it runs ok:>

On 1/15/07, Dave Shield <[EMAIL PROTECTED]> wrote:

On 03/01/07, 蔷<Qiang Hu> <[EMAIL PROTECTED]> wrote:
> I did as the exmple metioned in
> http://openhpi.sourceforge.net/subagent-manual/book1.html

I'm not particularly familiar with that particular manual.

> but when run  I got
> "Warning: Failed to connect to the agentx master agent ([NIL]):"  why?

How exactly did you configure/run the master agent?
What port/socket is it listening for AgentX connections on?

How exactly did you code/run the subagent, and what port/socket
is it trying to connect to?

It might be worth turning on packet dumps (particularly in the subagent)
to help show what it's trying to do.  See the FAQ entry
   How can I run AgentX with a different socket address?
for details.

Dave




--
----------------------------------------------------------
(Hellen)
---------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to