beautypg.com

35 variables for all elements – HP Storage Essentials NAS Manager Software User Manual

Page 294

background image

Viewing Element Topology and Properties

264

(Management Servers on Windows Only) If you leave the Remote Console (cmd /k) open after

running a script, users can traverse the directory structure of the management server.

The software provides the following environment variables for you to put in your scripts. For

example, assume you have a script that backups a host. You could use the variables to obtain

information about the host.
The software gathers information about the element you right-clicked. For example, if you use the

variable, APPIQ_ELEMENT_ID, the management server obtains the element ID of the element you

right-clicked.
The following table lists the variables that can be used to gather information for all elements.

*If an application resides on the host, the variables in this table provide information about the

application. See the last table for variables that return information about the host.

The following table lists variables that can be used to gather information for only storage systems,

switches, and hosts.

Table 35

Variables for All Elements*

Variable

Value

APPIQ_ELEMENT_ID

The identifier of an element.

APPIQ_ELEMENT_NAME

The name of the element.

APPIQ_ELEMENT_STATUS

The status of the element, such as the

following:

Managed

Generic

Missing

Virtual Application

Asset

APPIQ_ELEMENT_DESCRIPTION

The description for the element.

APPIQ_ELEMENT_MANAGEMENT_IP_ADDRESS

Contains the IP address of the first

access point used to discover the

element.

APPIQ_ELEMENT_VENDOR

The vendor for the element.

APPIQ_ELEMENT_TYPE_NAME

The type of element, for example,

switch, application, or host.