ASAP 3.0 Client Manual

HP NonStop ASAP Client Manual Page 144 of 161
The notion of entity and attribute are synonymous with table and column in the SQL
data model. An entity can be thought of as a table. An attribute can be thought of as a
column in a given table.
An attribute is a user-defined property of an entity such as Node Name, or CPU
number. An attribute can also be a performance or state property such as a Status
string attribute or its associated Operational State property.
The Attribute statement syntax is:
ATTRIBUTE attribute-name
Align
LEFT | RIGHT
145
Format
<String>
146
Graph
<Boolean>
147
GraphMax
<Number>
147
Grid
<Boolean>
148
Heading
<String>
148
HeadPickup
<Boolean>
149
Help
<String>
150
MetricRule
<String>
150
StatePair
<Boolean>
151
StateIsOp
<Boolean>
152
StateRule
<String>
153
TypeData
INT | INT32 | INT64 | REAL64 | CHARnn
154
Attribute definition keywords
These attribute definition keywords are keywords in EDL that define characteristics of
user-defined attributes for an entity. These characteristics let ASAP provide specific
availability monitoring services for user-defined attributes.
Example
This example shows user-defined attributes for the CPU entity. These attributes
determine how the ASAP Client displays and analyzes CPU attribute properties such
as CPU Number, Busy, Queue, and Swap rate.
ENTITY Cpu
CI ASAP
Command "CPU \*,RAW,TAB"
Enabled YES
Help "Central Processor Units"
KeyForNode NodeName
KeyForObj Cpu
KeyForRow "Date Time"
Reserved YES;