Re: problems while querying an HP blade enclosure
Daniel Sanabria <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAHscji3aqU5Au8k93V4gsUGtwmsU3uJZLvegHM3Rv_SDktutjA@mail.gmail.com> |
Thanks again, I certainly missed those dashes ... Now however, I get no response at all from the remote end (the Blade Enclosure OA). [root@admin ~]# snmpwalk -v1 -c ammeon -t 60 10.44.84.33 1.3.6.1.4.1.232.22 Timeout: No Response from 10.44.84.33 [root@admin ~]# I'm new to snmp and net-snmp so I'm worried I'm missing something obvious. What does it mean the fact that the enclosure is not replying when I'm querying the enterprise OID? On 2 November 2011 07:40, anand anand <[email protected]> wrote: > Hi, > > The problem is in the command "snmpwalk –v1 –c ammeon 10.44.84.33 > 1.3.6.1.4.1.232". I have marked them in red. > > It should be " snmpwalk -v1 -c ammeon 10.44.84.33 1.3.6.1.4.1.232". Not > the Dashes before the version and community options. > > Thanks > -anand > > > > On Wed, Nov 2, 2011 at 3:52 AM, Daniel Sanabria <[email protected]>wrote: > >> Thanks for replying, >> >> I'm getting this when doing snmpwalk using the enterprise oid >> >> [root@admin ~]# snmpwalk –v1 –c ammeon 10.44.84.33 1.3.6.1.4.1.232 >> –c: Unknown Object Identifier (Sub-id not found: (top) -> –c) >> [root@admin ~]# >> >> Where is the problem? is it in the target (blade enclosure) or the host >> from where I run the snmpwalk command? >> >> >> On 1 November 2011 20:52, Alexandre James <[email protected]> wrote: >> >>> I believe if you don’t pass an oid to snmp walk it will only want the >>> mib-2 tree (1.3.6.1.2) where the CPQRACK-MIB is an enterprise mib so it’s >>> under the enterprise tree (1.3.6.1.4.1). More specifically, if do something >>> link the following, you should only get the contents of the CPQRACK-MIB: >>> **** >>> >>> ** ** >>> >>> snmpwalk –v1 –c ammeon 10.44.84.33 1.3.6.1.4.1.232**** >>> >>> ** ** >>> >>> *From:* Daniel Sanabria [mailto:[email protected]] >>> *Sent:* Tuesday, November 01, 2011 11:00 AM >>> *To:* [email protected] >>> *Subject:* problems while querying an HP blade enclosure**** >>> >>> ** ** >>> >>> Hi, **** >>> >>> >>> We're looking to look after our HP blade enclosure using net-snmp >>> utilities installed in one of our linux servers ( NET-SNMP version: 5.5, >>> RHEL 6.10). I've obtained the relevant set of MIB files from a HP source >>> and I think I've exported/uploaded these correctly on the host from where >>> I'm currently running my snmpget commands, but I'm getting the following >>> error when trying to get values from the Enclosure: >>> >>> [root@admin mibs]# snmpget -v1 -c ammeon 10.44.84.33 >>> CPQRACK-MIB::cpqRackServerBladePowered >>> Error in packet >>> Reason: (noSuchName) There is no such variable name in this MIB. >>> Failed object: CPQRACK-MIB::cpqRackServerBladePowered >>> >>> [root@admin mibs]# snmptranslate -TB 'cpqRackServerBladePowered' >>> CPQRACK-MIB::cpqRackServerBladePoweredOff >>> CPQRACK-MIB::cpqRackServerBladePoweredOn >>> CPQRACK-MIB::cpqRackServerBladePowered >>> [root@admin mibs]# >>> >>> An snmpwalk is reporting back a number of variables/counters but none >>> from CPQRACK-MIB: >>> >>> [root@admin mibs]# snmpwalk -v1 -c ammeon 10.44.84.33 >>> SNMPv2-MIB::sysDescr.0 = STRING: HP Onboard Administrator >>> SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.11.5.7.1.2 >>> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (295131) 0:49:11.31 >>> SNMPv2-MIB::sysContact.0 = STRING: Daniel Sanabria >>> SNMPv2-MIB::sysName.0 = STRING: atc7000-71oa1 >>> SNMPv2-MIB::sysLocation.0 = STRING: Athlone Lab >>> SNMPv2-MIB::sysORLastChange.0 = Timeticks: (385) 0:00:03.85 >>> SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB >>> SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB >>> SNMPv2-MIB::sysORID.3 = OID: RFC1213-MIB::ip >>> SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB >>> >>> . >>> . >>> . >>> >>> >>> Any ideas on what I might be doing wrong here ? :( >>> >>> Thanks in advance, >>> >>> Daniel**** >>> >>> ** ** >>> >> >> >> >> ------------------------------------------------------------------------------ >> RSA® Conference 2012 >> Save $700 by Nov 18 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> 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 >> >> > ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ 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