nv-l
[Top] [All Lists]

Re: [nv-l] SNMP V2 from the command line?

To: "Westphal, Raymond W" <Raymond.W.Westphal@erac.com>
Subject: Re: [nv-l] SNMP V2 from the command line?
From: John Bruer <ad572@yahoo.com>
Date: 05 Aug 2003 21:24:37 -0500
Cc: <nv-l@lists.tivoli.com>
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Wed, 06 Aug 2003 03:21:48 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <9E5C7584323DDE4EA3477C4FC9640E0D770825@STL-EXBE-I04.corp.erac.com>
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm
References: <9E5C7584323DDE4EA3477C4FC9640E0D770825@STL-EXBE-I04.corp.erac.com>
Reply-to: nv-l@lists.tivoli.com
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6
"Westphal, Raymond W" <Raymond.W.Westphal@erac.com> writes:

> NetView 7.1.3 on AIX 5.2
> We are getting ready to manage some new network devices. The MIBs are SNMP
> V2. Is there a way to perform snmpgets of V2 MIB objects from the Unix (AIX)
> command line?

Yes--just try it to see if it works--it very well may.  Though
Netview's /usr/OV/bin/snmpget uses v1 PDU's in its communications, all
standards compliant v2 agents are obliged to repond to v1 snmpgets
appropriately with v1 responses.  In my experience, this compatibility
will get you a long way.  (This incidentally is also why netviews data
collections and thresholds tool can poll many v2 mib elements once you
get over the hump of manually specifying the OID in snmpCol.conf).

The only limitation you might encounter is if you are polling a mib
variable that is of a datatype that is unique to snmpv2 such as
counter64 and such goodies.

In the event NetView's snmpget doesn't get you where you need to go,
you may be interested in the free net-snmp distribution
http://www.net-snmp.org/ which includes an snmpget that you can throw
all sorts of flags to have it poll in v1 v2 or v3 format as you wish.

Best Regards, 
--
jb

---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)


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

Archive operated by Skills 1st Ltd

See also: The NetView Web