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

Page 162

Advertising
background image

Description

Names values

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 – Normal

2 – Warning

3 – Minor

4 – Major

5 – Critical

100 - 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 DeviceIPAddressCount=2

DeviceIPAddress%d

then DeviceIPAddress0=111.111.111.111 and
DeviceIPAddress1=222.222.222.222.

Based on the MAC address count, %d is an integer that references
the actual MAC address variable. If DeviceMACAddressCount=2

DeviceMACAddress%d

then, DeviceMACAddress0=00:80:5E:7F:B0:81 and
DeviceMACAddress1=00:80:C7:29:EF:B6

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

162

Custom tool definition files

Advertising