Yes, but there are security concerns. Agentx doesn't require authentication and opens up TCP 705. Anyone with access to port 705 on your server can hijack your snmpd master agent, server and application.
I prefer using my own authenticated secure protocol. BR, Nikos ----- Original Message ----- From: "Bart Cornelissen" <bart.cornelis...@uhasselt.be> To: <net-snmp-users@lists.sourceforge.net> Sent: Saturday, January 03, 2009 4:42 PM Subject: Re: Integrating net-SNMP agent into my application > On Sat, Jan 3, 2009 at 3:24 PM, Vincent Bernat <ber...@luffy.cx> wrote: >> >> Using subagent (AgentX), you will write something that will talk to >> snmpd using AgentX protocol. I think this is what you want to do and >> this is usually the way to go. The subagent will be tightly integrated >> into your application, so it will be easy to access any variable you >> need or call any function you need without building a protocol between >> this subagent and your application. > > This is indeed what I was looking for. > It seems like this is also explained further down in the "Writing a > Subagent" tutorial: > http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent#Instrumenting_your_own_code_with_agentx_subagent_support > > Thanks for the help! > > ------------------------------------------------------------------------------ > _______________________________________________ > 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/listinfo/net-snmp-users ------------------------------------------------------------------------------ _______________________________________________ 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/listinfo/net-snmp-users