Templates / Analyze Zabbix infrastructure health with Gemini and PostgreSQL

Analyze Zabbix infrastructure health with Gemini and PostgreSQL

Needs changes

by Thiago Vazzoler Loureiro ✓ · 128 views · created 2026-06-09 · DevOps, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 21 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Postgres, Redis Chat Memory and Google Gemini Chat Model.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Normalize Payload (Code): runs custom JavaScript code
  2. Prepare Context (Code): runs custom JavaScript code
  3. Gemini · Infra Agent (AI Agent): runs an AI agent, with model: Gemini 2.0 Flash; 11 tools (search_hosts, get_host_items, get_disk_growth, get_group_hosts…); memory: Redis Chat Memory
  4. Render SVG Charts (Code): runs custom JavaScript code
  5. Fallback Response (Edit Fields (Set)): sets or maps fields
  6. Respond (Respond to Webhook): sends the response back to the webhook caller
  7. Prepare Context (Code): runs custom JavaScript code

Services it uses

PostgresRedis Chat MemoryGoogle Gemini Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Gemini · Infra Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Gemini · Infra Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

From the author

Quick overview This workflow exposes a Basic Auth webhook that routes infrastructure questions to a IA agent, which queries a Zabbix PostgreSQL database for host, alert, and performance metrics and returns a Markdown response with inline SVG charts, using…

Excerpt from Thiago Vazzoler Loureiro's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.