Re: Failed to connect to the agentx master agent

Noppadol Sotanakul <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I've added -x /var/agentx/master when I started snmpd and it worked !!!

Thank you very much for your help and very quick response.

Regards,
Nop.




________________________________
From: Dave Shield <[email protected]>
To: Noppadol Sotanakul <[email protected]>
Cc: [email protected]
Sent: Tue, February 15, 2011 5:04:31 PM
Subject: Re: Failed to connect to the agentx master agent

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 fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.