Re: Regarding changing default agentXSocket

Pushpa Thimmaiah <[email protected]> Thu, 9 Jan 2025 10:58:22 +0530
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAASqVJUDr0hF_9tgkSN=WRdJQ2YCzLAWno9DsUkpLHJzmiL+fg@mail.gmail.com>
--===============3821372723761310995==
Content-Type: multipart/alternative; boundary="000000000000eb96fd062b3f111f"

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

Hi All,

Net-snmp FAQ reads that agentx can be run with different unix socket
address (i.e other that /var/agentx/master). I too verified it works fine.
Is there any configuration file that reads by subagent (eg:./mysubagent in
https://net-snmp.sourceforge.io/wiki/index.php/TUT:Writing_a_Subagent)

Thanks,
Pushpa.T

On Tue, Jan 7, 2025 at 10:37=E2=80=AFAM Pushpa Thimmaiah <pushpa.thimmaiah@=
gmail.com>
wrote:

> Hi All,
>
> I am configuring net-snmp  with  agentx support.  Can I change agentx
> socket address to any path eg: /tmp/agentx/master ?
> Its default unix socket address is /var/agentx/master?
>
> Add following in snmpd.conf
>
> master agentx
> agentXSocket /tmp/agentx/master
>
>
>
> Thanks,
> Pushpa.T
>

--000000000000eb96fd062b3f111f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>Net-snmp FAQ reads t=
hat agentx can be run with different unix socket address (i.e other that /v=
ar/agentx/master). I too verified it works fine.<br></div><div>Is there any=
 configuration file that reads by subagent (eg:./mysubagent in <a href=3D"h=
ttps://net-snmp.sourceforge.io/wiki/index.php/TUT:Writing_a_Subagent">https=
://net-snmp.sourceforge.io/wiki/index.php/TUT:Writing_a_Subagent</a>)</div>=
<div><br></div><div>Thanks,</div><div>Pushpa.T<br></div></div><br><div clas=
s=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_att=
r">On Tue, Jan 7, 2025 at 10:37=E2=80=AFAM Pushpa Thimmaiah &lt;<a href=3D"=
mailto:[email protected]">[email protected]</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r"><div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>I am configuring =
net-snmp=C2=A0 with=C2=A0 agentx support.=C2=A0 Can I change agentx socket =
address to any path eg: /tmp/agentx/master ?</div><div>Its default unix soc=
ket address is /var/agentx/master?</div><div><br></div><div>Add following i=
n snmpd.conf <br></div><div><br></div><div>master agentx</div><div>agentXSo=
cket /tmp/agentx/master</div><div><br></div><div><br></div><div><br></div><=
div>Thanks,</div><div>Pushpa.T<br></div></div>
</div>
</blockquote></div>

--000000000000eb96fd062b3f111f--


--===============3821372723761310995==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3821372723761310995==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

--===============3821372723761310995==--