On Thu, Jan 09, 2025 at 10:58:22AM +0530, Pushpa Thimmaiah wrote:
> 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)

Subagents are independent programs so they might not even use the Net-SNMP
subagent implementation. If that is the case you have to ask the people who
wrote the subagent.

If the subagent is using the Net-SNMP implementation then it might
read the config files snmp.conf and <program>.conf

> Thanks,
> Pushpa.T
> 
> On Tue, Jan 7, 2025 at 10:37 AM Pushpa Thimmaiah <pushpa.thimma...@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
> >


> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to