mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-02-02 20:59:02 +08:00
Zabbix: lower CPU load alert level, and add STL trend item for testing
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
@@ -165,6 +165,24 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: component
|
||||
value: cpu
|
||||
- uuid: e3e5de475be14197b4f9338d09ecc828
|
||||
name: 'Load average STL'
|
||||
type: CALCULATED
|
||||
key: system.cpu.load.stl
|
||||
value_type: FLOAT
|
||||
params: 'trendstl(/proxy34.fedoraproject.org/system.cpu.load[all,avg1],28d:now/d,1h,1d,3.5)'
|
||||
description: 'Trend-based detection of CPU load anomalies. Expressed as a rate for the last hour.'
|
||||
tags:
|
||||
- tag: component
|
||||
value: cpu
|
||||
triggers:
|
||||
- uuid: 64068fb9f7144be9a34ac45afe477097
|
||||
expression: 'last(/Linux by Zabbix agent active/system.cpu.load.stl)>0'
|
||||
name: 'Load Average STL anomaly detected'
|
||||
priority: INFO
|
||||
tags:
|
||||
- tag: status
|
||||
value: test
|
||||
- uuid: c692df07acc44b4ea1f4f88cd4ee64eb
|
||||
name: 'Load average (1m avg)'
|
||||
type: ZABBIX_ACTIVE
|
||||
@@ -2064,7 +2082,7 @@ zabbix_export:
|
||||
name: 'Linux: Load average is too high'
|
||||
event_name: 'Linux: Load average is too high (per CPU load over {$LOAD_AVG_PER_CPU.MAX.WARN} for {$LOAD_AVG_PER_CPU.MAX.TIME})'
|
||||
opdata: 'Load averages(1m 5m 15m): ({ITEM.LASTVALUE1} {ITEM.LASTVALUE3} {ITEM.LASTVALUE4}), # of CPUs: {ITEM.LASTVALUE2}'
|
||||
priority: AVERAGE
|
||||
priority: WARNING
|
||||
description: 'The load average per CPU is too high. The system may be slow to respond.'
|
||||
tags:
|
||||
- tag: scope
|
||||
|
||||
Reference in New Issue
Block a user