Translations of this page:
ODT Export
 

21 Suffixes

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

11 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)

12 Time-related multipliers

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.

13 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
 
1.8/manual/config/suffixes.txt · Last modified: 2012/01/13 15:21 by martins-v
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki