Hello.
I'm new to SNMP and have some problems. I tried to find solution on
Google and this miling list ... but I didint find solution.
NET-SNMP version: 5.1.2
OS : Slackware 10.2.0
The problem is with : (OID: .1.3.6.1.2.1.25.1.6.0,
HOST-RESOURCES-MIB::hrSystemProcesses.0)
When i try to get this value using:
snmpget -v 1 -c community localhost .1.3.6.1.2.1.25.1.6.0
response is:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: HOST-RESOURCES-MIB::hrSystemProcesses.0
When i try to translate this:
snmptranslate -IR -On hrSystemProcesses.0
respose is:
.1.3.6.1.2.1.25.1.6.0
but serching OID:
snmptranslate -M -On .1.3.6.1.2.1.25.1.6.0
returns
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
iso.3.6.1.2.1.25.1.6.0
Other requests work OK:
snmpget -v 1 -c community localhost UCD-SNMP-MIB::memTotalReal.0
snmpget -v 1 -c community localhost .1.3.6.1.4.1.2021.4.5.0
returns:
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 904500
The HOST-RESOURCES-MIB.txt (MIB package) is in directory with every
other MIB packages. But agent dont use it. How can I configure agent
to use HOST-RESOURCES-MIB ???
Instalation was from *.tgz file with no errors adn no additional configuration ,
snmpd.conf is wery simple:
rocommunity community localhost
What am I doing wrong ??? Please help :)
Regards
POTWOREK
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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