Enabling AgentX support on net-snmp-5.9

Pushpa Thimmaiah <[email protected]> Mon, 16 Sep 2024 15:37:14 +0530
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJVAjgVRwtYAXspeW6pQ-Eyc5VcL8qJ8MN55AgxFTxgiYA@mail.gmail.com>
--===============9162078990480457744==
Content-Type: multipart/alternative; boundary="0000000000007e9cf30622399f02"

--0000000000007e9cf30622399f02
Content-Type: text/plain; charset="UTF-8"

Hi All,

I am learning about the AgentX subagent to support SNMPGET/SNMPSET.
 Kindly provide clarification for the below queries:

   1. Do I need to use both --with-agentx and --with-mib-modules="agentx"
   in Net-SNMP to have AgentX support?
   2. I am following
   http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/. I have
   encountered the following error upon execution. Snmpd is running  and
   added line "master          agentx" in /etc/snmp/snmpd.conf.  I can see
   /var/agentx/master file.

*./example-demon &*

Warning: Failed to connect to the agentx master agent ([NIL]):
example-demon is up and running.
Warning: Failed to connect to the agentx master agent ([NIL]):

Thank You,
Pushpa.T.

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

<div dir=3D"ltr"><div>Hi All,</div><div><br></div><div><p>I am learning abo=
ut the AgentX subagent to support SNMPGET/SNMPSET. <br>=C2=A0Kindly provide=
 clarification for the below queries:</p>
<ol><li>Do I need to use both --with-agentx and --with-mib-modules=3D&quot;=
agentx&quot; in Net-SNMP to have AgentX support?</li><li>I am following=20
<a href=3D"http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/" targ=
et=3D"_blank">http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/</a=
>. I have=20
encountered the following error upon execution. Snmpd is running=C2=A0 and=
=C2=A0=C2=A0 added line &quot;master =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0agen=
tx&quot; in /etc/snmp/snmpd.conf.=C2=A0 I can see /var/agentx/master file. =
<br></li></ol><div><b>./example-demon &amp;</b><br><br>Warning: Failed to c=
onnect to the agentx master agent ([NIL]): <br>example-demon is up and runn=
ing.<br>Warning: Failed to connect to the agentx master agent ([NIL]): <br>=
</div><div><br></div><div>Thank You,</div><div>Pushpa.T.<br></div></div></d=
iv>

--0000000000007e9cf30622399f02--


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


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

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

--===============9162078990480457744==--