Bugzilla – Bug 129437
net-snmp snmpd.conf(5) manpage gives wrong default for AgentXSocket
Last modified: 2006-03-08 04:09:07 UTC
The net-snmp package ships with a snmpd.conf(5) manpage that tells: AgentXSocket addr This defines the address the master agent listens at. The default is /var/agentx/master. Another possibility is localhost:705 This is wrong as the SuSE package has changed the default path to /var/run/agentx/master, AFAICS.
[[[ $ cat net-snmp-5.3.0.1_agentx_socket_path_doc.patch Index: man/snmpd.conf.5.def =================================================================== --- man/snmpd.conf.5.def.orig +++ man/snmpd.conf.5.def @@ -1248,7 +1248,7 @@ .IP "agentXSocket [<transport-specifier>:]<transport-address>[,...]" defines the address the master agent listens at, or the subagent should connect to. -The default is the Unix Domain socket \fC/var/agentx/master\fR. +The default is the Unix Domain socket \fC/var/run/agentx/master\fR. Another common alternative is \fCtcp:localhost:705\fR. See the section .B LISTENING ADDRESSES Index: man/snmpd.8.def =================================================================== --- man/snmpd.8.def.orig +++ man/snmpd.8.def @@ -133,7 +133,7 @@ .TP .B -x \fIADDRESS Listens for AgentX connections on the specified address -rather than the default '/var/agentx/master'. +rather than the default '/var/run/agentx/master'. The address can either be a Unix domain socket path, or the address of a network interface. The format is the same as the format of listening addresses described below. Index: man/snmptrapd.8.def =================================================================== --- man/snmptrapd.8.def.orig +++ man/snmptrapd.8.def @@ -140,7 +140,7 @@ .TP .B -x \fIADDRESS Connect to the AgentX master agent on the specified address, -rather than the default '/var/agentx/master'. +rather than the default '/var/run/agentx/master'. See \fIsnmpd(8)\fR for details of the format of such addresses. .TP .BI -- "name"="value" ]]]