On 04/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am trying to undestand how SNMP agent for Linux  get access to MIB counters
> for an embedded system.
> Is there a known database location  ( like /proc)  that SNMP agent and the
> HW ( e.g drivers) are using?

It depends on the information you are trying to retrieve.
Some information is available via the /proc interface.
Some information is available via ioctl() or similar system calls.
Some information can be read from configuration or status files.
Some information is not available at all :-(

And when looking wider than just Linux, different O/Ss will often
have very different ways of retrieving the same basic information.
This is typically the hardest part of implementing a new MIB,
and is the one bit that can't be automated.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to