beautypg.com

Environment variables – HP Systems Insight Manager User Manual

Page 208

background image

Two adjacent period characters are interpreted as if they delimited the number zero, so
"1.0.3" is equal to "1..3".

A beginning period character is interpreted as if preceded by a zero, so ".9" is equal to
"0.9".

Trailing zero numbers are disregarded, so "1.0.0" is equal to "1"

Environment Variables

Specific environment variables (EVs) available to use for TDEFs. In addition to this list, operating
system environment variables are also available (for Windows systems) to be passed into TDEFs.
In addition to these "automatic" EV's, user-defined environment variables may be set as part of
scripting in the TDEFs.

Table 35 Environment Variables

Description

Names values

The short string type of event (like Discovered Device)

NoticeLabel

Shows whether the event has been cleared

NoticeState

Plain text description of the event and also includes whether
it is set to In Progress, Cleared, or Not Cleared

NoticePlainText

The raw data of the event that was sent and in a string
format. It is in a pipe (|) delimited format that can be used
for simple parsing

NoticeRawData

Can be Critical, Major, Minor, Unknown, Normal,
Warning, or Informational

NoticeSeverityStr

An integer format of the severity

NoticeSeverity

1 — noormal

2 - Warning

3 - Minor

4 - Major

5 - Critical

6 - Informational

Displays the event list that generated the event. In the format
of:

NoticeQueryName

This device or event meets the following query criteria:

+QueryName;

This device or event now meets the following query
criteria:

+QueryName;

This device or event no longer meets the following query
criteria:

QueryName

Name of the device that generated the event

DeviceName

Number of IPX addresses that are mapped to this device

DeviceIpxAddressCount

Number of IP addresses that are mapped to this device

DeviceIPAddressCount

Based on the count of IP addresses, %d is an integer that
shows the actual IP address. For example, if

DeviceIPAddress%d

DeviceIPAddressCount=2 then
DeviceIPAddress0=111.111.111.111 and
DeviceIPAddress1=222.222.222.222.

208 Custom tool definition files