Ken,
You might have to go into the /usr/OV/conf/C/symbol_to_oid
file and create an entry for your printer OID. Then change the pointer for
the symbol entry you want to have the new ICON. Just change the
pointer to the correct bitmap and you should be ok.
As an example, for 1.3.6.1.4.1.9.1.388 it is a Cisco C12406
router, the symbol definition is "cisco-C12406Family" in the #1 entry
below
This points to an entry in a file in my /usr/OV/symbols/C
directory as shown in #2 below, the line you want to change is the one that says
Filebase. Where mine has the "12000", enter the name of the bitmap in
/usr/OV/bitmaps/C you want to always see for these devices.
1. Create oid_to_sym entry for the specific
device
/usr/OV/conf/C/oid_to_sym
1.3.6.1.4.1.9.1.388:Cisco Router:cisco-C12406Family
2. In the file containing the definition for the device in the
"cisco-C12406Family" position, change the "Filebase" pointer to the name of the
bitmap you want to see on your map:
/usr/OV/symbols/C my file is CVTYPE, yours may be
something else.
SymbolType "Cisco Router" : "cisco-C12406Family"
<-- match the entry in the oid_to_sym
file. { Filebase
"12000"; <-- put in the name of the bitmap you
want to see on your map CursorSize
38; Capabilities
{
ciscoType = "cisco-C12406Family"; <-- Ignore/delete
this or put in device
flags
isCisco = 1; <-- Same as
above. }
That, combined with your
script, should do the trick.
Good
luck,
Bill
Please update my e-mail address in your address book
!
################################################### Bill
Stringfellow EDS Network Management
Support
Office:
925.692.7283 Fax:
925.675.1763 Email:
william.stringfellow AT eds DOT com Pager:
877.647.8086 ePage:
8776478086 AT skytel DOT com ###################################################
This
was an interesting subject because I've just been troubleshooting a problem
with the NetView symbol icons.
I
have written a Java application that searches the NetView maps for a
particular vendor's printers. Once it finds a match (by comparing the
preferred IP addresses of the symbol against a database of device IPs),
it makes the symbol executable so that one can launch a browser to manage the
device. It also changes the symbol to a vendor-specific printer
icon.
I
leave NetView running over night and the next morning, the symbols that I've
managed have reverted back to the standard NetView icon. I
don't know why this is happening. The symbol is still executable,
indicating that my application still controls it.
I've
noticed that the printer has gone into sleep mode. Is it possible that
the NetView application recognized that the printer went into sleep mode and
isn't available and changed the icon?
The
only way I am able to display the vendor-specific icon again is to take the
printer out of sleep mode and empty NetView's database. When items are
rediscovered, everything seems to be operating as expected
again.
Is
there anything that I can check inside the NetView application to see why
the symbol reverts back to its original icon? I'm not an administrator
and I don't know a whole lot about the application
specifics.
I
can fix this through my Java application by periodically checking the
icon. Right now, I only check it initially and then never check it again
as long as the application is running. However, I think there might be
something in NetView that I am overlooking.
Many
thanks.
Ken
Unix version of
NetView, Menu "Options->SNMP Configuration" or use the command
"xnmsnmpconf". Look for "Node Down Delete Interval".
Windows version ?? Probably part of the SNMP settings
but I don't have a GUI in front of me to check.
Gareth Holl Staff
Software Engineer gholl AT us.ibm DOT com
IBM Software Group - Tivoli
Brand Research Triangle Park, North Carolina.
| "Allison, Jason (JALLISON)"
<JALLISON AT arinc DOT com>
04/28/2003 03:28 PM
|
To: "'nv-l'"
<nv-l AT lists.tivoli DOT com> cc:
Subject: [nv-l] Disappearing
Icons
|
This may have been discussed before, but how do
you change the time an object is removed from the Netview Database
because it has been down for (10 days) an extended period of
time.
Thanks,
Jason Allison Principal Engineer ARINC
Incorporated Office: (410) 266-2006 FAX: (410)
573-3026
--------------------------------------------------------------------- To
unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com For additional
commands, e-mail: nv-l-help AT lists.tivoli DOT com
*NOTE* This is not an
Offical Tivoli Support forum. If you need immediate assistance from
Tivoli please call the IBM Tivoli Software Group help line at
1-800-TIVOLI8(848-6548)
|