Zabbix Documentation 1.8

3.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.22.43.23.4

User Tools

Site Tools


Sidebar

manual:config:suffixes

21 Suffixes

It is possible to simplify Zabbix trigger expressions or item keys by using suffixes.

6.38 Standard multipliers

The following table summarises available standard multipliers in Zabbix frontend and server:

Till_1.8.2Additional in 1.8.2
ServerK (Kilo)
M (Mega)
G (Giga)
T (Tera)
FrontendK (Kilo)
M (Mega)
G (Giga)
T (Tera)
P (Peta)
E (Exa)
Z (Zetta)
Y (Yotta)

Since Zabbix version 1.8.2 the following time-related multipliers are available:

  • s - seconds; when used, works the same as raw value;
  • m - minutes;
  • h - hours;
  • d - days
  • w - weeks.

These are supported in trigger expression constants and function parameters, as well as in the internal item zabbix[queue,<from>,<to>] parameters.

6.40 Examples

These multipliers allow to write expressions that are easier to understand and maintain, for example the following expressions:

{host:zabbix[proxy,zabbix_proxy,lastaccess]}>120
{host:system.uptime[].last(0)}<86400
{host:system.cpu.load.avg(600)}<10

could be changed to:

{host:zabbix[proxy,zabbix_proxy,lastaccess]}>2m
{host:system.uptime.last(0)}<1d
{host:system.cpu.load.avg(10m)}<10