表達式1: cpu load1>5
{www.zabbix.com:system.cpu.load[all,avg1].last(0)}>5
表達式2:cpu load1>5或load連續10分鐘大於2
{www.zabbix.com:system.cpu.load[all,avg1].last(0)}>5|{www.zabbix.com:system.cpu.load[all,avg1].min(600)}>2
表達式3:cpu 00:00-06:00之間load1連續五分鐘大於2
{zabbix:system.cpu.load[all,avg1].min(300)}>2&{zabbix:system.cpu.load[all,avg1].time(0)}>000000&{zabbix:system.cpu.load[all,avg1].time(0)}<060000
表達式4:cpu 最後一次的load1值減前一次的load1值,共結果的絕對值小於9
{public monitor:system.cpu.load[,avg1].abschange(0)}<9
表達式5: cpu 當前1小時的平均load1>一天以前1小時的平均load1加10,avg時間默認爲S,也可以爲次數,如avg(#600)代表600次的平均值
{public.monitor:system.cpu.load[,avg1].avg(600)}>{publicmonitor:system.cpu.load[,avg1].avg(600,86400)}+10
表達式6: cpu 最後600秒locd大於12的次數大於20
{public monitor:system.cpu.load[,avg1].count(600,12,”gt”)}>20
表達式7:cpu 24小時以前最後10次load大於12的個數大於20
{public monitor:system.cpu.load[,avg1].count(#10,12,”gt”,86400)}>20
表達式8: 兩臺器的SMTP同時故障
{smtp1.zabbix.com:net.tcp.service[smtp].last(0)}=0&{smtp2.zabbix.com:net.tcp.service[smtp].last(0)}=0
表達式9: 檢查agent的版本
{zabbix.zabbix.com:agent.version.str(beta8)}=1
表達式10: 五分鐘內最大值和最小值之差大於0
{Zabbix server:tcp,21.delta(300)}>0
表達式11: 三分鐘沒有收集到數據
{zabbix.zabbix.com:tick.nodata(180)}=1