RE: regarding agent...

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC07F4AB5C@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of BIbhudatta Nayak
> Sent: Sunday, February 17, 2008 10:41 PM

> I want to do a SNMP program in Windows2000 using VC++6.0.
> I have created my own MIB file.
> 
> I want to use Net-SNMP for Windows.
> Windows has already its snmp agent i.e. "SNMP Service" 
> After installing Net-SNMP 5.4, now my machine has "Net-SNMP Agent".
> 
> Both the "SNMP Service" of Windows and "Net-SNMP Agent " are 
> running simultaneously and continuously.

	...and, unless you changed the port number for the net-snmp agent, only one is ever accessible.

> Now I want to write an agent program for my MIB.
> 1) Will I write the Master agent or sub agent.

	Subagent.  The "Net-SNMP Agent" is the master agent.

> 2) Among the two agents ("SNMP Service" of Windows and 
> "Net-SNMP Agent ") which is going to be stopped or both 
> should be stopped.

	The Net-SNMP agent will need to be stopped.

> 3) If I will write a sub agent, then my sub agent must 
> commucate with a master agent. What is that master agent. 
> "SNMP Service" of Windows or "Net-SNMP Agen.

	*BOTH* are master agents.  There is nothing wrong with having two master agents, but you will probably want to configure things so that both are visible, preferably on the same port.  I do not know how to make the Windows agent proxy requests to net-snmp, nor do I know how to move it from the default port of 161.

	Your subagent will want to communicate with the net-snmp master agaent, at least if we are to be of any help.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.