Re: sending traps from embedded AgentX subagent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/12/06, Srivastava, Namburi (IE10)
<[email protected]> wrote:
> Okay, so in that case if I add the following line of code in my Subagent
> before init_subagent()
>
> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
>                            NETSNMP_DS_AGENT_X_SOCKET,
> "/var/agentx/master");
>
> Does this change the socket to which my subagent is trying to connect
> to?


Why waste time asking me?
Why not simply try it and see?

Yes - that code should configure the subagent to connect to a local socket.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.