ASAP Migration Guide for NSX and OMF Users
ASAP Examples
ASAP Migration Guide for NSX and OMF Users—520627-001
A-12
Monitoring System
6. Set global objectives and generate EMS events:
+ RANK SPOOLER, numlocs < 75 INFO REPEAT, numlocs >= 1 INFO
REPEAT
+ RANK SPOOLER, fullpct <= 80 CRITICAL REPEAT
7. Set specific objectives and generate EMS events:
+ RANK SPOOLER $spls\coll, holdjobs < 150 CRITICAL REPEAT
+ RANK SPOOLER $spls\coll, openjobs < 45 INFO REPEAT
8. Display currently configured objectives in the Objectives DB of the local node:
+ RANK SPOOLER
Spooler \Chicago
Numlocs < 75 Info Repeat
Numlocs >= 1 Info Repeat
FullPct <= 80 Critical Repeat
$Spls\Coll
Holdjobs < 150 Critical Repeat
Openjobs < 45 Info Repeat
9. Commit the changes to see results at the next sample:
+ COMMIT
10. List the attributes of the Spooler entity:
+ SHOW SPOOLER
You can set objectives on any attribute with a state pair; for example, Error, Pcpu, Bcpu,
Numjobs, and so on.
Monitoring System
1. Start monitoring SYSTEM (for the SYSTEM entity, no specific domains exist. The
SYSTEM entity produces the average system performance of all CPUs that are
currently monitored by ASAP):
+ MONITOR SYSTEM
System \Chicago, On
2. Commit the changes to see results at the next sample:
+ COMMIT
3. Display currently configured objectives in the Objectives DB of the local node:
+ RANK SYSTEM
<no objectives>
4. Set global objectives and generate EMS events:
+ RANK SYSTEM, queue < 10 INFO REPEAT, chit < 100 INFO REPEAT
+ RANK SYSTEM, disp <= 1000 CRITICAL REPEAT
+ RANK SYSTEM, tle <= 70 CRITICAL REPEAT