beautypg.com

Launching applications using custom tools, Custom tool menu placement, Custom tool url format – HP Systems Insight Manager User Manual

Page 82

background image

IF, RELATEDDEVICECOUNT = 2
Then, RELATEDDEVICEIP0=111.111.111.111
RELATEDDEVICEIP1=222.222.222.222

RELATIONSHIP%d. The relationship string with the associated system, and %d is the iteration
number. For example:

IF, RELATEDDEVICECOUNT = 2
Then, RELATIONSHIP0=ServerToEnclosure
RELATIONSHIP1=VMGuestToVMHost

Launching applications using custom tools

Use custom tools in HP SIM to combine RIBCL, CPQLOCFG, and system collection to manage
Group Administration of iLO systems. Custom tools are executed on the CMS, and on target systems.
You can create a remote tool that runs on selected targeted systems, and even schedule its execution.
For more information about custom tools, see the HP SIM help.

Custom tool menu placement

To place custom tools in the following menu locations, use a string in the form
base|submenu|subsubmenu

.

Example

Menu level

Tools

top-level-menu

Tools|Custom Tools

top-level-menu|first-level-cascade

Tools|Custom Tools|My Tools

top-level-menu|first-level-cascade|second-level-cascade

For example, place a tool under Tools

→Custom Tools, place an entry in the Menu placement field

such as Tools|CustomTools.

By default, if the Menu placement field is left blank, the tools are placed in Tools

→Custom Tools.

Custom tool URL format

The URL strings for web-aware tools and command line tools must be provided as absolute URLs
beginning with http:// or https://. For example,

https://%n:1188/kcweb/ https://%l:2381/

Web-launch aware tools and command line tools that always run on the CMS must be relative
URLs beginning with /. For example,

/propertypages/Identify.jsp?device=%n

Multiple selections can be substituted into the URL. A selection index is used during the substitution
process to track the current selection. The selection index is initially set to 1, and the first selection
of the list of selected target systems remains current until a %z parameter is encountered in the
URL. (An exception to this exists in the repeat block.) When the %z parameter is encountered, the
next selection becomes current, the selection index is incremented by 1, and so on. For example,

http://server/app/doit.jsp?name=%n%z&addr=%a

where the doit.jsp page is invoked with the network name of the first selected system assigned
to the name parameter and with the IP address of the second selected target assigned to the addr
parameter.

82

HP SIM custom tools