Re: [nv-l] Icons not showing SNMP device type

2004-05-26 15:13:50
Subject: Re: [nv-l] Icons not showing SNMP device type
From: Jane Curry <jane.curry AT skills-1st.co DOT uk>
To: nv-l AT lists.us.ibm DOT com
Date: Wed, 26 May 2004 20:00:35 +0100
You shouldn't be getting symbols with fully-qualified domain names under them. What is the Selection Name of these objects (From Tools -> Display object info). I'd expect the Selection Name to be the fqdn but the label to be the short name.
Check whether nvcold is running away with your CPU too.

Has anything changed recently re DNS???

Still struggling...

Mario Behring wrote:


The devices are showing up with the right symbol in the IP Internet map
and with the Computer (plain square) symbol at the Smartsets.

The difference, for some of these devices, is that the devices that are
inside the Smartsets appear with a full DNS qualified name and at the IP
Internet does not. But there are also, for instance, Cisco Switches that
have the Multi-port symbol in the IPInternet Map and the Computer in the
Smartset, even having only an IP address as hostname.

Very unusual behaviour ...


--- Jane Curry <jane.curry AT skills-1st.co DOT uk> wrote:
Is this something really off-beat like you have run out of space in a filesystem??
What are the permissions on files like oid_to_type and oid_to_sym - mine

are 444 owned by root. Also check permissions on your bitmaps and bitmap directory - 555 on directory and 444 on bitmap files.
What user are running the NetView GUI as?? I would normally shudder
from doing this as root but if you can, try it - that might point-out
whether it is file protection bits somewhere that have gone haywire.
Another thing you might try is start the GUI just using the ovw command
- if there are error messages being thrown out, they get hidden these
days - someone probably remembers where?? - if you just use ovw you
will get any error messages to the window you ran ovw from.
The other trivial possibility is case sensitivity - your entries in
oid_to_sym are EXACTLY the same as standard entries, eg.
With a capital C for Connector and a capital G on Gateway.

You have to report back to us all when we finally solve this one!!


Mario Behring wrote:


The oid_to_sym file is there and all definitions are there also. I even
checked the OID number of some of the devices just in case ... they all
match, so they should have the proper symbol assigned.

Thanks anyway.


--- "Stringfellow, William" <William.Stringfellow AT bankofamerica DOT com>

Hate to ask a dumb question, but do all of the definitions and the
actual symbol bitmaps exist?

To find out, follow the sequence here.  I am using a Cisco C1900 as an
example, just plug in the name of the device you are looking for.

/usr/OV/conf/C/oid_to_sym Switch:cisco-C1900Family

the last 2 parts, Cisco Switch and cisco-C1900Family are the Generic
Specific device names.  You should find them defined in a file in the
/usr/OV/symbols/C directory

In our systems, it is a file called CVTYPE that was created by
You can find what you are looking for by doing a grep for the device
name in all files, "grep C1900Family *" should give you the file name
containing your definition.  If you don't find it, you need to create
the definition.

My cisco-C1900Family has the following definition/pointers:

SymbolType "Cisco Switch" : "cisco-C1900Family"
      Filebase "cat-1900";
      CursorSize 38;

      Capabilities {
              ciscoType = "cisco-C1900Family";
              isCisco = 1;

The name next to Filebase, "cat-1900" is the base name of the symbol
files you want to see in
<[email protected]:/usr/OV/bitmaps/C> ls cat-1900*
cat-1900 cat-1900.26.m cat-1900.32.p cat-1900.44.m cat-1900.50.p
cat-1900.20.m  cat-1900.26.p  cat-1900.38.m  cat-1900.44.p
cat-1900.20.p  cat-1900.32.m  cat-1900.38.p  cat-1900.50.m

        If any of these pointers, or the bitmaps themselves, don't exist, you
get the default symbol at the lowest level Netview is able to identify
the device.  A square box most often means NetView doesn't know what
else to do with it.

        Hope you find one of the definitions or bitmaps missing or incorrect,
that will be easy to fix.  If all of these are correct on your system,
I'm stumped also!

                Best of luck,

Bill Stringfellow
EDS - Bank of America Account Team
Network Management Support
2000 Clayton Road, Building D
Concord, CA 94520

Office:     925.692.7283
Fax:        925.675.1763
Email:     william.stringfellow AT eds DOT com
Cell:       925.765.2648

-----Original Message-----
From: owner-nv-l AT lists.us.ibm DOT com
[mailto:owner-nv-l AT lists.us.ibm DOT com]On
Behalf Of Jane Curry
Sent: Tuesday, May 25, 2004 9:47 AM
To: nv-l AT lists.us.ibm DOT com
Subject: Re: [nv-l] Icons not showing SNMP device type

You are correct - this is weird.  Is it by any chance that the icons
too small to show the sub-device icon?  If you use Shift with left
button to zoom in on an area of the map, do you get the correct icons?


Mario Behring wrote:


The oid_to_sym file is there and all objects, like AIX boxes, Cisco
devices , APC devices, etc, are defined there as they are supposed to
But no device is showing up with the proper symbol at the maps (they
show up as Computers). There are some routers that are Ok, with the
diamond symbol I mean, but the great majority of them are not.

When using the MIB browser to see the OID, I found out that they are
correct, so they should be assigned with the correct symbol.

Also, the if_to_sym file is there and all interfaces are displayed
the proper icon.

This is a very unusual behaviour I think.

Any ideas ?



--- Jane Curry <jane.curry AT skills-1st.co DOT uk> wrote:

The file /usr/OV/conf/C/oid_to_sym  is the one that tells NetView
icon to use for any given SNMP agent.  You can either modify it with
serversetup or you can simply hack it with an editor (much easier if
have several entries IMHO). You provide the OID for the SNMP agent type, the basic shape (Computer for square box, Connector for
=== message truncated ===

Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.

Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2004 Jane Curry <jane.curry AT skills-1st.co DOT uk>.  All rights