---
title: Deploy Zabbix with AI on Blossom
url: "/deploy/zabbix/"
canonical_url: https://blossom88.com/deploy/zabbix/
markdown_url: https://blossom88.com/deploy/zabbix.md
summary: Deploy Zabbix on Blossom with managed PostgreSQL, monitor a service, and
  see its first problem and recovery.
categories:
- deployment
- monitoring
stack:
- C
- PHP
- PostgreSQL
- Nginx
---

# Deploy Zabbix with AI on Blossom

[Zabbix](https://www.zabbix.com/) collects monitoring data and opens
problems when checks match your trigger conditions. Start with one
service and watch its check go from healthy to problem and back.

![See a problem after the checkout health signal changes.](/deploy/assets/images/zabbix/checkout-problem.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Zabbix on Blossom with managed PostgreSQL and help me set up a health check.
>
> Follow this guide: https://blossom88.com/deploy/zabbix/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Have Ready

Nothing is required beyond your Blossom account.

- **An HTTP endpoint you control** (Later): Start with a private sample endpoint, then monitor your own service.

## How It Runs

| Part | Role | Where |
|---|---|---|
| Zabbix web | Shows checks, events, and monitoring history | App Capacity |
| Zabbix server | Runs checks and evaluates triggers | Private App Capacity |
| PostgreSQL | Stores monitoring configuration and history | Blossom Managed Data |

## Deploy Zabbix

Run the matching official Zabbix server and web images for a maintained
LTS release. Give both Services access to the same
[managed PostgreSQL Database](https://docs.blossom88.com/docs/databases/). Keep the server private
and put the dashboard behind Blossom Account access. Replace the
initial admin password before sharing access.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the PostgreSQL variants of the server and Nginx web images.
Check the [release requirements](https://www.zabbix.com/documentation/7.0/en/manual/installation/requirements)
before choosing PostgreSQL. Pass the linked Database's connection
details in the environment variables expected by the images. Keep
those variables in sync when rotating the Database password. Let the
server initialize the schema and verify the web interface signs in.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data zabbix-plan.yml
    blossom database_instance:create --data zabbix-postgres.yml --follow
    blossom environment:deploy --id environment-100 --follow

</details>

## Open and Resolve a Test Problem

Create an HTTP agent item for a sample health endpoint. Add a trigger
that opens a problem when the health value changes to zero. Change the
test signal, then open **Monitoring → Problems** to see the event.

> **Ask your AI agent:** Monitor a sample checkout endpoint in Zabbix and show me what happens when its health signal changes.

> Follow this guide: https://blossom88.com/deploy/zabbix/



## Keep Your History

Replace the web Container and reopen the item's history. The Zabbix
server keeps polling while the web interface restarts. Restore the
healthy test signal and confirm the problem resolves.

![Read both health values after replacing the web Container.](/deploy/assets/images/zabbix/checkout-history-after-replacement.webp)

## What You Get

- A private dashboard for health checks and problems
- An HTTP check and a trigger for a sample service
- Monitoring history in managed PostgreSQL

Tested on Blossom: The same monitoring history survived web Container replacement, and the running Zabbix server resolved the problem when the check recovered.
