Re: Which agent...

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12/02/2008, BIbhudatta Nayak <[email protected]> wrote:
> ...... I will create a MIB with one counter
> object with defval {10}.

That's not allowed - Counters can't have a DEFVAL.
See RFC 2578, section 7.1.6, final paragraph.


> I want to know whether I will write a master agent or a sub agent.

It doesn't matter.  The design of the Net-SNMP agent is such
that the same MIB module code can be used with either.

If you're just starting, then I'd suggest you work with a single
SNMP agent initially.  Get that working before you introduce
the additional complexity of a master/subagent framework.
You will be able to re-use your MIB module code later, but
keep things as simple as possible to start with.

> I am using windows 2000 and VC++ IDE for programing .

I presume you've read the section in the file README.win32
entitled "Microsoft Visual C++ - Extending the Agent"   ?

Dave

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