nv-l
[Top] [All Lists]

RE: [nv-l] Fixing plain green squares?

To: "'nv-l@lists.us.ibm.com'" <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] Fixing plain green squares?
From: "Scherting, Mark" <mscherting@state.mt.us>
Date: Wed, 8 Sep 2004 16:28:19 -0600
Delivery-date: Wed, 08 Sep 2004 23:42:48 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Bill,
 
Thank you!
 
I do believe this is what I'm missing.  I'll probably use an existing bitmap, but I just knew I was missing some mapping somewhere.
 
Mark
-----Original Message-----
From: Stringfellow, William [mailto:William.Stringfellow@bankofamerica.com]
Sent: Wednesday, September 08, 2004 1:20 PM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] Fixing plain green squares?

Mark,
    You might want to check /usr/OV/symbols/C directory and make sure there is a pointer from your specified device to an existing bitmap series.
    This is an extract from my /usr/OV/symbols/C/CVTYPE file
 
SymbolType "Cisco Switch" : "cisco-Cat2908xlFamily"    <--  This will be your 3rd column of oid_to_sym cisco-Cat2940Family
{
        Filebase "c2900cxl";        <--    This is the name of the compiled bitmap in /usr/OV/bitmaps/C directory
        CursorSize 38;
 
        Capabilities {
                ciscoType = "cisco-Cat2908xlFamily";
                isCisco = 1;
        }
}
 
 
    You can either use an existing bitmap, or take one that is close to what you want and edit it with a bitmap editor to make it exactly what you want to see.  If you do the editing, you need to do a complete set of files, both the bitmap and mask file for each of the sizes so that it will scale as you change your map scale.  It is actually sort of fun to make your own.  In my case, I can't draw a straight line with a ruler, so it gives me some sense of artistic accomplishment that I don't otherwise get  ;>)
 
    Enjoy,
    Bill

Bill Stringfellow
EDS - 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 Scherting, Mark
Sent: Tuesday, September 07, 2004 12:50 PM
To: nv-l@lists.us.ibm.com
Subject: [nv-l] Fixing plain green squares?

Its been a while since I've had to do this and I need my memory refreshed.
 
I'm trying to get a few Cisco 2940 switches (1.3.6.1.4.1.9.1.542) to show up with a suitable generic Cisco icon instead of a plain green square.
 
So far I've added the following to oid_to_type:

1.3.6.1.4.1.9.1.542:cisco Systems:Cisco Switch:BH

and to oid_to_sym:

1.3.6.1.4.1.9.1.542:Cisco Switch:cisco-Cat2940Family

after copying /usr/OV/fields/Cat2950Family.fields to Cat2940Family.fields.

 

I've deleted the offending objects from all submaps, stopped netmon, run ovmapcount -a, ovtopofix -A, ovw -fields, ovw -config, ovw -verify and restarted netmon and the R/W map.  These devices are still showing up as plain green squares although the vendor and agent fields are now set to Cisco.

What am I missing or screwing up?

TIA!

Mark Scherting
State of Montana
Information Technology Services Division

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

Archive operated by Skills 1st Ltd

See also: The NetView Web