From 3fa9b339941ea76cb5b76fd155e6ad4e043574b7 Mon Sep 17 00:00:00 2001 From: Alvis Date: Fri, 24 Jul 2026 19:43:44 +0000 Subject: [PATCH] Zabbix, Home-Assistant: point config/access to new lizacer repo (kb#81) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit zabbix/ and haos/ dirs moved out of agap_git into the new alvis/lizacer Gitea repo — both were stale copies left over from before Zabbix and Home Assistant migrated to lizacer Docker. Fix the Zabbix page's Caddy target (was localhost:81, actually 192.168.1.4:81) and both pages' config-directory pointers. --- Home-Assistant.md | 4 ++++ Zabbix.md | 12 +++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Home-Assistant.md b/Home-Assistant.md index bb737a0..debfaec 100644 --- a/Home-Assistant.md +++ b/Home-Assistant.md @@ -23,3 +23,7 @@ A HAOS KVM VM (`haos_ova-17.1.qcow2`, 4 GB RAM, 2 vCPU, br0 bridge, UEFI). The V HA still pushes alerts to Zabbix via `rest_command` → trapper items on the Zabbix host **HA Agap** (host name is legacy — not renamed yet). Water leak, motion, and device-availability automations are owned by the HA config on lizacer. Entity IDs that started as ZHA (`binary_sensor.0xa4c1...`, `binary_sensor.hobeian_zg_222z*`) may have changed after the zigbee2mqtt migration. Verify before relying on names in new automations or Zabbix items. + +## Config + +REST API reference notes: `haos/CLAUDE.md` in the [`lizacer`](http://localhost:3000/alvis/lizacer) Gitea repo (moved out of `agap_git` — kb#81). diff --git a/Zabbix.md b/Zabbix.md index 8e53daf..9fbb18a 100644 --- a/Zabbix.md +++ b/Zabbix.md @@ -2,6 +2,8 @@ Monitoring stack — Zabbix 7.4 with PostgreSQL backend, Apache web frontend, and two agents. +**Runs on lizacer (`192.168.1.4`), not Agap.** Config lives in the `lizacer` Gitea repo, not `agap_git`. + ## Stack | Component | Image | @@ -13,7 +15,8 @@ Monitoring stack — Zabbix 7.4 with PostgreSQL backend, Apache web frontend, an ## Access -- URL: https://zb.alogins.net (Caddy → localhost:81) +- URL: https://zb.alogins.net (Caddy on Agap → `192.168.1.4:81`) +- Direct: `http://192.168.1.4:81` ## Agents @@ -33,7 +36,7 @@ The container agent connects to `zabbix-server` over the internal `backend` Dock ## Config -Directory: `agap_git/zabbix/` +Directory: `zabbix/` in the [`lizacer`](http://localhost:3000/alvis/lizacer) Gitea repo (moved out of `agap_git` — kb#81). Live copy on lizacer: `/home/alvis/zabbix`. `.env` variables: @@ -49,8 +52,11 @@ Directory: `agap_git/zabbix/` ## Start +On lizacer: + ```bash -cd agap_git/zabbix +ssh alvis@192.168.1.4 +cd zabbix docker compose up -d ```