Re: DMI + Linux + Net-SNMP

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 04 Apr 2006 13:22:29 +0200, Vincent Aaron <[email protected]> said:

Vincent> I have a few workstations on Linux ( RHEL 3.0 and 4.0, SLES
Vincent> 9, Debian ). I would like to get access to DMI information
Vincent> using Net-SNMP.  I able for the moment to use dmidecode
Vincent> command tool to get those information. Ex: a serial number of
Vincent> my Workstation.  But how could I compile Net-SNMP to have
Vincent> access to DMI Information?

You'd have to write something that would return the results within the
agent, and a management app to collect the results.  This can be done
in a number of ways, and there are some details at:

http://www.net-snmp.org/tutorial/tutorial-5/toolkit/ 

But, what you're looking for is fairly complex data wise...  The
simplest hack would be to return what you needed from an extend script
(see the snmpd.conf manual page).
-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.