Re: Unable to get information from HOST-RESOURCES-MIB

Tam Vo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF7E5CE946.43BDBD2C-ON882570CA.0066E74A-882570CA.00682553@mck.us.ray.com>
I shut down both Sun's agent
        /etc/rc3.d/S76snmpdx stop
        /etc/rc3.d/S77dmi stop

Then ran the Net-SNMP agent by executing 
        cd /usr/local/sbin
        ./snmpd -d

a)  Can you query it at all (e.g. for the system group)
        Yes, it returns all the system data without any error
b)  Can you query it for the HostRes information ?
        No, it gave me the "no such variable in this MIB error.  I tried 
the following:
                snmpwalk -v 1 -c public localhost hrSystem              - 
returns nothing at all, not even error
                snmpget -v 1 -c public localhost hrSystemDate.0 - returns 
the "no such variable name in this MIB.  Failed Object: 
HOST-RESOURCES-MIB::hrSystemDate.0

The interesting thing is that four of my other Solaris 8/10 systems 
(net-snmp v5.1.1 with the Sun' agents) exhibit the exact same behavior. Is 
there some settings that I should turn on/off to allow access to 
HOST-RESOURCE-MIB for Solaris OS?  Thank you for your patience and help.

Tam Vo
Comm/Network Modeling & Simulation
Phone: 714-446-4850
[email protected]



Dave Shield <[email protected]> 
12/01/2005 08:46 AM

To
Tam Vo <[email protected]>
cc
[email protected]
Subject
Re: Unable to get information from HOST-RESOURCES-MIB






On Thu, 2005-12-01 at 08:32 -0800, Tam Vo wrote:
> I am running net-snmp version 5.0.10.1 on Solaris 8, but for some
> reason I am not able to perform snmpget/snmpwalk on anything under
> HOST-RESOURCES-MIB.


>   I followed the instruction in README.solaris (section 7, page 7) to
> configure net-snmp daemon with subtree 1.3.6.1.2.1.25
> (HOST-RESOURCES-MIB) in /etc/snmp/conf and restart both daemons
> S77snmpdx and S76dmi.

Well the first thing to try is a simpler configuration, with *just*
the Net-SNMP agent.  Shut down Sun's agent completely, and fire up
ours as a single standalone agent.

   a)  Can you query it at all (e.g. for the system group) ?
   b)  Can you query it for the HostRes information ?

I'd concentrate on getting that working, before you start trying
anything more complicated like hooking two different agents together.


Dave
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.