Zabbix alerts to Slack, Microsoft Teams and Mattermost

Teams that run Zabbix need problems to reach the right channel quickly, without flooding shared channels with duplicates. This page covers the webhook-based media types, the build sequence, routing and escalation design, and the failure points to test before go-live.

On this page

Sending Zabbix alerts to Slack, Teams or Mattermost without flooding the channel

When a Zabbix problem fires, the team that owns the host needs to see it in chat quickly, and everyone else should not have to scroll past it. The method is webhook-based media types triggered by Zabbix actions, with one destination per owning team, so a Slack channel, a Teams channel or a Mattermost channel receives only the problems its hosts generate. The integration covers problem messages, update messages when someone acknowledges or comments, recovery messages when the trigger clears, per-team routing through action conditions, and escalation to a second destination when a problem stays open. It does not replace the Zabbix alerting design itself. Deciding which triggers deserve a notification, which severities matter, how maintenance windows suppress alerts and who owns each host group remains your decision, and the webhook only carries those decisions out.

The four destinations in scope are Slack, Microsoft Teams, Mattermost and Rocket.Chat. Each needs an inbound endpoint created by a workspace administrator on the chat side, and that URL should be handled as a credential and kept out of shared action text. The exact bundled media type names and parameters may differ between Zabbix releases, so confirm them in the version your client runs before building any action on them. Channel floods usually trace back to three choices: posting every update to a busy channel, sending recoveries to a channel nobody watches, and pointing many host groups at one destination. Settle those choices before the build starts. Decide which events post in full, which post only on escalation and which channel owns each host group, then test with a non-production host group and review message volume after the first days of live traffic.

What you need before connecting Zabbix to chat

Each card below is a prerequisite you can confirm before any media type is configured. Together they cover the Zabbix version your alerts depend on, the chat platform release lines that set how long a webhook target stays supported, and the admin access and network paths needed to deliver messages. Confirm each item with the owner who controls it.

Zabbix version and support window

Zabbix 7.0 LTS has full support until 30 June 2027 and limited support until 30 June 2029. 6.0 LTS limited support ends on 28 February 2027, so a 6.0 deployment needs an upgrade plan before that date. Choose the line before building, because the media types and templates you test should match the version you will run long term. Confirm whether a newer LTS such as 8.0 has shipped and which line your team will upgrade to. Check Zabbix's life cycle page for the current dates.

Zabbix life cycle policy

Chat admin rights for webhooks

Each channel needs its own webhook endpoint, and most chat platforms limit who can create one. Ask each chat owner which role can create incoming webhooks or connectors, and whether that role is granted per team or per workspace. Agree who keeps the endpoint URLs, since anyone holding a URL can post to its channel. Store them in a secret store your team controls and keep them out of shared documents.

Mattermost release lines

Mattermost v11.7 Extended Support Release supports until 2027-05-15, and it was released on 2026-05-15. Mattermost v12.0 was released on 2026-10-16 with support ending 2027-01-15. Mattermost publishes server binaries on the 16th of each month, so check the release page before you pin a version. Choose the line that matches how often your team wants to upgrade, and schedule that upgrade before the end date. Confirm the webhook behavior in the version you pick.

Mattermost release page

Rocket.Chat 8.x support window

Rocket.Chat 8.9.0 was published on October 5, 2026. Standard releases are supported for six months, and after end of life a version gets no security or bug fixes. Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, so confirm that database tier before you plan the webhook work. Unsupported versions may also stop connecting to the official mobile and desktop clients, so treat each standard release as a scheduled upgrade.

Rocket.Chat version policy

Outbound network paths

The Zabbix server performs each webhook call, so the server host needs outbound HTTPS to every chat endpoint in use. Slack, Teams, Mattermost and Rocket.Chat each use their own hostnames, and self-hosted Mattermost or Rocket.Chat instances sit on addresses you control. Test the path from the server host itself, including any proxy or firewall that inspects outbound traffic. A Zabbix proxy in another network segment does not send these notifications, so it cannot stand in for the server's route.

A test channel per team

Create one test channel for each team that will receive alerts, each with its own webhook endpoint. Send test problems and recovery events there before pointing production triggers at the channel. This lets you check routing, message layout and the volume a noisy trigger produces. Name the owner who signs off each team's test. A misrouted alert then reaches a test channel, not a team that never asked for it.

How a Zabbix problem reaches a team channel

The flow starts with a trigger on a host that the Zabbix server or a proxy evaluates. The problem event then matches an action, where conditions on host group, severity and tags decide whether a notification is sent at all. The action notifies a user whose webhook media type builds the request for the chat platform. The request leaves the client network through any egress proxy or firewall, so that is the point to check outbound rules with your network team. The chat platform then posts into the team channel. Recovery events take the same path, so confirm that the channel receives the resolved message as well as the problem. Verify each hop in your own environment before go-live.

Problem and recovery events leave the client network through one outbound path.

Designing per-team routing and escalation before the build

Zabbix decides routing in actions. Each action has conditions, such as host group, severity and tags, and when a problem matches them, its operations send a message to users or user groups. A user receives a chat alert only through a media entry whose destination points at that team's Slack, Teams or Mattermost webhook, so the channel is effectively where the user's media leads. This is why one channel per team is easier to govern than one shared channel for every alert. Each team owns its channel, its webhook and its membership, a change to one team's action does not alter another team's notifications, and access reviews are simple because channel members match the on-call roster. A shared channel floods everyone with unrelated problems, hides which team owns an incident and turns every routing change into a change for all teams at once.

Escalation runs inside one action as sequential operations. Each operation covers a range of steps, and the escalation period the team sets decides how long Zabbix waits between steps before it moves on. Step one usually goes to the team's channel and its on-call users, and later steps add a user group, a duty lead or a second channel if the problem is still open. Set the escalation period per step deliberately. A short period on a critical host group can send the next step while the first responder is still working the problem, and a long one leaves an incident unseen in the wrong place. Before the build, confirm in your Zabbix version how acknowledgment and recovery affect steps that have not fired yet, because a later step that still fires after someone has taken ownership is a common source of noise in a shared room.

Three decisions come first. The first is the mapping of hosts to channels. Decide whether host groups, tags or both select the owning team, and write the mapping down so each new host lands in one channel without manual edits. The second is who receives after the first step, whether a named user, a user group or a rota owner, and who is accountable if that message goes unread. The third is when recovery is announced: whether the channel receives a message when a problem resolves, whether low severities stay quiet on recovery, and whether the recovery goes to the same channel as the original alert. Illustrative example: a payments host group posts to its own channel at every severity, while a lab host group posts only at high severity. Settle these three on paper before configuring media types, because changing them later means editing every action that depends on them.

Configuring Zabbix alerts to Slack, Teams and Mattermost step by step

This sequence connects Zabbix to Slack, Microsoft Teams and Mattermost in an order that proves each link before the next one depends on it. It starts with the Zabbix version and the media types it ships, then moves through webhooks, secret macros, notification users, the action and finally flood controls. The output is a tested route from each Zabbix problem to the right team channel, with recovery messages and noise limits in place.

  1. Confirm the Zabbix version and media types

    Your Zabbix administrator checks the exact Zabbix version running on the server and confirms which Slack, Microsoft Teams and Mattermost media types that version ships, using the documentation for that release. Confirm the media type names, the parameters each one expects and the outbound network path the Zabbix server or proxy will use to reach each platform. Record the version, the media type names and a named owner for each destination in your change record. Done when every destination has one confirmed media type and one owner who can answer questions about it.

  2. Create one incoming webhook per channel

    Each platform administrator creates an incoming webhook for every team channel that should receive alerts, so each team has its own destination and no team shares another team's URL. Slack and Microsoft Teams provide their own webhook setup in the channel settings, and the exact steps change over time, so follow the current documentation for each platform. In Mattermost, a system administrator must first confirm that incoming webhooks are allowed in the System Console. Record the team, channel and owner beside each URL. Done when each webhook has a name that identifies its team and channel.

  3. Send a controlled test message to each webhook

    From a host you control, usually the Zabbix server or the proxy that will send the alerts, send one test request to each webhook with curl or an equivalent tool. Use a message that names the test and the destination team, and run the request over the same network path and egress rules that Zabbix will use, because firewall and proxy differences appear at this stage first. Check that each message appears only in its intended channel. Remove the test messages from the channels afterward. Done when each webhook returns the platform's success response and the message lands in the right channel.

  4. Import media types and store URLs as secrets

    Import or enable the media type for each destination in Zabbix, then create one media type entry per destination. Store each webhook URL in a secret user macro so the value is masked in the Zabbix interface, and restrict who can read those macros through user roles. If your organization keeps webhook URLs in a secrets vault, confirm with your Zabbix administrator how the vault and macros will be connected before going further. Use the media type test function in Zabbix if your version provides it. Done when each media type sends a test message to its intended channel using only the secret macro.

  5. Create notification users per destination and team

    Create a dedicated Zabbix user for each destination and team, such as one user for each team channel that receives alerts. Give each user only the media entry for that destination and the host group permissions for the hosts that team owns, and keep these users out of administrative roles. Consider whether these users need interactive login at all. Separate users mean a change to one team's route does not alter another team's alerts. Done when each user has one media entry, a severity filter and host group access that match the team's ownership.

  6. Build the action with conditions and escalation

    Create a trigger action that matches problems by host group, tag, severity or maintenance state, then add operations that send to the notification users for each team. Add escalation steps only where a second recipient should hear about an unacknowledged problem, and set each step's delay to match your on-call process. Add recovery operations so the channel sees each resolution. Done when a review of the action shows that each condition maps to one owning team and that each escalation step names its recipients.

  7. Test a problem and recovery on a test host

    Attach a dedicated test host to the team's host group, trigger a controlled problem using an item or change that your team controls, and then resolve it. Confirm that the problem message reaches the correct channel for each destination, that the recovery message follows and that the event in Zabbix shows the expected status. Repeat the test for each destination and each team route, because a route can work for one platform and fail for another. Done when every route has produced one problem message and one recovery message with the expected content.

  8. Add flood controls and test a simulated burst

    Narrow the action conditions so that only the hosts and triggers a team owns reach its channel, group related problems where your Zabbix version and action design allow it, and schedule maintenance periods for planned work so expected alerts are suppressed. Then simulate a burst of problems on the test host and watch how many messages reach the channel. Adjust conditions or grouping until the channel receives a set of messages its members can act on. Done when the simulated burst produces a readable volume of messages that your team has agreed to, and test alerts are suppressed during the maintenance period as expected.

What differs between Slack, Teams, Mattermost and Rocket.Chat

Slack is a vendor-hosted service, so you do not install or upgrade the chat platform yourself. For Zabbix, the part you own is the incoming webhook or app that accepts alert posts. How that is created depends on your workspace or enterprise setup and the admin policy that governs app installation, so verify the method with your Slack administrator on the day you build.

  • Hosting: Slack handles upgrades and availability under its own terms, so the Zabbix server only needs outbound HTTPS access to the webhook endpoint.
  • Setup path: Confirm in Slack's admin documentation which webhook or app method your plan and workspace support, and who is allowed to approve it.
  • Channel binding: A webhook is tied to the channel it was created for, so decide early which channels receive problems and which receive recoveries.
  • Workspace policy: Ask the administrator whether app installs, external integrations and message retention settings allow automated posts from a monitoring server.
  • Ownership: Record who can rotate or revoke the webhook URL, because anyone holding the URL can post into that channel.

Before you build, check the current webhook method and approval steps in Slack's admin documentation and assign one owner for the URL.

How Zabbix event data maps into chat messages

This table maps each Zabbix event field to where it lands in a Slack, Microsoft Teams or Mattermost message. Read each row as a question to answer during testing: which field drives the title, color, channel and thread reference. The main takeaway is that the message template is set per media type, and recovery messages only land on the right thread if the event reference matches.

Zabbix sourceChat destinationWhat to confirm in the bundled media type
Host name and host groupHost name in the message title or body, host group as the routing key for the channelConfirm whether the media type routes by host group or only sends to one channel set in the webhook.
Trigger name and severityTrigger name as the title, severity as a color or label on the attachment or cardConfirm which severity values get a color in Slack, Teams and Mattermost, and whether Teams renders the color at all.
Event IDReference that ties later updates to the original message threadConfirm the media type keeps the event ID in the post and reuses it for updates and recovery.
Problem eventNew message posted to the channel when the problem opensConfirm one message per problem, and check how repeated updates from the same trigger are sent.
Recovery eventUpdate to the original thread, or a separate recovery message if matching failsConfirm how recovery matching works in each bundled media type using the event reference, and test a problem followed by its recovery.
TagsExtra fields in the body, useful for filtering or naming a teamConfirm tags are passed to the message template and whether they can select a channel.
Action operation stepStep number and recipient in the body, so escalations are visible in the channelConfirm whether each escalation step posts a new message or updates the earlier thread.
Message templateSet per media type, so one layout covers problem, update and recovery messagesConfirm where each media type stores its template and whether one template handles all three message kinds.

Protecting webhook URLs and the alert path

Each Zabbix media type that posts to Slack, Microsoft Teams or Mattermost holds a webhook URL, and anyone who has that URL can post into the channel. The controls below cover who can read the URL, what the Zabbix server or proxy can reach, what each message carries and how changes stay on record.

Treat webhook URLs as secrets

A webhook URL works as a bearer credential: whoever holds it can post to the channel without signing in to Slack, Teams or Mattermost. Store the URL in a secret macro so it is masked in the Zabbix interface and kept out of routine exports. Limit edit rights on media types to the few Zabbix administrators who maintain them. When one of those people changes roles or leaves, rotate the webhook on the chat side and confirm the old URL no longer posts. Check in your Zabbix version whether a secret macro can be scoped globally or per host, and assign the narrowest scope that still delivers alerts.

Least-privilege roles for notification users

Team members who only receive or acknowledge alerts should have no edit rights on media types, actions or webhook macros. Give them a user role that reads the host groups they own and nothing more, and place them in a user group that receives notifications. Confirm which role permissions govern action and media type editing in your Zabbix version, then sign in as a test team user to verify what it can see and change. Keep administrator accounts separate from everyday accounts so a compromised daily login does not expose the alert path.

Outbound allowlist from server or proxy

The Zabbix server, or the proxy that sends the notification, needs outbound HTTPS only to the chat endpoints in scope. Allow the exact hostnames of your Slack workspace, your Teams webhook endpoint or your Mattermost server, and deny everything else by default at the firewall or egress proxy. If a proxy sits between Zabbix and the internet, confirm that it is the only route the media type uses. Test a deliberately blocked destination so you know a failed delivery shows up in Zabbix rather than passing silently. Record each approved endpoint with the owner who approved it.

Review alert content before it is shared

A problem message often carries the host name, IP address, item key and last value, and a shared channel can reach far more people than the team that owns the host. A shared channel reaches more readers than the host team does, so review the message template for each destination. Remove or mask internal addresses and customer identifiers in channels that span teams or organizations. Send sensitive systems to a restricted channel and keep their messages to an identifier that points to the ticket or dashboard. Re-check the template whenever someone adds a macro, because a new macro can add data without anyone noticing.

Audit trail of media type changes

Changes to media types, actions and webhook macros are the first events an investigator will ask about, so the record of who changed a webhook target and when matters. Confirm that your Zabbix version's audit log records changes to media types, actions and user groups, and check where those entries are stored and how long they are kept. After each approved change, export the media type definition to version control so you can compare the webhook target and message template with the last approved copy. Review the log on a schedule, and forward it to your central log platform if your policy requires it.

Patch cadence for both platforms

Each alert passes through two products that both need current versions: Zabbix, which builds and sends the message, and the chat platform, which receives and displays it. Zabbix standard releases come out every 6 months and are supported for 12 months, while LTS releases come out every 1.5 years and are supported for 5 years. Mattermost publishes a new server binary on the 16th of each month, and its Extended Support Release v11.7 is supported until 2027-05-15. Set a dated review for each platform, and send a test alert through each webhook after every upgrade.

Zabbix life cycle policy

Why alerts stop, duplicate or flood a shared channel

This table matches each common failure on Zabbix alerts to Slack, Microsoft Teams and Mattermost with its likely cause and the fix to check first. Start with the symptom column, then check the likely cause before changing media types or action settings. Most flooding and duplicate problems trace back to action conditions and recovery operations in Zabbix.

SymptomLikely causeFix
No message at allWebhook URL is wrong, was regenerated or was revoked on the chat sideCreate a new incoming webhook, update the media type and send a test from the user media
Server log shows connection errorsOutbound HTTPS from the Zabbix server to the chat host is blocked or unproxiedOpen outbound HTTPS from the Zabbix server to the chat host, then retest the media type
No message for some usersMedia type is disabled, the user has no entry for it, or the action conditions do not match the triggerEnable the media type, add it to the user, and check each action condition against the trigger
Messages land in the wrong channelOne incoming webhook is shared across teams, so every alert posts to its fixed default channelCreate one webhook per channel and point each team's action or user media at its own webhook
Duplicate or flooding messagesBroad action conditions, several actions matching one trigger, or no recovery handling producing repeated updatesScope each action to host groups and severity, keep one action per channel, and send recovery once
Recovery never announcedRecovery operation is missing from the action, or the recovery condition does not match the problemAdd a recovery operation to the action and confirm it uses the same media type as the problem message
TLS or certificate errors on self-hosted chatChat server uses a private certificate authority that the Zabbix server does not trust, or the hostname does not matchInstall the internal CA chain on the Zabbix server and confirm the certificate matches the webhook hostname
Delivery fails after a chat platform upgradePlatform changed webhook behavior or the webhook was reissued during the upgradeRecreate the webhook, update the media type and check the vendor's release notes for webhook changes
Delivery fails after a Zabbix upgradeUpgrade changed media type parameters or the bundled script, and local edits were overwrittenCompare parameters with the bundled media type, reapply local changes and test in a non-production instance first

Who should configure Zabbix alerts to Slack, and what does it cost?

Does Zabbix charge a license fee for alerts to Slack or Teams?

No. Zabbix states that its open source software has no license fee, no device limits and no feature gates, and the Slack, Teams and Mattermost notification channels are included with it. From Zabbix 7.0 onward the project is released under the GNU Affero General Public License version 3, so the media types you configure are not a separate purchase. Paid Zabbix technical support is optional and comes in Silver, Gold, Platinum, Enterprise and Global tiers, which differ in hours of coverage and response time. The chat platform is a separate cost, covered in the questions below. Confirm whether any support tier is needed for your environment, since that is an organizational decision. The Zabbix license page sets out the license terms for each release line.

What drives the cost of Zabbix alerts to chat?

Cost follows the number of routing decisions you have to build and keep working. The main drivers are:

  • The number of teams, and how many of them need their own channels and routing rules
  • The number of destinations, including each Slack workspace, Teams channel or Mattermost team
  • The number of escalation levels, such as whether an unacknowledged problem moves to a second on-call group
  • Existing Zabbix maturity, including whether host groups, tags and templates already follow a consistent structure
  • The number of chat platforms and tenants, since each one adds admin access, credentials and testing

Build work is one-time. Changes after go-live, such as new teams, new channels after a reorganization and upgrades to Zabbix or the chat platform, recur. Ask any provider for a quote that separates these two items and lists each channel, routing rule and test host it covers.

Can our own team set up Zabbix chat alerts in-house?

Yes, for one channel. A single team that wants problems from a small set of hosts posted to one Slack or Teams channel can usually configure the bundled media type, test it and document it in-house, provided someone has Zabbix administration skills and admin rights in the chat workspace. Multi-team routing is harder. It needs action conditions that match host groups, tags and severity, a channel for each team, and rules for who is notified when nobody acknowledges a problem. Alert floods in shared channels are the other common gap. Without suppression, grouping and recovery messages, one network event can bury everything else in the channel. If no one on your team has built escalations before, a short pilot on one team's hosts is a sensible first step.

How long does Zabbix chat alert routing take to set up?

The timing depends on scope and comes from the written scope, so no general duration applies. The main variables are the number of teams, channels and escalation levels, the number of chat platforms and tenants, how much existing Zabbix configuration needs cleanup before routing can rely on it, and how quickly your chat administrators can approve new integrations and test channels. A fixed-scope engagement sets deliverables and milestones in writing before work starts, so you can see what is included and what is left for later. Ask any provider to split the timeline into design, build, testing against your test hosts and handover, and to name which dates depend on your own team's responses.

What must we provide before a Zabbix chat alerting project starts?

Most of this work depends on access and information from your side. The four items that matter most are:

  • Chat admin access, to create or approve the webhooks, apps or connectors for each destination
  • A channel list that names every Slack, Teams, Mattermost or Rocket.Chat channel, its owner and its purpose
  • On-call rules, including who is paged, in what order, and how long each level waits before escalating
  • Test hosts in your Zabbix environment that can generate controlled problems and recoveries without paging real staff

Also confirm which Zabbix server or proxy will send the messages, and that it can reach each chat endpoint through your outbound network controls. Agree in advance on who signs off each test before go-live.

Do Mattermost or Rocket.Chat licenses add to the total cost?

They can, depending on the platform and on what you already run. Mattermost sells Professional, Enterprise and Enterprise Advanced plans as prepaid annual subscriptions based on seat licenses, and its Mattermost pricing page lists no public prices and directs buyers to contact sales. Rocket.Chat offers a free Starter plan for up to 50 users, while its paid plans, Commercial, Government and Defense, are priced by quote. Slack and Microsoft Teams costs follow your existing agreements with those vendors, so confirm them with your procurement team and tenant administrators. Whatever the chat platform costs is separate from the Zabbix side of the work. Check whether your current plan permits the incoming webhooks or connectors you plan to use, since a plan change can cost more than the integration itself.

How do we request a quote for a fixed-scope Zabbix chat project?

DeployOpen does not publish a price list. A quote follows from the written scope, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. To compare quotes, ask each provider to list the chat destinations, teams, escalation levels and test hosts included, the Zabbix version and chat platforms covered, the testing and handover documents provided, and what is excluded, such as chat plan changes or later channel additions. Ask separately whether ongoing support, upgrades and continuous testing should be a retainer, since those recur while the build is a one-time cost.

How DeployOpen scopes, builds and supports Zabbix chat alerting

DeployOpen treats Zabbix alerts to Slack, Microsoft Teams and Mattermost as part of your monitoring design, so routing, escalation and noise control are scoped together. Each engagement starts with a written scope covering which teams receive which problems, which chat platforms they use and how webhook credentials are stored. Engagements are fixed-scope, and the handover includes documentation your operations team can maintain.

How we scope

  • Written scope names each chat destination, the Zabbix problems it receives and the team that owns it.
  • Scoping confirms which Slack, Teams, Mattermost or Rocket.Chat workspaces, channels and webhook owners are in use.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before build work begins.

How we build

  • Media types for Slack, Teams and Mattermost are configured from the webhooks your Zabbix version ships with.
  • Routing rules send each team's problems to its own channel, with escalation steps and maintenance windows applied.
  • Alert flood controls such as severity filters and recovery handling are tested with simulated problem bursts before go-live.

How we hand over

  • Handover documents each media type, webhook owner, routing table and escalation path in a runbook your team keeps.
  • Test alerts are sent to each chat destination, and the results are recorded as evidence for your change record.
  • Your operators receive a walkthrough of how to add a team, rotate a webhook and silence a noisy trigger.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer covering the chat integrations.
  • Review media type behavior after each Zabbix upgrade, since integrations and templates can change between releases.
  • Confirm with your chat platform's admin team when webhook tokens expire or workspace policies change.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.