|
RE: 5.1 snmpd hrmib problem: msg#00211network.net-snmp.user
You're confusing two different indexes. -----Original Message----- From: Mike Fisher [mailto:Michael.Fisher@xxxxxxxxxxxxxxxx] Sent: Thursday, January 22, 2004 8:58 AM To: net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Subject: 5.1 snmpd hrmib problem In theory, according to the MIB, hrFSStorageIndex is "The index of the hrStorageEntry that represents information about this file system. If there is no such information available, then this value shall be zero." In practice, with a 5.1 snmpd running on Solaris 8, I'm seeing this... HOST-RESOURCES-MIB::hrFSMountPoint.1 = STRING: "/" HOST-RESOURCES-MIB::hrFSMountPoint.2 = STRING: "/proc" HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/etc/mnttab" HOST-RESOURCES-MIB::hrFSMountPoint.4 = STRING: "/var" HOST-RESOURCES-MIB::hrFSMountPoint.5 = STRING: "/var/run" ... Look at RFC-2790 http://www.faqs.org/rfcs/rfc2790.html hrSystem OBJECT IDENTIFIER ::= { host 1 } hrStorage OBJECT IDENTIFIER ::= { host 2 } hrDevice OBJECT IDENTIFIER ::= { host 3 } hrSWRun OBJECT IDENTIFIER ::= { host 4 } hrSWRunPerf OBJECT IDENTIFIER ::= { host 5 } hrSWInstalled OBJECT IDENTIFIER ::= { host 6 } hrMIBAdminInfo OBJECT IDENTIFIER ::= { host 7 } HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: / HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /proc HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /etc/mnttab HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /var HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /var/run That's off hrStorage It uses hrStorage index hrStorageIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "A unique value for each logical storage area contained by the host." ::= { hrStorageEntry 1 } >HOST-RESOURCES-MIB::hrFSStorageIndex.1 = INTEGER: 1 >HOST-RESOURCES-MIB::hrFSStorageIndex.2 = INTEGER: 2 >HOST-RESOURCES-MIB::hrFSStorageIndex.3 = INTEGER: 3 >HOST-RESOURCES-MIB::hrFSStorageIndex.4 = INTEGER: 4 >HOST-RESOURCES-MIB::hrFSStorageIndex.5 = INTEGER: 5 That's off hrDevice, the devices used to implement hrStorage. It uses hrDeviceIndex hrDeviceIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "A unique value for each device contained by the host. The value for each device must remain constant at least from one re-initialization of the agent to the next re-initialization." ::= { hrDeviceEntry 1 } They would be the same only by coincidence. This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: help: 00211, Neeraj Joshi |
|---|---|
| Next by Date: | RE: Not seeing UCD disk table with pre-compiled binaries: 00211, David Kuder |
| Previous by Thread: | 5.1 snmpd hrmib problemi: 00211, Mike Fisher |
| Next by Thread: | Re: 5.1 snmpd hrmib problem: 00211, Dave Shield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |