> JJLDS> in the file. Then I've added the line
> JJLDS> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,              
>            JJLDS> NETSNMP_DS_AGENT_X_SOCKET, "localhost:16100");
> 
> Ok, first of all, stop the agent and run it in the foreground in 
> debug mode:
> 
>       snmpd -f -Lo -Dagentx
 
        This commando doesn't shows me any message of debug in the console
that runs the daemon.

> 
> Then check that the agent is listening on that port? Does 'netstat 
> -ln | grep 16100' show a listener?

  The agent is listening on the port.

> 
> Then start your sub-agent. Enabling debug for the agentx token there 
> would be useful too.
> 
> You should see debug output from the agent as the sub-agent 
> connects. Running a packet sniffer (tcpdump, iptraf) could help here 
> too
        The only debug message I see is the error message that I sent you:   
            "Error: Failed to connect to the agentx master agent: Unkown Host
(Connection     refused)".

> 
> JJLDS> the erro "Error: Failed to connect to the agentx master 
> agent: Unkown JJLDS> Host (Connection refused)".
> 
> If you get that at startup, wait 20 seconds or so, and see if the 
> retry work. Sometimes the initial connection doesn't work, but 
> retries do.

                I wait for the messages and nothing.

[]'s Jordan



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to