1、在Template OS Linux模板创建item

Configuration-->Templates-->Template OS Linux-->items-->create item

name:  Memory usage  (名称自定义)

type:Calculated #计算类型

key:vm.memory.free[percent]    (key自定义)

Formula:100*((last("vm.memory.size[total]")-last("vm.memory.size[available]"))/last("vm.memory.size[total]"))

Units: %

Applications:Memory

Zabbix 添加内存告警-LMLPHP

2、创建Triggers

Configuration-->Templates-->Template OS Linux-->Triggers-->create trigger
Name:Memory usage higth 80%
Expression:{Template OS Linux:vm.memory.free[percent].last()}<80

Zabbix 添加内存告警-LMLPHP

3、查看图形

Zabbix 添加内存告警-LMLPHP

05-26 18:52