Tool parameter guidelines, H-14, New command line tool parameter entry guidelines – HP Systems Insight Manager User Manual

Page 227

Advertising
background image

Table H-13 Environment Variables (continued)

Description

Names values

Based on the count of IP addresses, %d is an integer that
shows the actual IP address. For example, if
DeviceIPAddressCount=2 then
DeviceIPAddress0=111.111.111.111 and
DeviceIPAddress1=222.222.222.222.

DeviceIPAddress%d

Based on the MAC address count, %d is an integer that
references the actual MAC address variable. If
DeviceMACAddressCount=2 then,
DeviceMACAddress0=00:80:5E:7F:B0:81 and
DeviceMACAddress1=00:80:C7:29:EF:B6

DeviceMACAddress%d

If tied to an event list and the event was a SNMP trap, then
this is set to the SNMP generic trap ID of the trap received

GenericTrapID

If tied to an event list and the event was a SNMP trap, then
it is set to the SNMP specific trap ID

SpecificTrapID

Path variable received from the operating system (received
in context of the windows service account)

Path

Variable received from the operating system (received in
context of the windows service account)

SystemRoot

Variable received from the operating system (received in
context of the windows service account)

WinDIR

Variable received from the operating system (received in
context of the windows service account)

ComputerName

Tool parameter guidelines

Guidelines for entering parameter field data when creating new command line tools.

Table H-14 New Command Line Tool parameter entry guidelines

Entry guidelines

Parameter string assignment

Data entry required?

Parameter field

As when using the CLI, the
name of the new tool should
be descriptive of the tool's
function.

%1

Yes

Tool name

This is the new command
used to call the tool, and it
may include parameters.

%2

Yes

Tool command

If the Tool command includes
the %1 parameter, then this
field entry is required to
specify the destination
prompt.

%3

No

Prompt

Use this entry to specify the
location of the tool in the
menu. If left blank, the new
tool will be added to the
Tools

Command Line

Tools

menu.

%4

No

Tool menu category

Description of what the new
tool does.

%5

No

Tool description

Description of how to use
(invoke) the new tool.

%6

No

Tool help comment

Tool parameter guidelines 227

Advertising