On 01/04/2008, Md s <[EMAIL PROTECTED]> wrote:
> .....  i want to develop an agent
> that'll fetch some storage related data from windows Os....
> .... Then using  mib2c  tool created .c and .h file ( I wanted
> to use dlmode). then i found that there is no dlmode support for
> windows...... is there any tool
> (like net-snmp-config or mib2c) for agentx development.

One thing you should realise, is that the same MIB module code can
be used for all styles of agent.   So the output from mib2c is valid
regardless of whether you are using dlmod, AgentX or including
the module directly within the agent.


>                       I am totally confused what to do. I  need a guidance
> of yours.

When starting out, I would suggest using the third approach
listed above - including the code within the agent itself.
This is described in the file README.win32, in the section
"Microsoft Visual C++ - Extending the Agent"

That's probably the easiest approach when first implementing a
MIB module (if not necessarily the most convenient for putting
it into active service).
  When you've got the code working, then you can look at
reusing it within an AgentX subagent  (or using dlmod on
another system).  The same module code should work in
all cases.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to