nv-l
[Top] [All Lists]

Re: I can snmpwalk but can't snmpget?

To: nv-l@lists.tivoli.com
Subject: Re: I can snmpwalk but can't snmpget?
From: "David E. Dimond" <dimond@allina.com>
Date: Thu, 07 Jun 2001 10:05:51 -0500
Interesting.  Do you have this specific MIB loaded in Netview?  You'll
want to ensure that it is, and then use the MIB Browser to manually
walk down the tree to this leaf object, query it and use the Describe
function to ensure you've got the node varaiable correct and figure
out the instance you are looking for from the list of returned
MIB Value(s) (it'll be the number before the colon), and then use
that to build your CLI snmpget statement.

Sounds like a good opportunity to get a little more familiar with
SMI, ASN.1, and all the other wonderful dark corners of MIBs and
SNMP in general...

Good luck!  

Dave  


ScotR wrote:
> 
> Hmm no go. Any other Ideas?
> 
> Thanks
> Scot
> 
>  >/usr/OV/bin/snmpget -c RzPQ5x_w11 172.16.3.209
> .1.3.6.1.4.1.311.1.4.1.1.2.1.11.6.78.68.83.49.48.57.0
> snmpget: This variable does not exist:
> .iso.org.dod.internet.private.enterprises.m
> icrosoft.software.apps.mssqlServer.mssqlServerObjects.mssqlSrvInfoTable.mssq
> lSrvIn
> foEntry.mssqlSrvInfoCacheHitRatio.6.78.68.83.49.48.57.0.
> 
>  > /usr/OV/bin/snmpget -c RzPQ5x_w11 172.16.3.209
> .1.3.6.1.4.1.311.1.4.1.1.2.1.11.0
> snmpget: This variable does not exist:
> .iso.org.dod.internet.private.enterprises.m
> icrosoft.software.apps.mssqlServer.mssqlServerObjects.mssqlSrvInfoTable.mssq
> lSrvIn
> foEntry.mssqlSrvInfoCacheHitRatio.0.
> 
>  >/usr/OV/bin/snmpget -c RzPQ5x_w11 172.16.3.209 .1.3.6.1.4.1.311.1.4.1.1.
> 
> At 08:47 AM 6/7/2001 -0500, David E. Dimond wrote:
> >Looks like you're missing the MIB Instance.  Try tacking on a ".0" so
> >that your snmpget node variable argument looks like this:
> >
> >.1.3.6.1.4.1.311.1.4.1.1.2.1.11.6.78.68.83.49.48.57.0
> >
> >HTH,
> >
> >Dave
> >
> >ScotR wrote:
> > >
> > > Hi;
> > >
> > >   I am still new to SNMP but shouldn't I be able to do a get in any OID
> > > snmpwalk returns?
> > >
> > > Thanks
> > > Scot
> > >
> > >  >/usr/OV/bin/snmpwalk -c RzPQ5x_w11 172.16.3.209
> > > .1.3.6.1.4.1.311.1.4.1.1.2.1.11.6.78.68.83.49.48
> > >
> > microsoft.software.apps.mssqlServer.mssqlServerObjects.mssqlSrvInfoTable.mss
> > > qlSrvI
> > > nfoEntry.mssqlSrvInfoCacheHitRatio.6.78.68.83.49.48.57 : Gauge: 0
> > >
> > >  > /usr/OV/bin/snmpget -c RzPQ5x_w11 172.16.3.209
> > > .1.3.6.1.4.1.311.1.4.1.1.2.1.11.6.78.68.83.49.48.57
> > > snmpget: This variable does not exist:
> > >
> > .iso.org.dod.internet.private.enterprises.microsoft.software.apps.mssqlServe
> > > r.mssqlServerObjects.mssqlSrvInfoTable.mssqlSrvIn
> > > foEntry.mssqlSrvInfoCacheHitRatio.6.78.68.83.49.48.57.
> > >


-- 
This message (including any attachments) contains confidential
information intended for a specific individual and purpose,
and is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web