Jump to content English
hp.com home
HP Systems Insight Manager  |  Using Default Tools  |  Custom Command Tools  |  Environment Variables for Custom Tools

Custom Command Tools
Environment Variables for Custom Tools

» HP Systems Insight Manager

»Table of Contents
»Index
»Product Overview
»Getting Started
»Monitoring Systems, Events, and Clusters
»Using Tasks
»Using Default Tools
»Command Line Tools
»Cluster Monitor
»Custom Command Tools
»Creating a Custom Command Task
Environment Variables for Custom Tools
»Device Ping
»Disk Thresholds
»Storage Integration
»License Manager
»Managing Tools
»Plug-in Tools
»Property Pages
»Replicate Agent Settings
»MIBs
»System Management Homepage
»System Page
»Version Control
»Database Tables
»Reporting
»Administering the Software
»Troubleshooting
»Printable Version
»Glossary
»Using Help
Content starts here
» Related Procedure
» Related Topic

If your user-defined variables have the same names as the HP Systems Insight Manager environment variables, the HP Systems Insight Manager environment variables override the user-defined variables.

The following environment variables are passed to any application that is launched by setting up the Custom Tool:

NOTICELABEL. Type of notice; a small string that contains Discovered System, other HP Systems Insight Manager server level notices, or the type of trap that caused the notice.

NOTICESTATE. Internal value used by HP Systems Insight Manager, indicating whether the notice is cleared.

NOTICEPLAINTEXT. Plain text description of the notice. Contains detailed information about the notice. (In Progress, Cleared, or Not Cleared)

NOTICERAWDATA. The raw data from the notice is passed as a string. This is a small pipe (|) delimited set of variables and might be useful for some simple parsing rules.

NOTICESEVERITYSTR. Verbose description of the notice severity. Can be one of Critical, Informational, Major, Minor, Unknown, Warning, and Normal.

NOTICESEVERITY. Integer value of the NOTICESEVERITYSTR. Can be one of:

  • 1, Normal

  • 2, Warning

  • 3, Minor

  • 4, Major

  • 5, Critical

  • 100, Informational

NOTICEQUERYNAME. Displays the list name based on how the notice was generated. This value can say one of the following:

  • This system or event meets the following search criteria: +QueryName;

  • This system or event now meets the following search criteria: +QueryName;

  • This system or event no longer meets the following search criteria: +QueryName;

DEVICENAME. Name of the system that caused the notice.

DEVICEIPXADDRESSCOUNT. Number of IPX addresses that are mapped to this system.

DEVICEIPADDRESSCOUNT. Number of IP addresses that are mapped to this system.

DEVICEIPADDRESS%d . Based on the count, %d is an integer that shows the actual IP address. For example:

IF, DEVICEIPADDRESSCOUNT = 2

Then, DEVICEIPADDRESS0 = 111.111.111.111

DEVICEIPADDRESS1 = 222.222.222.222

DEVICEIPXADDRESS%d. Based on the count, %d is an integer that references the actual IPX address.

DEVICEMACADDRESSCOUNT. Number of MAC addresses collected for the system. A Data Collection Task must be run before this information is available.

DEVICEMACADDRESS%d. Based on the MAC address count, %d is an integer that references the actual MAC address environment variable. For example:

IF, DEVICEMACADDRESSCOUNT = 2

Then, DEVICEMACADDRESS0=00:80:5F:7F:B0:81

DEVICEMACADDRESS1=00:80:C7:29:EF:B6

GENERICTRAPID. If this is an event-based list and originated from an SNMP trap, it is set to the SNMP Generic Trap ID of the trap received.

SPECIFICTRAPID. If this is an event-based list and originated from an SNMP trap, it is set to the SNMP Specific Trap ID of the trap received.

Path. This variable has the Path environment variable value from the context in which the service is running.

SystemRoot. This variable has the SystemRoot environment variable value from the context in which the service is running.

Windir. This variable has the Windir environment variable value from the context in which the service is running.

COMPUTERNAME. This variable has the COMPUTERNAME environment variable value from the context in which the service is running.

Related Procedure

» Custom Command Tools - Creating a Custom Command Task

Related Topic

» Using Default Tools - Custom Command Tools