ASAP 2.8 Server Manual
Using Discrete Object Thresholds (DOTs)
HP NonStop ASAP Server Manual—522303-007
4-9
Event Considerations Summary
Therefore, RANK PROCESS, STATUS = “DOWN” is an invalid command because
objectives cannot be set on the Status attribute.
However, to control how ASAP generates events on Status changes, you can enter
event control keywords using the Status attribute. By default, ASAP writes one critical
EMS event when it finds a system object whose OpState passes the event generation
test. If up events are on, it writes one corresponding up event when the object
recovers.
To repeat the event at each interval, to have the event be an informative event, or to
turn off events for the object altogether, use the RANK command:
•
To change the event generated for all down processes to a repeating event:
RANK PROCESS, STATUS CRITICAL REPEAT
•
To change the event generated for failures of $Abc to an informative event:
RANK PROCESS $ABC, STATUS INFO
•
To turn off event generation for status changes to process $Def:
RANK PROCESS $DEF, STATUS NOEMS
By default, ASAP user-defined entities do not generate EMS events for Status
changes. Because a single process can register hundreds of user domains with ASAP,
failure of that process could generate hundreds of EMS messages. User-defined
entities are created to describe your applications that use the ASAP Extension to
register with ASAP. To turn on events for Status changes of user-defined entities:
•
To generate a nonrepeating critical event when the Status changes to a bad state
for any ATM domain:
RANK ATM, STATUS CRITICAL
•
To generate a critical event and repeat it at each interval whenever $Atm37 fails:
RANK ATM\CHICAGO\WEST\$ATM37, STATUS CRITICAL REPEAT
The ASAP Extension provides an API that applications can use to set the Status and
OpState for domains they register. Using the ASAPX API, an application gains direct
control over when ASAP generates an event on behalf of that application.
Event Considerations Summary
•
To turn on DOTs event generation, use the SET ObjectivesEvent ON and SET
ObjectivesEventUp ON commands in your ASAPCONF file.
•
To define when to generate events, set ObjectivesEventState,
ObjectivesEventMax, and other parameters.
•
To modify ASAP’s automatic generation of Status change events for system
objects, use RANK, STATUS.