This is a discussion on Re: snmptrapd still tries to connect to /var/run/agentx within the SNMP Users forums, part of the Networking and Network Related category; Radek Vokál wrote: > I've got this in snmp.conf > > master agentx > agentxsocket localhost:705 &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |