Re: Net SNMP Agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2010/1/6 Ashish vashishtha <[email protected]>:
> So can it be done if i get any get or getnext request on my system for
> particular oids mentioned in my MIB, snmpd should process that request and
> should forward to my agent without agentx support.

But why do you need another agent at all.
snmpd *IS* the agent.

All you need to do is write a MIB module to implement your particular
MIB, and compile that module into the Net-SNMP agent.
How to do this is covered in the FAQ.


> i have scalars and tabular data to deal with as in my mib.

That's fine - many existing MIBs combine scalar and table objects.


> if it can be done what i need to configure in snmp agent daemon or
> snmpd.conf file ?

You need to write the code to implement your MIB.
I suggest you take it one bit at a time.
Start with a single table, or a single group of scalar objects.
Get the agent to implement those, and then move on to the next.

Have a look at existing MIB modules, and the FAQ to get
some feel about how to do this.
Dave

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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.