Re: adding mibs to agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 5 April 2011 13:13, geetha ramani <[email protected]> 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
[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.