nv-l
[Top] [All Lists]

Re: Re: Tivoli Netview Menu options

To: nv-l@lists.tivoli.com
Subject: Re: Re: Tivoli Netview Menu options
From: awatthey@mmm.com
Date: Thu, 15 Nov 2001 11:00:27 +0100

Helmut,

Thanks for the info.  Unfortunately if I code this on NT then the Netview
Console won't start.  Just gives me a 'useful' message in nv.log to say an
exception occured.  Don't know if there is more info elsewhere.  If I remove the
file it starts OK so I know it is this new definition causing it.

There's no mention of ObjectMenu in the NT manuals anywhere (that I can find).

I guess I'm stumped for the time being.  Maybe I'll get some time to play again
later.

I've put my items on the drop down menus (menubar) but this is not quite as
useful (many more clicks and I'm lazy).

Alan.


|--------+------------------------------->
|        |          helmut.schroeder.hs@b|
|        |          ayer-ag.de           |
|        |                               |
|        |          07/11/2001 12:43     |
|        |          Please respond to IBM|
|        |          NetView Discussion   |
|        |                               |
|--------+------------------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |     To:     IBM NetView Discussion <nv-l@tkg.com>                          |
  |     cc:     (bcc: Alan Watthey/UK-Europe/3M/US)                            |
  |     Subject:     Re: Re: [NV-L] Tivoli Netview Menu options                |
  >----------------------------------------------------------------------------|







Not quite sure if it is the same on NT but on Unix you can create
a new application registration file (named as you like) under
/usr/OV/registration/C

example for a file:

/*******************************************************************************
* Custom Context Menu
*******************************************************************************/

Application "Information" {
    Description {
        "description ..."
    }

    Copyright {
        "Copyright ..."
    }

    Version "V1";

    ObjectMenu  {                  /* ==> this is the context menuitem */
        "Custom2"   f.menu 'IF Info';
    }

    Menu 'IF Info' {               /* ==> this is a submenu */
        "Testitem" f.action testitem;
    }

    Action testitem {
        SelectionRule (isInterface);
        MinSelected 1;
        MaxSelected 1;
        Command 'xnmappmon -cmd /usr/OV/custom/test.sh $OVwSelection1';
        NameField "IP Address";
    }
}


-----
Cheers,   Helmut







awatthey@mmm.com@tkg.com on 07.11.2001 12:19:45

Bitte antworten an IBM NetView Discussion <nv-l@tkg.com>

Gesendet von:  owner-nv-l@tkg.com



An:   IBM NetView Discussion <nv-l@tkg.com>
Kopie:
Blindkopie:
Thema:    Re: [NV-L] Tivoli Netview Menu options



Leslie,

Thanks.  I've looked but, although there are a few examples, there is no
indication as to what I should code to get a line added to the right-click
context menu.  I guess it will be different from 'menubar' and 'action'.

Alan.




"Leslie Clark" <lclark@US.IBM.COM> on 07/11/2001 04:45:59

Please respond to IBM NetView Discussion <nv-l@tkg.com>


To:   IBM NetView Discussion <nv-l@tkg.com>
cc:    (bcc: Alan Watthey/UK-Europe/3M/US)
Subject:  Re: [NV-L] Tivoli Netview Menu options



I don't know for sure about this on NT, but on Unix it is done
in the same registration files as for the top menu. Look closely
at one of the delivered registration files (/usr/OV/registration/C)
and see how those are specified.

Note that the top menu items rely on a node or nodes being
selected, while items in the context menu apply only to the
node that the mouse is near.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit




                    awatthey@MMM.C
                    OM                   To:     IBM NetView Discussion
<nv-l@tkg.com>
                    Sent by:             cc:
                    owner-nv-l@tkg       Subject:     [NV-L] Tivoli Netview Menu
                    .com                  options


                    11/06/01 05:35
                    AM
                    Please respond
                    to IBM NetView
                    Discussion







Hi,

We are on Netview 6.0.2 on NT4.

We have configured the menu so that we have a couple of new drop down
items.  Is
there any way of getting an extra option onto the right-click menu?

Regards,
Alan.


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l






_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l




_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web