Re: adding mibs to agent

geetha ramani <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi Dave ,
 here only ,i came across the term MIB API

MIB API (Application Interface): This is system specific code required
to satisfy the requirements of MIB-II and other MIB's as those are
added to the system. For example, in order to retrieve the object
sysUpTime, SNMP looks for an API function called GetTimeTicks in the
MIB API library provided by the host-system. In the section on
"Implementing MIB-II objects" we detail how to implement the API
module to fulfill the requirements of MIB-II objects. API modules for
additional MIB's are specific to the MIB application; however, the
section on "Adding Additional MIB's" provides examples of such API
modules.

On Tue, Apr 5, 2011 at 6:39 PM, Dave Shield <[email protected]> wrote:
> 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.