Deleting a custom command, Software environment variables for scripting, 40 variables for all elements – HP Storage Essentials NAS Manager Software User Manual
Page 336
Viewing Element Topology and Properties
304
5.
Click OK.
The custom command is modified.
Deleting a Custom Command
To delete a custom command:
1.
Right-click an element in System Manager.
2.
Select Custom Commands > Set Up Custom Commands from the drop-down menu.
3.
Click the button corresponding to the custom command you want to delete.
The custom command is deleted.
Software Environment Variables for Scripting
Keep in mind the following:
•
Run scripts at your own risk. The management server lets you run any script including those that
can disable the management server.
•
(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.
Table 40
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.