ASAP 2.8 Client Manual

Entity Definition Language (EDL)
HP NonStop ASAP Client Manual425263-004
6-21
EDL - ATTRIBUTE Statement
MetricRule <String> 6-26
StatePair <Boolean> 6-27
StateIsOp <Boolean> 6-28
StateRule <String> 6-29
TypeData INT | INT32 | INT64 | REAL64 | CHARnn6-29
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;
AT NodeName GRID YES GRAPH NO GRAPHMAX 0 HELP "NSK System Name";
AT Sysnum GRID NO GRAPH NO GRAPHMAX 0 HELP "System Number";
AT Cpu GRID YES GRAPH NO GRAPHMAX 0 HELP "CPU Number";
AT Status GRID YES GRAPH YES GRAPHMAX 0 HELP "Operational Status"
STATEPAIR YES STATEISOP YES
STATERULE UseStateGraphState
TYPE CHAR5;
AT OpState GRID NO GRAPH NO GRAPHMAX 9 HELP "Operational State";
AT Date GRID NO GRAPH NO GRAPHMAX 0 HELP "Date of Stats";
AT Time GRID YES GRAPH YES GRAPHMAX 0 HELP "Time of Stats";
AT Valid GRID NO GRAPH NO GRAPHMAX 0 HELP "Validity Flag";
AT CpuType GRID NO GRAPH NO GRAPHMAX 0 HELP "Processor Type";
AT ET GRID NO GRAPH NO GRAPHMAX 0 HELP "Elapsed Minutes";
AT Busy GRID YES GRAPH YES GRAPHMAX 100 HELP "Percent Cpu Busy"
HEADING "Busy%";
AT Queue GRID YES GRAPH YES GRAPHMAX 10 HELP "Cpu Queue Length";
AT Disp GRID YES GRAPH YES GRAPHMAX 5000 HELP "Dispatch rate";
AT Disk GRID YES GRAPH YES GRAPHMAX 100 HELP "Disk I/O rate";
AT Chit GRID YES GRAPH YES GRAPHMAX 100 HELP "Disk Cache Hit rate";
AT Swap GRID YES GRAPH YES GRAPHMAX 10 HELP "Memory Swap rate";
In this example, the NodeName attribute has its Show GRID attribute property set to
YES and GRAPH attribute property set to NO. The GRAPH property is not enabled
because it does not make sense to graph a node name.
Also, the user-defined CPU attribute defines the CPU number and has HELP text
"CPU Number".