RE: NET-SNMP V3 question.

Pil Choi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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");

Thanks,

Pil

> Date: Tue, 1 Dec 2009 16:05:10 +0000
> Subject: Re: NET-SNMP V3 question.
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> 2009/12/1 Pil Choi <[email protected]>:
> >                                                                   I need to
> > figure out how to configure SNMP so that SNMP manager communicate with its
> > master/subagent via network remotely with local host between subagent and
> > master agent, but SNMP manager should use subagent's real ip address when it
> > sends a request to the remote sumbagent.....
> 
> The manager does not talk to the subagent directly.
> The manager *always* talks to the master agent,
>    and the master agent talks to the subagent (if necessary)
> 
> As far as the manager is concerned, there appears a to be only one agent.
> Whether this is true, or whether there are actually a num,ber of
> subagents is a private matter, known only to the master agent.
> 
> So the manager should be using the IP address of the master
> agent, not of the subagent.
> 
> Dave

------------------------------------------------------------------------------
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.