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
1.3.6.1.4.1.9.5.28:Cisco Switch:cisco-C1900Family
the last 2 parts, Cisco Switch and cisco-C1900Family are the Generic and
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 NetView. 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
/usr/OV/bitmaps/C
<userid@servername:/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
Bill Stringfellow
EDS - Bank of America Account Team
Network Management Support
CA4-704-02-03
2000 Clayton Road, Building D
Concord, CA 94520
Office: 925.692.7283
Fax: 925.675.1763
Email: william.stringfellow@eds.com
Cell: 925.765.2648
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On
Behalf Of Jane Curry
Sent: Tuesday, May 25, 2004 9:47 AM
To: nv-l@lists.us.ibm.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 are
too small to show the sub-device icon? If you use Shift with left mouse
button to zoom in on an area of the map, do you get the correct icons?
Cheers,
Jane
Mario Behring wrote:
>Jane,
>
>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 be.
>But no device is showing up with the proper symbol at the maps (they all
>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 all
>correct, so they should be assigned with the correct symbol.
>
>Also, the if_to_sym file is there and all interfaces are displayed with
>the proper icon.
>
>This is a very unusual behaviour I think.
>
>Any ideas ?
>
>Thanks.
>
>Mario
>
>
>
>
>--- Jane Curry <jane.curry@skills-1st.co.uk> wrote:
>
>
>>The file /usr/OV/conf/C/oid_to_sym is the one that tells NetView what
>>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 you
>>
>>have several entries IMHO). You provide the OID for the SNMP agent
>>type, the basic shape (Computer for square box, Connector for diamond
>>shape, etc) and the sub-symbol (which can be anything you can see from
>>the Help -> Legend display of devices. You obviously have SNMP access
>>to your devices from what you say so get the system variables from your
>>devices to get the OID.
>>
>>Cheers,
>>Jane
>>
>>Mario Behring wrote:
>>
>>
>>
>>>Hi list,
>>>
>>>I have a TNV 7.1.4 for AIX. I have many routers, switches and AIX boxes
>>>with SNMP running and the proper CommunityName configured at NetView.
>>>
>>>
>>The
>>
>>
>>>problem is that even having the SNMP running and the MIB Browser can
>>>retrieve all SNMP values, the icon displayed is the old flat square
>>>
>>>
>>with
>>
>>
>>>no icon inside.
>>>
>>>Shouldn´t NV display the proper icon type for each SNMP device ?
>>>
>>>One more detail: this happened after a complete clear database command
>>>
>>>
>>and
>>
>>
>>>a full rediscovery process.
>>>
>>>Any help is appreciated.
>>>
>>>Mario
>>>
>>>
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Friends. Fun. Try the all-new Yahoo! Messenger.
>>>http://messenger.yahoo.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>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@skills-1st.co.uk>. All rights
>>reserved.
>>
>>
>>
>>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Friends. Fun. Try the all-new Yahoo! Messenger.
>http://messenger.yahoo.com/
>
>
>
>
>
--
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@skills-1st.co.uk>. All rights
reserved.
|