zabbix swap报警空间不足

忽略了swap没有设置的情况

在zabbix上修改触发器
组态---模板--Template OS Linux

选择触发器
{HOST.NAME} | Lack of free swap space
修改
{Template OS Linux:system.swap.size[,pfree].last(0)}<10 and {Template OS Linux:system.swap.size[,free].last(0)}<>0
更新Zabbix Lack of free swap space
原文:http://blog.51cto.com/2925187/2132710