Zabbix alt

Материал из wiki.nntc.nnov.ru
Перейти к навигации Перейти к поиску

Zabbix на Alt P10 jeos

Источник: здесь

Подготовка

apt-get update && apt-get -y dist-upgrade
apt-get install -y nano update-kernel
update-kernel -y
reboot

Postgresql

Установка

apt-get install -y postgresql16-server

Первоначальный запуск

/etc/init.d/postgresql initdb
cat << 'EOF' > /var/lib/pgsql/data/pg_hba.conf 
# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust

# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
host    all             all             0.0.0.0/0            md5

# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     trust
host    replication     all             127.0.0.1/32            trust
EOF
systemctl enable --now postgresql

Zabbix server

Zabbix agent