Re: snmptrapd still tries to connect to /var/run/agentx

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Radek Vokál wrote:
> I've got this in snmp.conf
> 
> master agentx
> agentxsocket localhost:705
> trap2sink localhost
> 
> root@garfield specs# strace -p `pidof snmptrapd` 2>&1 | grep "agentx"
> connect(9, {sa_family=AF_FILE, path="/var/agentx/master"}, 110) = -1
> ECONNREFUSED (Connection refused)

snmp.conf?? You should put the above 3 lines into *snmpd.conf* for the 
agent and put "agentxsocket localhost:705" into *snmptrapd.conf* for the 
subagent (snmptrapd).


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.