nv-l
[Top] [All Lists]

Re: [NV-L] SNMP v2 Browsing

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] SNMP v2 Browsing
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 10 Sep 2008 12:14:37 -0400
Delivery-date: Wed, 10 Sep 2008 17:16:43 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <649a2f660809100847y7f087cb3y77c0d2fb61b98de@mail.gmail.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Yes, you must identify the node as SNMP Version 2 in xnmsnmpconf as there is no way to override that in the xnmbrowser2 GUI. The default is SNMPv1. I'll bet when you are trying it that the Messages box even says it is sending an SNMPv1 request.

You should probably try
/usr/OV/bin/snmp -v 2 -c <community> -h <hostname> GET | WALK <MIB OID>
to verify that the value is returned by the NetView libraries first.

If you define the node as SNMP Version 2 and give the community string in xnmsnmpconf then you won't need to specify either for the snmp command or xnmbrowser2.


James Shanks
Tivoli Network Availability Management Level Three
Network Availability Management
Tivoli Software, IBM Corp
Inactive hide details for "Marcelo Zacchi" <mzacchi@gmail.com>"Marcelo Zacchi" <mzacchi@gmail.com>


          "Marcelo Zacchi" <mzacchi@gmail.com>
          Sent by: nv-l-bounces@lists.ca.ibm.com

          09/10/2008 11:47 AM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>

cc


Subject

Re: [NV-L] SNMP v2 Browsing

James,

First of all, thanks for your reply.
I do have the latest code (7.1.5 - Fp003) and xnmbrowser2 still cannot bring any results from the query. Is there any extra configuration that I have to set to make it work?

On Tue, Sep 9, 2008 at 10:25 AM, James Shanks <jshanks@us.ibm.com> wrote:

    NetView's snmpwalk is SNMPv1-only. It does not support Counter64, which is introduced in SNMPv2. Most SNMPv2 agents will not respond to an SNMPv1 request with Counter64 data.

    If you have current code, NetView 7.1.5, then you can use the new snmp command (UNIX) or wsnmp command (Windows) to retrieve this variable. xnmbrowser2 should also retrieve it, but only with NetView
    7.1.5. Before 7.1.5, xnmbrowser2 requested SNMPv2 OIDs, but in SNMPv1 format

    James Shanks
    Tivoli Network Availability Management Level Three
    Network Availability Management
    Tivoli Software, IBM Corp
    Inactive hide details for "Marcelo Zacchi" <mzacchi@gmail.com>"Marcelo Zacchi" <mzacchi@gmail.com>



Please respond to
Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
To

"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
cc
Subject

[NV-L] SNMP v2 Browsing

    NV users,

    I have been trying to make this work for quite some time, so I have decided to try the list before going to the IBM support.
    The problem is that I am having trouble collecting a SNMPv2 MIB information from a Switch. The variable is Counter64, that technically should work, right?
    The OID is: .1.3.6.1.4.1.9.9.189.1.3.2.1.8.1.1

    When I try to browse it using the xnmbrowser2 I receive the "no value(s) returned for query" message;
    When I try to snmpwalk it (using Netview's snmpwalk) I receive
    snmpwalk xxx.xxx.xxx.xxx .1.3.6.1.4.1.9.9.189.1.3.2.1.8.1.1
    no MIB objects contained under subtree.
    But, if I snmpwalk it using the native snmpwalk, I can reach it:
    snmpwalk.linux -v2c -c AAAAAA xxx.xxx.xxx.xxx .1.3.6.1.4.1.9.9.189.1.3.2.1.8.1.1
    SNMPv2-SMI::enterprises.9.9.189.1.3.2.1.8.1.1.65 = Counter64: 95599235177

    Is anyone able to see what I am missing here?

    Thanks a lot in advance,

    Marcelo Zacchi
    IT Support Analyst

    SIEMENS SIS_______________________________________________
    NV-L mailing list

    NV-L@lists.ca.ibm.com
    Unsubscribe:NV-L-leave@lists.ca.ibm.com
    http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)


    _______________________________________________
    NV-L mailing list

    NV-L@lists.ca.ibm.com
    Unsubscribe:NV-L-leave@lists.ca.ibm.com
    http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

GIF image

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web