From 7e8ee56215bb2008d996468a98dc7dfbfca152c4 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Mon, 30 Mar 2026 19:16:25 +0000 Subject: [PATCH] docs: sync readme and gitignore perfectly from test branch --- .gitignore | 14 ++------------ postgresql/procedures/README.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 9fa021c..a50e7cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,3 @@ -# Docker environment -docker/ -z_gen_history_data.sql - -# Local docs -init_extra_users.sql - -# Schemas -sql-scripts*/ - -# Credentials db_credentials -global-bundle.pem \ No newline at end of file +global-bundle.pem +template/ diff --git a/postgresql/procedures/README.md b/postgresql/procedures/README.md index 6e27360..00f9932 100644 --- a/postgresql/procedures/README.md +++ b/postgresql/procedures/README.md @@ -8,6 +8,24 @@ This is the declarative (PostgreSQL procedures based) partitioning implementatio > 1. **Data Visibility**: After enabling partitioning, old data remains in `*_old` tables and is **NOT visible** in Zabbix. You must migrate data manually if needed. > 2. **Disable Housekeeping**: You **MUST** disable Zabbix Housekeeper for History and Trends in *Administration -> Housekeeping*. Failure to do so will cause massive `DELETE` loads. +## Table of Contents +- [Architecture](#architecture) + - [Components](#components) +- [Prerequisites: Database & User Creation](#prerequisites-database--user-creation) +- [Installation](#installation) +- [Configuration](#configuration) + - [Modifying Retention](#modifying-retention) +- [Maintenance](#maintenance) + - [Scheduling Maintenance](#scheduling-maintenance) +- [Monitoring & Permissions](#monitoring--permissions) + - [Versioning](#versioning) + - [Least Privilege Access (`zbx_monitor`)](#least-privilege-access-zbx_monitor) +- [Implementation Details](#implementation-details) + - [`auditlog` Table](#auditlog-table) + - [Converting Existing Tables](#converting-existing-tables) +- [Upgrades](#upgrades) +- [Appendix: Zabbix Server & Frontend RDS Configuration](#appendix-zabbix-server--frontend-rds-configuration) + ## Architecture The solution uses PostgreSQL native declarative partitioning (`PARTITION BY RANGE`).