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: net-snmp-users@lists.sourceforge.net
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to