nv-l

Re: [NV-L] SNMP v2 Browsing

2008-09-10 12:16:33
Subject: Re: [NV-L] SNMP v2 Browsing
From: James Shanks <jshanks AT us.ibm DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 10 Sep 2008 12:14:37 -0400

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 AT gmail DOT com>"Marcelo Zacchi" <mzacchi AT gmail DOT com>


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

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


To

"Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT 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 AT us.ibm DOT 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 AT gmail DOT com>"Marcelo Zacchi" <mzacchi AT gmail DOT com>



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

"Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
    Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
    http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)


    _______________________________________________
    NV-L mailing list

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

GIF image

GIF image

GIF image

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT 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>