nv-l
[Top] [All Lists]

RE: [nv-l] Disappearing Icons - right-click menu items not grayed out

To: "Stringfellow, William" <William.Stringfellow@bankofamerica.com>, nv-l <nv-l@lists.tivoli.com>
Subject: RE: [nv-l] Disappearing Icons - right-click menu items not grayed out
From: Kenneth Stoutzenberger <kstoutzenberger@netaphor.com>
Date: Mon, 12 May 2003 10:53:32 -0700
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Mon, 12 May 2003 18:56:37 +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
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 !

###################################################
Bill Stringfellow
EDS
Network Management Support

Office:     925.692.7283
Fax:        925.675.1763
Email:      william.stringfellow@eds.com
Pager:      877.647.8086
ePage:      8776478086@skytel.com
###################################################

-----Original Message-----
From: Kenneth Stoutzenberger [mailto:kstoutzenberger@netaphor.com]
Sent: Friday, May 09, 2003 1:55 PM
To: 'nv-l'
Subject: RE: [nv-l] Disappearing Icons

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
 
 
-----Original Message-----
From: Gareth Holl [mailto:gholl@us.ibm.com]
Sent: Monday, April 28, 2003 7:51 PM
To: Allison, Jason (JALLISON)
Cc: 'nv-l'
Subject: Re: [nv-l] Disappearing Icons


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@us.ibm.com

IBM Software Group - Tivoli Brand
Research Triangle Park,  North Carolina.



"Allison, Jason (JALLISON)" <JALLISON@arinc.com>

04/28/2003 03:28 PM

       
        To:        "'nv-l'" <nv-l@lists.tivoli.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@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>

Archive operated by Skills 1st Ltd

See also: The NetView Web