snmpwalk query (226 Views)
Super Advisor
Posts: 568
Registered: ‎12-10-2003
Message 1 of 3 (226 Views)

snmpwalk query



Hi All


I am having some issues when using snmpwak command on my hp-ux 11.31 server.

When run the following command:

#snmpwalk -v2c  -c public
SNMPv2-SMI::enterprises. = No Such Object available on this agent at this OID

 Please can you tell me how to overcome this?

Honored Contributor
Posts: 13,908
Registered: ‎06-21-2000
Message 2 of 3 (210 Views)

Re: snmpwalk query

The error you are getting is saying that the MIB you are requesting doesn't exist on that server.


What if you just run snmpwalk against the whole server?  What is returned then?  Do you see the data you are looking for?

Super Advisor
Posts: 568
Registered: ‎12-10-2003
Message 3 of 3 (207 Views)

Re: snmpwalk query



Thanks for the response, I understand now, when running snmpwalk:


#snmpwalk -v2c  -c public
SNMPv2-MIB::sysDescr.0 = STRING: HP-UX dbnode1 B.11.31 U ia64 1871206893
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17560482) 2 days, 0:46:44.82
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING:
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::snmpInPkts.0 = Counter32: 31439
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 31440
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 1248
SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 17716
SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

 This is just part of it...


So where can I get a mib in order to send traps of alarms to another server?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.