Re: Failed to connect to the agentx master agent
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 15 February 2011 09:47, Noppadol Sotanakul <[email protected]> wrote: >> Which ports is the master agent listening on? >> Compare the list of ports for the 5.3.0.1 agent, >> with the list of ports for the other agents. >> >> Normally, you'd expect the agent to be listening on >> TCP port 705 and/or the named socket '/var/agentx/master' > > > This is what I get when I run netstat -a | more > > Active UNIX domain sockets (servers and established) > unix 2 [ ACC ] STREAM LISTENING 253125 /var/run/agentx/master So the agent is listening on /var/run/agentx/master rather than /var/agentx/master. This is a more sensible location within the Linux File System framework (which is probably why SuSE use it) but is different to the "standard" location. Try running the master agent using the option -x /var/agentx/master or configuring your subagent to connect to /var/run/agentx/master Basically, the two sides need to use the same socket. What this socket actually is, doesn't really matter - as long as they agree. Dave ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ 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