Zabbix Documentation 5.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

manual:appendix:macros:supported_by_location_user

2 User macros supported by location

Overview

User-definable macros are supported in the following locations:

LocationSupported fields
Hosts Interface IP1/DNS
Interface port1
SNMP v1, v2 interface community
SNMP v3 interface context name, security name, authentication passphrase, privacy passphrase

Tags tab:
Names and values
Templates Tags tab:
Names and values
Passive proxy Interface port1
Items and item prototypes Name (deprecated)
Key parameters
Update interval1
Custom intervals 1
History storage period1
Trend storage period1
Item value preprocessing steps
SNMP agent: SNMP OID
SSH agent: username, public key file, private key file, password, script
TELNET agent: username, password, script
Calculated item: formula
Zabbix trapper: allowed hosts
Database monitor: username, password, SQL query
JMX agent: JMX endpoint
HTTP agent: URL2, query fields, timeout1, request body, headers (names and values), required status codes, HTTP proxy, HTTP authentication (username and password), SSL certificate file, SSL key file, SSL key password, allowed hosts
Discovery Update interval1
SNMPv3 agent: context name, security name, authentication passphrase, privacy passphrase, SNMP OID
SNMPv1/v2 agent: SNMP community, SNMP OID
Low-level discovery rule Name
Key parameters
Update interval1
Custom intervals1
Keep lost resources period1
SNMP agent: SNMP OID
SSH agent: username, public key file, private key file, password, script
TELNET agent: username, password, script
Zabbix trapper: allowed hosts
Database monitor: additional parameters
JMX agent: JMX endpoint
HTTP agent: URL2, query fields, timeout1, request body, required status codes, headers (names and values), HTTP authentication (username and password)

Filters tab:
Regular expression
Web scenario Name
Update interval1
Agent
HTTP proxy
Variables: names1 and values
Headers: names and values

Steps tab:
Name
URL2
Variables: names1 and values
Headers: names and values
Timeout1
Required string
Required status codes1

Authentication tab:
User
Password
SSL certificate file
SSL key file
SSL key password
Triggers Name
Operational data
Expression (only in constants and function parameters; secret macros are not supported).
Description
URL2
Tag for matching

Tags tab:
Names and values
Actions Trigger-based notifications and commands
Trigger-based internal notifications
Problem update notifications
Time period condition1

Operations tab:
Default operation step duration1
Step duration1
Other locations Global scripts (including confirmation text)

Monitoring → Screens:
URL2 field of dynamic URL screen element

Administration → Users → Media:
When active1

Administration → General → Working time:
Working time1

Administration → Media types → Message templates:
Subject and message

For a complete list of all macros supported in Zabbix, see supported macros.

Footnotes

1 In the fields marked with 1 a single macro has to fill the whole field. Multiple macros in a field or macros mixed with text are not supported.

2 URLs that contain a secret macro will not work, as the macro in them will be resolved as "******".