nv-l
[Top] [All Lists]

Re: [nv-l] Community String Indexing

To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] Community String Indexing
From: "James Shanks" <jshanks@us.ibm.com>
Date: Fri, 3 May 2002 09:27:55 -0400
Just because you want something doesn't mean that it is easy to get. 
NetView does not support Community String Indexing.   If you think it 
should, then you'll have to open an enhancement request to Product 
Marketing.

NetView stores one community name per node and that's it.  If you want the 
MIB Application Builder to use something different, then you're out of 
luck.
But there are other ways to skin this cat, so long as you don't require 
that it look them same and you are willing to write something.  It's going 
to require customization and programming on your part or the user's.  That 
exactly what the original append on this subject says -- you have to write 
your own scripts

You can always launch a script of your own using the snmpget command, 
which allows you to specify the community string you want on each 
invocation, to retrieve the data you want.  You could then integrate this 
into the NetView GUI using xnmappmon.   That would probably be your best 
bet.

Note that if  you wanted a more casual interface,  you could call the 
standard SNMP V1 MIB browser (xnmbrowser), or the SNMP V1/V2 browser 
(xnmbrowser2) from a script which contains the community name and node 
name you want, so that when that pops up, the user just navigates to the 
MIB value he wants and does a query.  You can also have the output saved 
to a file.

But there is no way to force NetView to change community names without 
editing xnmsnmpconf. 

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
 





Fission CC Lin/Taiwan/IBM@IBMTW
05/01/2002 11:50 PM

 
        To:     nv-l@lists.tivoli.com
        cc: 
        Subject:        [nv-l] Community String Indexing

 

Dear all,

  I got the same problem with the situation described below, what I would
ask is " could you give me a direction to script (detailed information)" ?
My customer wants to access the MIB variable as simple as click some menu
item (the MIB application Builder) and a poped-up message box will display
the result,but before this, he must manully change the community name by
SNMP Configuration to access the different device on the same IP address
(my case, WSM module on Nortel passport 8600).That's inconvenient!!!! 
Could
you give me a direction to script such that my customer can access the MIB
variable as simple as just click?

> Sent by:  owner-nv-l@tkg.com
>
> To:   nv-l@tkg.com
> cc:
> Subject:  [NV-L] Object that has multiple community names on the same IP
>
> Hello,
>
> i'have a problem with a netview 6.01 on an AIX 4.3.3 system. I have a
> device on my network that has only 1 IP Address, but reports different
> things every time you specify another community name. With the default
> community e.g. public i'm getting the ethernet statistics. If i use e.g.
> public@s1 i'm getting different things which are related with the first
> slot's connected devices (e.g. some wan interfaces).
>
> How can i modify this object and assign to it 2 (or more) community
> names?
> I've seen Sunnet Manager to do this and i was impressed....can Netview
> do this?
>
> Thanks in advance
>
> Dimitris Leventidis
>
> 
_________________________________________________________________________
> NV-L List information and Archives: http://www.tkg.com/nv-l

If you don't know already, this is called Community string Indexing and is
used to access MIBS that have multiple instances for a single MIB value.
Some switch  vendors use this to get stats for all the bridge interfaces 
on
a switch by just adding the @ sign followed by the port or VLAN number to
the single community name assigned to the entire device.  IE..
public@25
would read the bridge mib for VLAN25 or it could be a single port on a
board
IE..  public@3/1      for board 3 port 1.    If the device does not have
multiple instances of a MIB,  adding the @ does nothing and it will still
access the single instance of that MIB.    Also note that a trap sent from
a
multiple instance MIB should have the source attached as the instance with
the @ sign.

This is a very powerful feature to use if your device supports it.


So with a little scripting you could do what ever you want.


Jeff Fitzwater
OIT Systems & Networking
Princeton University

Best Regards,
Fission Lin, 林倩全
I / T Specialist  , Tivoli Professional Services,
ITS/SMBU/NSM,  IBM Taiwan
206, Sec.1 Keelung Rd, Taipei, Taiwan, R.O.C.
Tel:886-2-2725-8872, Mobile:0935-558622
E-Mail: flin@tw.ibm.com



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

Archive operated by Skills 1st Ltd

See also: The NetView Web