RE: NET-SNMP V3 question.

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0D81D0AE@mailserver.metatv-ds.metatv.com>
> 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
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.