以下の内容はhttps://michael-e29.hatenadiary.org/entry/2023/03/17/163915より取得しました。


RHEL9にZabbix6.0LTSのzabbix-agent2をインストールする

RHEL9にZabbix6.0LTSのzabbix-agent2をインストールする

$ sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix-release-6.0-4.el9.noarch.rpm
$ sudo dnf clean all
$ sudo dnf -y install zabbix-agent2
$ vim /etc/zabbix/zabbix_agent2.conf
Server=
ServerActive=

Server=,ServerActive=2項目にZabbix-serverのIPアドレスを入力

zabbix-agent2の自動起動設定と起動

$ sudo systemctl enable zabbix-agent2.service 
$ sudo systemctl start zabbix-agent2.service 

Firewallの設定

$ sudo firewall-cmd --permanent --add-service zabbix-agent
$ sudo firewall-cmd --reload
$ sudo firewall-cmd --list-services 
cockpit ssh zabbix-agent

ちなみにfirewallの設定はcockpitのネットワーキング->ファイアウォールからでも設定できる。




以上の内容はhttps://michael-e29.hatenadiary.org/entry/2023/03/17/163915より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14