On Wed, 15 Sep 2004 13:48:00 -0600 Isaac wrote:
IEW> I have a subagent which I am trying to have listen to a different port
IEW> than /var/agentx/master. In my snmpd.conf file I added the line
IEW> AgentXSocket localhost:9995. As far as I can tell the snmpd program
IEW> actually does start listening to this port. However, I can't seem to get
IEW> the subagent to listen to the same port. They never connect to each other.
IEW> How do I make the subagent connect to the same port?

add this line to your subagent:

        netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
                NETSNMP_DS_AGENT_X_SOCKET, "localhost:9995");


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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

Reply via email to