RE: how to use HOST-RESOURCES-MIB
Bruce Shaw <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <942CA19082ED6F46AE1CD8C4A0A9A66D126E5D09@excedm2gwba.env.gov.ab.ca> |
You need to make sure it's actually compiled in. On most platforms it is. If you compiled it yourself, look in your configure-summary file and make sure "host" is there. If not, you need to have --with-mib-modules="host" in your configure invocation. >when i launch snmpwalk -v 1 -c public -v 1 localhost you've got "-v 1" in there twice. It's not hurting anything but looks confusing. Also, v1 may not return everything which HOST-RESOURCES-MIB provides. I tend to use "-v 2c" but to do so, you'll need to set up that capability. Finally, your invocation did not include the MIB you wanted to see, so it returned the default, which may not include HRM data. Try snmpwalk -v 1 -c public -m ALL localhost .1.3 (or -v 2c if you've got that set up) to get everything, then snmpwalk -v 1 -c public -m ALL locahost .1.3.6.1.2.1.25.3 to get specifically HOST-RESOURCES-MIB information. >i want to use the HOST-RESOURCES-MIB >when i launch snmpwalk -v 1 -c public -v 1 localhost >it don't return values of object in this MIBs >my question is how can i add this MIBs 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. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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