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

This is a discussion on snmptrapd still tries to connect to /var/run/agentx within the SNMP Users forums, part of the Networking and Network Related category; --=-lNU4vlzASVXPCWWpLd2N Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi can you please correct my thoughts ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-19-2005
Radek Vokál
 
Posts: n/a
Default snmptrapd still tries to connect to /var/run/agentx


--=-lNU4vlzASVXPCWWpLd2N
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi

can you please correct my thoughts if they are wrong?=20

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=3DAF_FILE, path=3D"/var/agentx/master"}, 110) =3D -1
ECONNREFUSED (Connection refused)
=20
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



--=20
Radek Vok=C3=A1l <rvokal@redhat.com>

--=-lNU4vlzASVXPCWWpLd2N
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDBINDpPtjDwJDWJMRAuuVAKDmSxSkO5mNtq9Y3Vo73c Ap51fHpgCg3coo
mBIRW6ulOcp5fx5+52KnM44=
=27VA
-----END PGP SIGNATURE-----

--=-lNU4vlzASVXPCWWpLd2N--



-------------------------------------------------------
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:03 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0