On this page
2 User macros supported by location
Overview
User-definable macros are supported in the following locations:
- Hosts
- Interface IP/DNS
- Interface port
- Tag names and values
<!-- -->
- Templates
- Tag names and values
<!-- -->
- Passive proxy
- Interface port
<!-- -->
- Items and item prototypes
- Name (deprecated)
- Key parameters
- Update interval
- Custom intervals
- History storage period
- Trend storage period
- Item value preprocessing steps
- SNMPv3 context name
- SNMPv3 security name
- SNMPv3 auth pass
- SNMPv3 priv pass
- SNMPv1/v2 community
- SNMP OID
- SNMP port
- SSH username
- SSH public key
- SSH private key
- SSH password
- SSH script
- Telnet username
- Telnet password
- Telnet script
- Calculated item formula
- Trapper item "Allowed hosts" field
- Database monitoring additional parameters
- JMX item endpoint field
- HTTP agent URL field
- HTTP agent HTTP query fields field
- HTTP agent request body field
- HTTP agent required status codes field
- HTTP agent headers field key and value
- HTTP agent HTTP authentication username field
- HTTP agent HTTP authentication password field
- HTTP agent HTTP proxy field
- HTTP agent SSL certificate file field
- HTTP agent SSL key file field
- HTTP agent SSL key password field
- HTTP agent HTTP timeout field
- HTTP agent HTTP allowed hosts field
<!-- -->
- Discovery
- Update interval
- SNMPv3 context name
- SNMPv3 security name
- SNMPv3 auth pass
- SNMPv3 priv pass
- SNMPv1/v2 community
- SNMP OID
<!-- -->
- Low-level discovery rule
- Name
- Key parameters
- Update interval
- Custom intervals
- SNMPv3 context name
- SNMPv3 security name
- SNMPv3 auth pass
- SNMPv3 priv pass
- SNMPv1/v2 community
- SNMP OID
- SNMP port
- SSH username
- SSH public key
- SSH private key
- SSH password
- SSH script
- Telnet username
- Telnet password
- Telnet script
- Trapper item "Allowed hosts" field
- Database monitoring additional parameters
- JMX item endpoint field
- Keep lost resources period
- Filter regular expressions
- HTTP agent URL field
- HTTP agent HTTP query fields field
- HTTP agent request body field
- HTTP agent required status codes field
- HTTP agent headers field key and value
- HTTP agent HTTP authentication username field
- HTTP agent HTTP authentication password field
- HTTP agent HTTP timeout field
<!-- -->
- Web scenario
- Name
- Update interval
- Agent
- HTTP proxy
- Variables
- Headers
- Step name
- Step URL
- Step post variables
- Step headers
- Step timeout
- Required string
- Required status codes
- Authentication (user and password)
- SSL certificate file
- SSL key file
- SSL key password
<!-- -->
- Triggers
- Name
- Expression (only in constants and function parameters)
- Description
- URLs
- Tag names and values
- Tag for matching
<!-- -->
- Trigger-based notifications and commands
- Trigger-based internal notifications
- Problem update notifications
<!-- -->
- Action operations
- Default operation step duration
- Step duration
<!-- -->
- Action conditions
- Time period condition
<!-- -->
- Global scripts (including confirmation text)
<!-- -->
- URL field of dynamic URL screen element
<!-- -->
- Administration → Users → Media: 'When active' field
- Administration → General → Working time: 'Working time' field
For a complete list of all macros supported in Zabbix, see supported macros.