nv-l
[Top] [All Lists]

Re: [nv-l] Menu Creation

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Menu Creation
From: "Oliver Bruchhaeuser" <oliver.bruchhaeuser@de.ibm.com>
Date: Fri, 9 Jan 2004 08:56:04 +0100
Delivery-date: Fri, 09 Jan 2004 08:02:51 +0000
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
A1:
Read about it in the NetView Programmers Reference:
      Chapter 3. Creating and Using the Application Registration File
            Adding Your Application to an Object Menu

A2:
Read about it in the NetView 7.1.3 (or 7.1.4) Release Notes:
      Web Console Enhancements
            Customizing the Web Console Menu

A3:
You can only pass the "Selection Name" to a command you call from the menu.
But you can call your own script and do something like:
      IpAddress=`\usr\ov\bin\nvgethost <Selection Name> | /usr/bin/awk
'{print $3}' | /bin/sed s/,//g`
before calling the web browser.

Hope this helps.

Kind regards

Oliver


|---------+---------------------------->
|         |           Meyos Yemveng    |
|         |           <yemveng@yahoo.ca|
|         |           >                |
|         |           Sent by:         |
|         |           owner-nv-l@lists.|
|         |           us.ibm.com       |
|         |                            |
|         |                            |
|         |           07.01.2004 20:52 |
|         |           Please respond to|
|         |           nv-l             |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                     |
  |       To:       netview Tivoli <nv-l@lists.us.ibm.com>                      
                                     |
  |       cc:                                                                   
                                     |
  |       Subject:  [nv-l] Menu Creation                                        
                                     |
  |                                                                             
                                     |
  |                                                                             
                                     |
  
>------------------------------------------------------------------------------------------------------------------|



Hi Folks,
I have added a new menu to invoke a web page from a selected device on the
Map, to which I am passing the IP Address (or hostname) of the selected
device as an argument.

Fact-1- I have Managed to have that Menu from the MenuBar "Monitor" ==>
"Events" ==> "MyMenuSelection"

Q1: How do I make that new menu "MyMenuSelection" available when right
clicking on the selected device?

Q2: How do I make that new menu "MyMenuSelection" available on the Web
Console

Q3: How Can I extract the IP Address of the selected device instead of the
selection name (to be used as argument to my command)

Cheers,


Thank You,
Meyos
"ALLEZ LES LIONS INDOMPTABLES"



Post your free ad now! Yahoo! Canada Personals








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

Archive operated by Skills 1st Ltd

See also: The NetView Web