Download HP OpenView Performance Agent - Hewlett Packard Enterprise
Transcript
Performance Alarms Alarm Syntax Reference The following ALARM example tests the metric gbl_cpu_total_util and the metric gbl_cpu_sys_mode_util. If both conditions are true, the RED ALERT statement sends a red alert. When either test condition becomes false, the RESET is sent. ALARM gbl_cpu_total_util > 90 AND gbl_cpu_sys_mode_util > 50 FOR 5 MINUTES START RED ALERT "CPU busy and Sys Mode CPU util is high." END RESET ALERT "The CPU alert is now over." The next ALARM example tests the metric gbl_cpu_total_util and the metric gbl_cpu_sys_mode_util. If either condition is true, the RED ALERT statement sends a red alert. ALARM gbl_cpu_total_util > 90 OR gbl_cpu_sys_mode_util > 50 FOR 10 MINUTES START RED ALERT "Either total CPU util or sys mode CPU high" WARNING Do not use metrics that are logged at different intervals in the same alarm. For example, you should not loop on a process (logged at 1-minute intervals) based on the value of a global metric (logged at 5-minute intervals) in a statement like this: IF global_metric THEN PROCESS LOOP... The different intervals cannot be synchronized as you might expect, so results will not be valid. Chapter 7 225