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

Radek Vokál <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi

can you please correct my thoughts if they are wrong? 

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)
  
I guess that snmptrapd should not try to connect to /var/agentx/master
but should use the settings from snmp.conf and connect to localhost.
Am I right?

Radek



-- 
Radek Vokál <[email protected]>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDBINDpPtjDwJDWJMRAuuVAKDmSxSkO5mNtq9Y3Vo73cAp51fHpgCg3coo
mBIRW6ulOcp5fx5+52KnM44=
=27VA
-----END PGP SIGNATURE-----
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.