how SNMP get system run-time parameters (CPU/mem/network etc)

"lei cao" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi there,
   I am just wondering how SNMP retrieve run-time system
  parameters.
   For example:
somebox$ snmpwalk -l authPriv -u me -A "somepassword"
   localhost
  will give output like this:
....
....
HOST-RESOURCES-MIB::hrDeviceDescr.768 = STRING:
GenuineIntel: Intel(R) Pentium(R) 4 CPU 2.40GHz
HOST-RESOURCES-MIB::hrDeviceDescr.1025 = STRING: network
interface lo
HOST-RESOURCES-MIB::hrDeviceDescr.1026 = STRING: network
interface eth0
HOST-RESOURCES-MIB::hrDeviceDescr.1280 = STRING:
HP_LaserJet_4000
HOST-RESOURCES-MIB::hrDeviceDescr.1536 = STRING: SAMSUNG
SP0802N
HOST-RESOURCES-MIB::hrDeviceDescr.1537 = STRING: GCR-8523B
HOST-RESOURCES-MIB::hrDeviceDescr.3072 = STRING: Guessing
that there's a floating point co-processor
[some process data]
[some network-related data]
etc.
.....
   I know the daemon will get the default value for some of
those parameters from the corresponding MIB files but how
SNMP gets those run-time parameters(e.g process ID ,mem
usage) and if SNMP stores those to files where does it
store???


  Any help is appreciated......Thanks!


Lei C

_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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.