HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM SNMP Toolkit
How do I use SNMPTK?
Chapter 7150
Step 2. Use the SNMP data item as a metric
In the WLM configuration file, use the metric, in this case
active_processes, in an SLO in any of the following statements:
goal statement
cpushares statement
condition or exception statement
In the following example, our metric is used in a condition statement.
This SLO will request 40 CPU shares for the group g3 when there are
fewer than 200 processes currently active on the system.
slo low_proc {
pri = 1;
cpushares = 40 total;
entity = PRM group g3;
condition = metric active_processes < 200;
}
Step 3. Check the WLM configuration file’s syntax:
# wlmd -c configfile
Fix any errors that are found.
Step 4. Activate the WLM configuration file:
# wlmd -a configfile