> From: Pil Choi [mailto:[email protected]]
> Sent: Tuesday, December 01, 2009 10:06 AM

> This is how I did in  subagent code to talk to master agent. Now how
> will the client(snmp manager) call the master/subagent remotely? What
> should be in snmpd.conf file?
> 
> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
>                                NETSNMP_DS_AGENT_X_SOCKET,
> "tcp:127.0.0.1.705");

        I think you may be confusing the master-subagent relationship and the 
manager-master relationship.  AgentX is a master-subagent preotocol.  It should 
be active all the time (assuming the subagent should always be running).  You 
have configured your AgentX such that the subagent must be on the same host as 
the master, due to the use of 127.0.0.1:705 as the AgentX socket address.

        The manager asks the master for management data via SNMP.  The manager 
can be, and usually is, on another host.  If the manager wants data that is 
provided by the subagent, it must still ask the master, who will route the 
request to the subagent via AgentX.


        HTH,

Mike

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
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