Re: Re: Tivoli Netview Menu options
2001-11-07 06:43:41
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 AT mmm DOT [email protected] on 07.11.2001 12:19:45
Bitte antworten an IBM NetView Discussion <nv-l AT tkg DOT com>
Gesendet von: owner-nv-l AT tkg DOT com
An: IBM NetView Discussion <nv-l AT tkg DOT 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 AT US.IBM DOT COM> on 07/11/2001 04:45:59
Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>
To: IBM NetView Discussion <nv-l AT tkg DOT 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
[email protected]
OM To: IBM NetView Discussion
<nv-l AT tkg DOT 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
|
|
|