Additional information.

Because I execute snmpd using -d option I observed the following information in the dump log

Received SNMP packet(s) from 127.0.0.1
        GET MESSAGE
                --SNMPv2-SMI::mib-2.25.1.2.0

Is this right?  I thought mib-2 has it own OID of 1.3.6.1.2.1.1, this mean there's an extra 1 before adding the .25.1.2.0.  On Windows OS, I would specify the OID as 1.3.6.1.2.1.25.1.2.0 instead of 1.3.6.1.2.1.1.25.1.2.0.  It could be due to my lack of knowledge.  Anyhow, I thought it would be useful for the troubleshooting.

Tam



Tam Vo/US/Raytheon

12/01/2005 10:57 AM

To
net-snmp-users@lists.sourceforge.net
cc
Subject
Re: Unable to get information from HOST-RESOURCES-MIBLink




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
net-snmp-users@lists.sourceforge.net
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


Reply via email to