Skip to content

Creating Host Triggers

Video Lecture

Creating Host Triggers Creating Host Triggers

Description

In this section, we create some basic triggers.

Triggers are re-evaluated when the Zabbix server gets new data for an item that appears in the trigger expression.

Additionally, if the trigger contains a time based function, the history syncer process will also recalculate it every 30 seconds.

Examples of time-based functions are nodata(), date(), dayofmonth(), dayofweek(), time(), now().

Name Severity Expression
NODATA 60 seconds Disaster nodata(/host/agent.ping,60)=1
Less than 5GB free High last(/host/vfs.fs.size[/,free])<5000000000
High CPU Usage 75% for 2 minutes Warning avg(/host/system.cpu.util[,user],2m)>75

Triggers

Trigger Functions

Comments