On 5 April 2011 13:13, geetha ramani <geetha...@gmail.com> wrote:
> how can i add a mib file to the snmp agent through perl support
> so that the new agent created should implement this mib.

See the Wiki page
    http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_perl


> what is meant by mib-api.

No idea.
Where did you come across this term?


> how mibs are getting updated each time when a query
> is sent by the manager to agent.

The MIB doesn't get updated.   It's a static description of the
structure used to report a given collection of data.   Changes
to this structure should be few and far between - otherwise
any applications developed to work with that structure would
need to be reworked.


> how mibs interacts with the hardware of the device being monitored.

That's the job of the MIB-specific code within the agent.
(e.g. the perl extension mechanism you mention above).
Or else a C-code handler nodule to interface between the
agent and the underlying subsystem (software application,
hardware, kernel statistics, etc).


Developing this is actually the bulk of the work required to
add support for a new MIB module.   Writing the MIB file
itself is the easy part!

Dave

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to