To: | Kenneth Stoutzenberger <kstoutzenberger@netaphor.com> |
---|---|
Subject: | RE: [nv-l] Disappearing Icons - right-click menu items not grayed out |
From: | Gareth Holl <gholl@us.ibm.com> |
Date: | Mon, 12 May 2003 19:10:35 -0400 |
Cc: | nv-l <nv-l@lists.tivoli.com>, "Stringfellow, William" <William.Stringfellow@bankofamerica.com> |
Delivered-to: | mailing list nv-l@lists.tivoli.com |
Delivery-date: | Tue, 13 May 2003 00:13:01 +0100 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
List-help: | <mailto:nv-l-help@lists.tivoli.com> |
List-post: | <mailto:nv-l@lists.tivoli.com> |
List-subscribe: | <mailto:nv-l-subscribe@lists.tivoli.com> |
List-unsubscribe: | <mailto:nv-l-unsubscribe@lists.tivoli.com> |
Mailing-list: | contact nv-l-help@lists.tivoli.com; run by ezmlm |
I did not go back and read any of the history of this thread, so I'll just make a quick suggestion which will be very easy for you to check: From a native read-write GUI, go to "File -> Describe Map...." Select "IP Map", click "Configure For This Map ..." Scroll to the bottom and change "Should IP Map override user symbol customization?" to False. Goodluck Gareth Holl Staff Software Engineer gholl@us.ibm.com IBM Software Group - Tivoli Brand Research Triangle Park, North Carolina.
Thank you very much for your suggestions. I am taking a look into it now to see if it solves my problem and I'll post the conclusion once I've finished. ADDITIONAL INFO: I've written a java application that compares the map symbols against a database of IP addresses. If the IP address matches a symbols corresponding IP, then the application sets a field value (see below) to true and changes the symbol icon to a custom icon that I've created. When the MetaConsoleManageble field is true, the custom right-click menu items are available for selection. The menu items should be grayed out for all other symbols. The problem that I am experiencing is that after a period of time - several hours to a day - the symbol icon reverts back to the NetView icon and the right-click menu items are available for any symbol. My application attempts to manage the symbols every minute. If a symbol's SNMP IP address no longer matches one from my database, I unmanage the symbol and revert back to the original NetView symbol. It appears that field I created, MetaConsoleManageable (see below), remains valid throughout the NetView session. I've verified this by removing the IP addresses from my database and my application unmanages the symbols. When I add the IP addresses back to the database, the symbols get re-managed. However, NetView can no longer display the right icon and the problem with the menu items still exists. These problems will go away after clearing the database, but this isn't even 100% reliable. I hope my explanation isn't getting too involved, because I don't want (nor do I think anyone else wants) to troubleshoot my application. It is just that I think there may be something else involving the NetView application and I am not toooooo familiar with setting up its parameters. I am using essentially the same code for my application that runs with HP OpenView and am not exhibiting the any of the stated problems. FYI - this is the new field that I created and my application sets its value to true when I manage the symbol. Field "MetaConsoleManageable" { Type boolean; Flags capability; } This is my .REG file that defines the menu items. ObjectMenu { <10> "MetaConsole Configuration" f.action "ShowMetaConsoleConfiguration"; <10> "MetaConsole Server Configuration" f.action "ShowServerConfiguration"; <10> "MetaConsole Service Provider Configuration" f.action "ShowServiceProviderConfiguration"; <2> "separator49" f.separator; } Action "ShowMetaConsoleConfiguration" { SelectionRule MetaConsoleManageable; MinSelected 1; MaxSelected 1; } Action "ShowServerConfiguration" { SelectionRule MetaConsoleManageable; MinSelected 1; MaxSelected 1; } Action "ShowServiceProviderConfiguration" { SelectionRule MetaConsoleManageable; MinSelected 1; MaxSelected 1; } Many thanks for everyone's help and if you made it to here, thanks for reading my message :) Regards, Ken -----Original Message----- From: Stringfellow, William [mailto:William.Stringfellow@bankofamerica.com] Sent: Friday, May 09, 2003 3:28 PM To: Kenneth Stoutzenberger; nv-l Subject: RE: [nv-l] Disappearing Icons 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 ! -----Original Message-----
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@lists.tivoli.com For additional commands, e-mail: nv-l-help@lists.tivoli.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) |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: [nv-l] java hogging CPU, Barr, Scott |
---|---|
Next by Date: | RE: [nv-l] Disappearing Icons - right-click menu items not grayed out, Kenneth Stoutzenberger |
Previous by Thread: | RE: [nv-l] Disappearing Icons - right-click menu items not grayed out, Kenneth Stoutzenberger |
Next by Thread: | RE: [nv-l] Disappearing Icons - right-click menu items not grayed out, Kenneth Stoutzenberger |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web