Monitoring Zammad with the health check API

Wire the Zammad health check into Zabbix, Checkmk or Prometheus with a managed token, alert on the right fields, and add separate checks for the email problems it does not report.

On this page

How the Zammad health check fits into your monitoring

The Zammad health check endpoint reports whether the application and its core services are working, so it is the first signal an operations or helpdesk owner should wire into monitoring. Set it up before agents or customers report a problem, ideally before the pilot starts. The check is one input to monitoring, not a complete observability setup: it reports state at the moment it is called and says nothing about trends, log content or host capacity. Pair it with host metrics, log collection and the separate checks described below.

The check only covers part of what Zammad relies on. PostgreSQL 15 or newer stores the content, Redis 7 or newer carries realtime websocket traffic, and Nginx or Apache sits in front as the reverse proxy. Elasticsearch is optional but strongly recommended for faster search, reporting and attachment content, so decide in advance whether its failure should alert someone. Memcached becomes necessary once you run several Zammad instances, such as containers or cluster nodes. Mail connections over IMAP and SMTP, and any other inbound channel, need their own monitoring. Confirm the exact requirements for your version in the Zammad software requirements.

Start monitoring on day one of the rollout, and give the first alert a named owner and a response step. Before you wire anything, read the Zammad admin documentation for your installed version and confirm the endpoint path, how the access token is created and sent, what the healthy and issues fields mean, and which HTTP status a failed check returns. Write those answers into your runbook, because a monitoring tool that expects one response shape will misreport if the version differs. Test the alert by stopping a dependency in a non-production instance and confirming that the probe fails as expected.

Monitoring probes reach Zammad only through the proxy, and Zammad reaches its own dependencies from inside

The diagram starts at the monitoring system, where a probe supplies the token on each request. The request crosses the trust boundary into the Zammad network and enters through the reverse proxy before it reaches the application. From there Zammad connects to PostgreSQL, Redis, Elasticsearch and mail servers, which is why a green probe does not prove those paths work. Check the token source, the proxy path and each dependency separately.

Monitoring request path and Zammad's dependencies, with the trust boundary marked.

Which monitoring tool fits your Zammad team

This table compares Zabbix, Checkmk and Prometheus for polling Zammad's health check endpoint and alerting on it. Read each row against the monitoring your team already operates, since the cost of adding a tool usually matters more than the tool's features. Checkmk licensing and edition details are not covered here and must be confirmed with Checkmk directly.

ConsiderationZabbixPrometheus
LicensingAGPL v3 from version 7.0 onward; no license fee, device limits or feature gates. Paid support tiers are optional.Apache-2.0; no paid enterprise edition of the project. Costs come from infrastructure, storage and staff.
How the Zammad check is definedHTTP agent or script item polling the health check URL with the token, then triggers on the healthy and issues fields.Scrape target or blackbox-style probe, with alert rules in PromQL evaluated on the returned values.
High availabilityNative server cluster: nodes share one database, one active node, failover after a configurable delay of 10 seconds to 15 minutes.Local storage is not clustered or replicated. Run redundant Prometheus servers and send alerts through a cluster of Alertmanager instances.
Required extrasA supported database for the Zabbix server, plus frontend and agents or proxies as your layout requires.Alertmanager for notifications, and external long-term storage through remote write if retention exceeds the local default of 15 days.
Typical fitTeams already running Zabbix for servers and network devices, who want Zammad checks in the same alerting workflow.Teams already running Prometheus and Grafana, or with Kubernetes-based Zammad deployments where metrics tooling is already in place.
Check results and historyStored in the Zabbix database with history and trend retention set per item.Stored in the local time series database in two-hour blocks, with retention set by time or size.
CheckmkLicensing and edition details must be confirmed with Checkmk before you plan around them. Confirm the Zammad check option and the HTTP check configuration in your Checkmk version.Confirm the same points with Checkmk, since this page does not give Checkmk figures.

Handling the health check token and resetting it safely

The probe needs a credential if the endpoint it calls requires authentication, which you should confirm for your Zammad version before you build the check. Treat the token as a secret owned by the monitoring system. Create it under a dedicated service account so it survives staff changes, and keep the value in your monitoring product's secret store, such as a Zabbix secret macro, a Checkmk password store entry or a Kubernetes secret used by a Prometheus exporter. Reference the secret by name inside templates. Never paste the value into a shared template, an exported Zabbix template or a Prometheus configuration committed to version control, because exported templates are often copied between teams and environments.

Reset the token in an order that keeps alerting live. First, create the new token under the same service account and note its scope and expiry settings. Second, update the secret store entry and run the probe against the new value. Third, confirm the probe returns a healthy result and that the alert path still reaches your on-call team, for example by triggering a harmless test alert. Only after those checks pass should you revoke the old token. Run the reset inside a scheduled maintenance window, record the change with token identifiers rather than values, and rehearse the full sequence on a non-production Zammad instance first so the team knows where each step lives.

Before you put this sequence into a runbook, confirm three points with the Zammad admin documentation for your exact version: whether the token can be limited to specific permissions or carries broad access, whether revocation takes effect immediately, and what audit trail records each use of the token. If the audit trail is thin, compensate on the monitoring side by restricting which hosts can reach the health endpoint and by alerting on repeated authentication failures from the probe. Also decide who may create or revoke tokens and keep that list in the same change record.

Wiring the Zammad health check into Zabbix, Checkmk or Prometheus

This sequence connects the Zammad health check endpoint to a monitoring tool with a scoped token, secret storage, alert rules and tested notifications. It ends with a monitoring path that fires when Zammad reports an issue and keeps working when the monitoring server itself fails.

  1. Confirm the endpoint and token on a test instance

    The Zammad administrator confirms the health check path, the token method and the response fields on a non-production instance, using the current Zammad admin documentation for that version. Send a manual HTTPS request through the reverse proxy, the same route the monitoring tool will use. Done when the request returns a response that includes the healthy and issues fields, and when an invalid or missing token is rejected. Record the exact field names and values, because the triggers in a later step depend on them.

  2. Create a dedicated monitoring token

    The Zammad administrator creates a dedicated monitoring user or token for the check instead of reusing a personal or administrator token. Grant only the access the health check needs, and document who owns the token and how to revoke it. Done when the token returns the expected response from the monitoring host, and when the same request fails after the token is revoked in the test environment. Keep the token's scope and owner in your change record so that a later audit can trace it.

  3. Store the token in the secret mechanism

    The monitoring engineer places the token in the secret store of the chosen tool: Zabbix secret macros or a vault, the Checkmk password store, or a credentials file referenced by the Prometheus scrape or probe configuration. Remove any plain-text copy from item definitions, scripts and shared notes. Done when the check still succeeds after the plain-text value is removed and the token no longer appears in exported configuration or the item editor.

  4. Create the item or probe over HTTPS

    The monitoring engineer creates the check in the tool: a Zabbix HTTP agent item, a Checkmk HTTP check or special agent, or a Prometheus scrape job or blackbox probe. Point it at the public HTTPS address served by the reverse proxy and keep certificate validation enabled. Done when the item or probe returns the health data in the tool's latest-data view or query, and when a broken certificate produces an error rather than silent success.

  5. Map healthy and issues to alert rules

    The monitoring engineer maps the healthy field to a trigger or alert rule that fires when the value indicates a problem, and passes the issues content into the alert text so responders see the failing component. Add a separate condition for no data, because an unreachable endpoint or failed authentication is not the same as an unhealthy instance. Done when a forced failure in the test environment, such as stopping Redis or breaking a mail connection, fires the alert with the issue text attached.

  6. Set interval, timeout and monitoring server availability

    The monitoring engineer sets a check interval and timeout that suit the Zammad load and the alert urgency, then decides how the monitoring server itself stays available. In Zabbix, the server can run as a high availability cluster with a configurable failover delay, and proxy groups can redistribute hosts. In Prometheus, local storage is not clustered and keeps data for 15 days by default unless remote storage is configured, and Alertmanager can run as a cluster with Prometheus pointing at every instance. Done when stopping the active monitoring node still produces a delivered test alert.

  7. Test notifications and cover the email gap

    The monitoring engineer sends a test alert through every notification channel, then confirms that the acknowledgment and recovery messages arrive as expected. Because the health check does not catch every mail failure, add separate monitoring or review for failed communication jobs and mailbox fetch errors, as described in the Zammad email troubleshooting guidance. Done when the test notifications reach the on-call channel, a recovery notice follows the fix, and the email-specific checks have a named owner.

Email problems the Zammad health check does not catch

The health check is a useful signal for service availability, but mail problems often fail quietly while the application still answers requests. The cards below cover five failure modes that need their own checks, each paired with a separate signal to add to your monitoring.

Silent inbound IMAP fetch failures

An inbound mailbox can stop fetching while the application stays up, so new tickets simply stop arriving. The symptom is a quiet queue: customers write, nothing appears, and no agent is alerted. Because the health check may not report per-mailbox fetch status, add an age alert on the newest ticket created from each inbound channel, measured against your normal volume. Confirm with your own environment which mail state the endpoint exposes before relying on it. For diagnosis steps, see the email troubleshooting page.

Zammad requirements

Failed outbound communication jobs

Agent replies and notifications leave Zammad through background jobs. When SMTP authentication, relay rules or TLS settings break, the jobs fail while the web interface keeps accepting replies, so customers never receive answers. Watch the count of failed or pending communication jobs in the admin interface or the application logs, and alert when it rises above zero for a sustained period. Pair this with a periodic test message that is sent out and returned through the inbound channel, which proves the full round trip.

Oversized messages rejected at delivery

Mail servers and Zammad each enforce size limits, so messages with large attachments can be refused before or after they reach the helpdesk. The sender sees a bounce, while the service looks healthy and the health check passes. Review the rejected or bounced message trail on a schedule, and confirm the maximum message size on the mail server, the reverse proxy and Zammad itself so the limits agree. Document the limit for agents so they can ask customers to resend large files through another route.

OAuth token expiry after switching to XOAUTH

When a mailbox moves from password login to XOAUTH, the stored access and refresh tokens must keep renewing. An expired or revoked grant stops fetch or send without an obvious error in the service status, and the failure can appear only after a provider policy change. Add a check that compares the last successful fetch or send time per channel, and set a calendar reminder to review the consent grant and any provider-side expiry settings. Confirm the token lifetime rules with your mail provider, since they vary.

Filters that misroute mail

A filter can send mail to the wrong group, drop it into an unexpected state, or treat legitimate customer replies as spam. Every component reports healthy, so the health check gives no hint, and the error only shows up as tickets in the wrong queue or missing messages. Add a periodic review of tickets created in the last day per group, and compare the count against the number of messages that arrived in the mailbox. Keep filter changes under change control so a misrouting rule can be traced to its edit.

Keeping the monitoring itself available

A monitor that stops without telling anyone is worse than no monitor, because the team keeps trusting a green dashboard that no longer reflects Zammad. The monitoring layer therefore needs its own availability plan, separate from the plan for Zammad. If you run Zabbix, Zabbix server supports a native high availability cluster: several server nodes share one database, one node is active while the others stand by, and failover happens when the active node exceeds a configurable failover delay of 10 seconds to 15 minutes. Choose the delay with your network in mind, since a short delay can trigger failover during brief database slowness. For polling Zammad from remote networks, Zabbix 7.0 and later support proxy groups, which redistribute monitored hosts between proxies when one goes offline. Confirm that your proxies can reach the Zammad health check endpoint from every site they serve.

If you run Prometheus, remember that its local storage is a single node and is not clustered or replicated. Its default retention is 15 days, so a single instance that fails takes its recent history with it unless you back up its data directory. Treat the Prometheus host like any other single-node database, with its own backups and restore test. For history beyond the local window, remote write is the usual path, sending samples to an external long-term storage system. For alerting, Alertmanager can run as a cluster using its cluster flags. Point Prometheus at every Alertmanager instance rather than at a load balancer in front of them, so that alerts still reach a live instance when one node is down. Confirm the exact cluster flags for your Alertmanager version in the vendor documentation before you deploy.

Securing the token, the endpoint and the monitoring path

The health check exposes operational detail about your helpdesk, and the token that reads it is a credential like any other. The cards below cover how to scope that token, where the endpoint is reachable, how the probe verifies TLS, who can read monitoring secrets, and how the monitoring stack itself is kept under the same review as Zammad.

Limit the token to the check

Create a dedicated token for the monitoring probe and give it no broader role than the check needs. Do not reuse an administrator's personal API token or a token shared with integrations. Before you go live, confirm in your Zammad version which permissions the health check token requires and whether it can be restricted further. Keep a record of which system holds each token so a compromised probe can be revoked without disturbing other integrations.

Keep the endpoint off the public internet

The health check should be reachable only from the monitoring server or the probe network, not from the open internet. Apply allow-listing at the reverse proxy in front of Zammad, and confirm that the path is not exposed through a public load balancer or a shared ingress rule. Test the restriction from outside your network after every proxy change, because a rule that worked for the application may not cover the monitoring path.

Verify TLS in the probe

Configure the probe to connect over HTTPS and to validate the certificate chain and hostname, rather than skipping verification to get a green check. An unverified probe will keep reporting healthy while a certificate has expired or a different host answers on the name. Confirm that your monitoring platform's certificate handling is enabled, and add certificate expiry as its own alert so the warning arrives before the check fails.

Restrict who reads monitoring secrets

Zabbix and Prometheus configurations hold the token in plain view for anyone with the right edit permissions. In Zabbix, review which user groups can view host macros and item configuration that contain the token, and follow the authentication guidance for user roles. In Prometheus, keep the configuration file and any secret mounts readable only by the service account. Ask who on your team can open the dashboards and scrape configs, and remove access for people who no longer need it.

Zabbix authentication docs

Audit token creation and resets

Token creation and reset are the moments when a monitoring credential changes hands, so they should leave a trace. Record who created or reset the monitoring token, when, and which probe received the new value. Reset the token on a schedule you can name and after any staff change on the monitoring side. Check that Zammad's own audit output and your monitoring platform's logs are both retained long enough for a review, and confirm which events each one records before you rely on them.

Patch the monitoring path with Zammad

The monitoring server, its database, its dashboards and the probe hosts are part of the same attack surface as Zammad, so they belong in the same patching calendar and access review. Prometheus and Zabbix both publish security guidance and release notes that should be read on the same cycle as Zammad's security releases. Review the monitoring servers' accounts, exposed ports and dashboard sharing settings at the same time you review the helpdesk, and record the outcome in one change log.

Prometheus security model

What to confirm in your environment before relying on the check

The endpoint you poll belongs to a specific Zammad build, and the way that build is installed decides who fixes what when the check misbehaves. Start by recording the exact Zammad version in your environment, including any security release applied on top of a minor release. Zammad 7.2 was released on 23 September 2026, followed by security releases 7.2.1 and 7.2.2, and 6.5.5 shipped for the 6.5 line, so a version number alone does not tell you which fixes are present.

  • Installed version: Record the exact release from the running application, not from the package name or the image tag you intended to deploy.
  • Install method: Confirm whether you run the package installation, Docker Compose or the Kubernetes Helm chart, because the vendor documentation differs for each.
  • Kubernetes scope: On Kubernetes, ask Zammad which issues it supports. Its support covers only the application, so ingress, service routing and cluster networking remain with your platform team.
  • Upgrade path: Ask where the health check endpoint and its response fields are documented for your version, and whether they changed between the 6.5 and 7.x lines.

The closing check is whether someone on your team can state the Zammad version, install method and documentation source for the endpoint you are about to monitor.

Questions teams ask before wiring Zammad monitoring

How much does it cost to monitor Zammad with the health check?

The monitoring software carries no license fee, so the cost comes from the parts you pay for. Zabbix 7.0 and later are released under AGPL version 3 with no license fee, no device limits and no feature gates, as stated on the Zabbix license page. Prometheus is Apache-2.0 licensed and has no paid enterprise edition. The four cost components are the server and storage that run the monitoring platform, the time to build and tune the Zammad checks and alerts, the people who maintain them after go-live, and any paid vendor support. Zammad has no license fee for self-hosted use, but its self-hosted support subscriptions are Business at 2,999 EUR per year, Enterprise at 5,999 EUR per year and Corporation at 9,999 EUR per year. Ask for a quote that separates one-time build work from recurring maintenance.

How long does a Zammad monitoring setup take?

The duration depends on scope, and no fixed timeline fits every environment. The main drivers are how many Zammad instances need checks, whether the monitoring platform already exists with templates and alert routing in place, how many notification channels and on-call rules must be designed, and whether you want coverage beyond the health check, such as mailbox tests or log review. Change control adds time when new checks must be proven on a non-production instance first. Ask for a fixed-scope proposal that lists the environments covered, the alerts to be built, the acceptance tests and the dependencies that could move the schedule. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the duration should appear in that written scope.

What does the work need from our team?

Plan on decisions and access from the people who own Zammad and the monitoring platform. You need an administrator who can create and rotate the API token in Zammad, and the owner of the Zabbix or Prometheus environment who grants a host, template or scrape target. Someone must decide which alerts page on-call staff and during which hours. Each Zammad instance needs a named contact, and the owner of the maintenance calendar must share update windows so planned work does not trigger false alerts. Your team should also confirm that the check output matches what operators need to act on. Ask the scope to state which tasks DeployOpen performs, which your team performs and who signs off the acceptance tests.

Can our own admins set up Zammad health check monitoring?

Yes, if your admins already run the monitoring platform and can create an HTTP-based check. The configuration itself is usually the smaller part of the work. Zammad admins must create a token scoped as narrowly as the version allows and store it in the monitoring tool's secret handling. Monitoring admins must map the endpoint's healthy and issues fields to triggers and alerts. The harder work is operational: deciding which states are critical, proving that alerts fire during a controlled fault, handling maintenance windows and keeping probes current after Zammad upgrades. Before building anything, confirm the endpoint's exact field names, token format and authentication method in the Zammad documentation for your version.

Does the Zammad health check replace email monitoring?

No. The health check reports on the state of the application, and it does not cover several email failure modes. Plan separate coverage for failed inbound and outbound communication jobs, IMAP and SMTP connection errors, oversized messages that never become tickets, OAuth token problems after a mailbox moves to XOAUTH, and filters that route mail to the wrong group. Each needs a signal you can alert on, such as job queue monitoring, log review, a canary mailbox that sends a test message on a schedule, or a dashboard that agents check. Ask the scope to name which of these signals will be built, and who reviews them when they fire.

How often should Zammad API tokens be rotated?

Set the interval in your own credential policy, because no supplied guidance fixes one for every organization. Rotate on that schedule, when an administrator who knew the token leaves, after a suspected leak, and before a major upgrade if the documentation for your version calls for it. Rotation should be additive: create the new token, store it in the monitoring tool, confirm the check returns the expected healthy result, then revoke the old token. Revoking first makes the checks fail and produces false outage alerts. Record each rotation in your change log, and confirm how tokens are created, scoped and revoked in the Zammad documentation for your version.

Is paid support for Zabbix or Prometheus worth buying?

Paid support is optional, since neither monitoring platform charges a license fee. Zabbix support tiers range from Silver, with 8x5 support and a 1 day response, to Gold with a 4 hour response, to 24x7 tiers with 2 hour (Platinum), 1.5 hour (Enterprise) and 1 hour (Global) response, as listed on the Zabbix support page. Prometheus has no paid enterprise edition, so any outside help comes from a third party or your own staff. For Zammad, self-hosted support is Business at 2,999 EUR per year with a 6 hour response, Enterprise at 5,999 EUR per year with a 4 hour response and Corporation at 9,999 EUR per year with a 2 hour response. Decide by how fast you must recover from a monitoring fault and who is on call, then compare each published response time with your own incident targets.

How DeployOpen scopes and delivers Zammad monitoring

DeployOpen treats Zammad monitoring as part of the platform the helpdesk runs on, not an afterthought. We scope the check endpoint, token handling and alerting into a written plan, then build, test and hand over the monitoring inside your own infrastructure so your operations team can run it.

How we scope

  • Inventory which monitoring system you run, such as Zabbix, Checkmk or Prometheus, and who responds to alerts.
  • Define the token ownership, rotation approach and where the credential is stored for the monitoring user.
  • Agree in writing which email, channel and background job failures the health check will not report, and how those are watched instead.

How we build

  • Configure the monitoring probe against your Zammad hostname, reverse proxy and network path, including certificate checks.
  • Map the healthy and issues fields to alert conditions and test each alert against a controlled, non-production failure.
  • Add separate checks for mail queues and background job backlog where your scope requires them, tested end to end.

How we hand over

  • Deliver the probe configuration, alert rules, token procedure and runbook for responding to each alert type.
  • Walk your operations team through a rotation test, showing how to reset the token without breaking the monitoring.
  • Document the open items you own, such as on-call routing and retention of monitoring data in your environment.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
  • Ongoing support, upgrades and checks after Zammad releases are available as a retainer.
  • Ask any provider to confirm how they handle the monitoring token, the Zammad version you run and your alert escalation path.

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.