2008/7/2 deka aditia <[EMAIL PROTECTED]>:
>> I would suggest that you concentrate on developing a MIB
>> module for your particular needs, and use this within the
>> existing Net-SNMP agent framework.

> Now i got what you want,
> you suggest me to develop a sub agent in existing agent, right ?

That's one approach, certainly.
But what I would actually suggest is that you start by implementing
the code for a MIB module, and compile this directly within the
SNMP agent itself.   I.e.

    configure --with-mib-modules=yourModule
    make
    make install



> 1.) I just try to run this program on my PC (i'm using opensuse 11.0)
> but it got a message that the program can't communicate with the main agent

And that's why I suggest you start with a static agent.
It avoids all the hassle of communications between the master
agent and your subagent.

The code you develop can be re-compiled into a subagent (or a
dynamically loadable module) later, without needing to change a
thing.   But if you start by compiling it within the main agent,
that's by far the simplest approach.


Dave

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to