RE: snmpwalk & snmpget

"Tackabury, Wayne" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <EED75DAC2E3CC2448A34C2AD326F17A70207C95A@europa.mii-us.mirrorimage.net>
Is that a scalar object (i.e., not one in a tree?).  If so, for snmpget, you'll need a trailing zero (.0) to the OID.  snmpwalk would "walk" you into the trailing zero (followed by whatever follows in lexicographic ordering).  Hence, you'd do

snmpget -v [your_ver_here] [community, auth info] your-sql-server.your-domain.com NMPv2-SMI::enterprises.311.1.4.1.0

I'm assuming your spelling of "entreprises" (sic) was just a casualty of mail message entry and not part of the problem.  Otherwise, there's your problem too. :)

Regards,
Wayne Tackabury
Mirror Image Internet

-----------------
Date: Thu, 10 Apr 2008 12:55:02 +0000
From: "snmp girl" <[email protected]>
Subject: snmpwalk & snmpget
To: [email protected]
Message-ID:
	<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I want to know what is the difference between the walk and get , and why in
using get instead of walk for the oid mib of the sql server I can't get any
answers :there is no such variable name in this MIB
Failed object : SNMPv2-SMI::entreprises.311.1.4.1.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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
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.