Zabbix Documentation 2.2

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

manual:config:notifications:media:email

1 E-mail

Overview

To configure e-mail as the delivery channel for messages, you need to configure e-mail as the media type and assign specific addresses to users.

Configuration

To configure e-mail as the media type:

  • Go to Administration→Media types
  • Click on Create media type (or click on E-mail in the list of pre-defined media types).

Media type attributes:

ParameterDescription
Name Name of the media type.
Type Select Email as the type.
SMTP server Set an SMTP server to handle outgoing messages.
SMTP helo Set a correct SMTP helo value, normally a domain name.
SMTP email The address entered here will be used as the From address for the messages sent.
Adding a sender display name (like “Zabbix-HQ” in Zabbix-HQ <[email protected]> in the screenshot above) with the actual e-mail address is supported since Zabbix 2.2 version.
There are some restrictions on display names in Zabbix emails in comparison to what is allowed by RFC 5322, as illustrated by examples:
Valid examples:
[email protected] (only email address, no need to use angle brackets)
Zabbix HQ <[email protected]> (display name and email address in angle brackets)
∑Ω-monitoring <[email protected]> (UTF-8 characters in display name)
Invalid examples:
Zabbix HQ [email protected] (display name present but no angle brackets around email address)
"Zabbix\@\<H(comment)Q\>" <[email protected]> (although valid by RFC 5322, quoted pairs and comments are not supported in Zabbix emails)

User media

To assign a specific address to the user:

  • Go to Administration→Users
  • Open the user properties form
  • In Media tab, click on Add

User media attributes:

ParameterDescription
Type Select Email as the type.
Send to Specify the e-mail address to send the messages to. Adding a recipient display name (like “Some User” in Some User <[email protected]> in the screenshot above) with the actual e-mail address is supported since Zabbix 2.2 version.
See examples and restrictions on display name and email address in media type attribute SMTP email description.
When active You can limit the time when messages are sent, for example, the working days only (1-5,09:00-18:00).
See the Time period specification page for description of the format.
Use if severity Mark the checkboxes of trigger severities that you want to receive notifications for.
Note that for non-trigger events the default severity ('Not classified') is used, so leave it checked if you want to receive notifications for non-trigger events.
Status Status of the user media.
Enabled - is in use.
Disabled - is not being used.