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: helmut.schroeder.hs@bayer-ag.de
Date: Wed, 7 Nov 2001 12:43:41 +0100

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


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

Archive operated by Skills 1st Ltd

See also: The NetView Web