このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 13 / 昨日: 4
総計: 1053
- Dokuwiki.fl8.jp(482)
- 13 CentOS6メール設定(24)
- FreeBSD カーネル再構築(22)
- 05 rsync(22)
最近の更新
このページへのアクセス
今日: 13 / 昨日: 4
総計: 1053
Amazon Linux 2023にZabbix Agentを入れようとしたけど、入れる事ができなかった。。。
# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix-release-6.0-4.el9.noarch.rpm
# dnf install zabbix-agent
Last metadata expiration check: 0:01:28 ago on Wed May 1 16:55:16 2024.
Error:
Problem: conflicting requests
- nothing provides liblber.so.2()(64bit) needed by zabbix-agent-6.0.21-release2.el9.aarch64
- nothing provides liblber.so.2(OPENLDAP_2.200)(64bit) needed by zabbix-agent-6.0.21-release2.el9.aarch64
- nothing provides libldap.so.2()(64bit) needed by zabbix-agent-6.0.21-release2.el9.aarch64
- nothing provides libldap.so.2(OPENLDAP_2.200)(64bit) needed by zabbix-agent-6.0.21-release2.el9.aarch64
groupadd --system zabbix useradd --system -g zabbix -d /usr/lib/zabbix -s /sbin/nologin -c "Zabbix Monitoring System" zabbix
dnf install pcre pcre-devel gcc
curl -L -O https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-6.0.29.tar.gz tar zxvf zabbix-6.0.29.tar.gz cd zabbix-6.0.29/ ./configure --enable-agent make make install cp misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/ chkconfig --add zabbix_agentd chkconfig zabbix_agentd on chkconfig --list zabbix_agentd
mkdir /var/log/zabbix chown zabbix:zabbix /var/log/zabbix
# cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=/var/log/zabbix/zabbix_agentd.log Server=XXX.XXX.XXX.XXX ServerActive=XXX.XXX.XXX.XXX Hostname=Zabbix server
cp misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/ chkconfig --add zabbix_agentd chkconfig zabbix_agentd on # chkconfig --list zabbix_agentd zabbix_agentd 0:off 1:off 2:on 3:on 4:on 5:on 6:off