zabbix proxy上のzabbix agentの断続的な不具合

お世話になっております。

 zabbix server 5.4
 almalinux8

 zabbix proxy 5.4
 centos7.3
 mariadb 1:5.5.68-1.el7

zabbix proxyにzabbix agent2を入れて動かしているのですが、
web上でagentの状態を確認すると、「ZBX」というアイコンが緑→赤→緑→赤と、
数分単位で断続的に切り替わります。
設定自体、問題なくできており、原因不明です。
ご助力いただけますと幸いです。

# yum list installed |grep zabbix
zabbix-agent2.x86_64 5.4.6-1.el7 @zabbix
zabbix-proxy-mysql.x86_64 5.4.5-1.el7 @zabbix
zabbix-release.noarch 5.4-1.el7 installed
zabbix-sql-scripts.noarch 5.4.5-1.el7 @zabbix

# systemctl -l status zabbix-agent2
● zabbix-agent2.service - Zabbix Agent 2
Loaded: loaded (/usr/lib/systemd/system/zabbix-agent2.service; disabled; vendor preset: disabled)
Active: active (running) since 金 2021-10-22 13:48:13 JST; 13min ago
Process: 1987 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 1990 (zabbix_agent2)
CGroup: /system.slice/zabbix-agent2.service
mq1990 /usr/sbin/zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf

10月 22 13:48:13 zabbixproxy2 systemd[1]: Stopped Zabbix Agent 2.
10月 22 13:48:13 zabbixproxy2 systemd[1]: Started Zabbix Agent 2.
10月 22 13:48:13 zabbixproxy2 zabbix_agent2[1990]: Starting Zabbix Agent 2 (5.4.6)
10月 22 13:48:13 zabbixproxy2 zabbix_agent2[1990]: Zabbix Agent2 hostname: [zabbixproxy]
10月 22 13:48:13 zabbixproxy2 zabbix_agent2[1990]: Press Ctrl+C to exit.

#tail /var/log/zabbix/zabbix_agent2.log(サービス再起動直後)
2021/10/22 13:48:13.011589 Zabbix Agent 2 stopped. (5.4.6)
2021/10/22 13:48:13.048227 Starting Zabbix Agent 2 (5.4.6)
2021/10/22 13:48:13.048899 OpenSSL library (OpenSSL 1.0.1e-fips 11 Feb 2013) initialized
2021/10/22 13:48:13.049032 using configuration file: /etc/zabbix/zabbix_agent2.conf
2021/10/22 13:48:13.049180 using plugin 'Agent' providing following interfaces: exporter
2021/10/22 13:48:13.049236 using plugin 'Ceph' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049273 using plugin 'Cpu' providing following interfaces: exporter, collector, runner
2021/10/22 13:48:13.049289 using plugin 'Docker' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049320 using plugin 'File' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049339 using plugin 'Kernel' providing following interfaces: exporter
2021/10/22 13:48:13.049353 using plugin 'Log' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049379 using plugin 'MQTT' providing following interfaces: watcher, configurator
2021/10/22 13:48:13.049394 using plugin 'Memcached' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049408 using plugin 'Memory' providing following interfaces: exporter
2021/10/22 13:48:13.049439 using plugin 'Modbus' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049453 using plugin 'Mongo' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049480 using plugin 'Mysql' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049513 using plugin 'NetIf' providing following interfaces: exporter
2021/10/22 13:48:13.049527 using plugin 'Oracle' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049544 using plugin 'Postgres' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049583 using plugin 'Proc' providing following interfaces: exporter, collector
2021/10/22 13:48:13.049598 using plugin 'ProcExporter' providing following interfaces: exporter
2021/10/22 13:48:13.049611 using plugin 'Redis' providing following interfaces: exporter, runner, configurator
2021/10/22 13:48:13.049629 using plugin 'Smart' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049642 using plugin 'Sw' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049656 using plugin 'Swap' providing following interfaces: exporter
2021/10/22 13:48:13.049669 using plugin 'SystemRun' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049682 using plugin 'Systemd' providing following interfaces: exporter
2021/10/22 13:48:13.049696 using plugin 'TCP' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049736 using plugin 'UDP' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049755 using plugin 'Uname' providing following interfaces: exporter
2021/10/22 13:48:13.049768 using plugin 'Uptime' providing following interfaces: exporter
2021/10/22 13:48:13.049804 using plugin 'Users' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049826 using plugin 'VFSDev' providing following interfaces: exporter, collector
2021/10/22 13:48:13.049840 using plugin 'VfsFs' providing following interfaces: exporter
2021/10/22 13:48:13.049854 using plugin 'WebCertificate' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049867 using plugin 'WebPage' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049880 using plugin 'ZabbixAsync' providing following interfaces: exporter
2021/10/22 13:48:13.049894 using plugin 'ZabbixStats' providing following interfaces: exporter, configurator
2021/10/22 13:48:13.049907 using plugin 'ZabbixSync' providing following interfaces: exporter
2021/10/22 13:48:13.050116 Zabbix Agent2 hostname: [zabbixproxy]

# cat /etc/zabbix/zabbix_agent2.conf| grep -v ^# | grep -v
PidFile=/var/run/zabbix/zabbix_agent2.pid
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=0
Server=[zabbix serverのIPアドレス]
Hostname=zabbixproxy
Include=/etc/zabbix/zabbix_agent2.d/*.conf
ControlSocket=/tmp/agent.sock

# getenforce
Disabled

以上、よろしくお願いいたします。

コメント表示オプション

お好みのコメント表示方法を選び「設定の保存」をクリックすると変更が反映されます。
ユーザー TNK の写真

Zabbixプロキシのログも確認してみてください。

ユーザー tototo の写真

ご回答いただきありがとうございます。

質問を投稿させていただいてから現在まで、下記のログが連続して出力されていました。
特に問題ないログの様でした。

1740:20211025:095725.909 executing housekeeper
1740:20211025:095725.926 housekeeper [deleted 474 records in 0.014980 sec, idle for 1 hour(s)]

質問の時に書いていればよかったのですが、
このzabbixproxyサーバは、別のzabbixproxyサーバのイメージをコピーして作成したという経緯があります。
コピー後は、ホスト名とIPアドレスを変更し、疎通確認などに問題ないことを確認しました。
ログ上には出力されませんが、agnetやproxyのコンフィグをそのままコピーすることで
何か不具合が起こることはございますでしょうか。

他にも気にするべき点があればご教示いただけますと幸いです。
以上、よろしくお願いいたします。

ユーザー TNK の写真

どの状態でコピーを作成されたのかわかりませんが、Zabbixプロキ
シのデータベースの作り直しはしておいた方がよいかったかもしれ
ません。

ユーザー tototo の写真

ご回答いただきありがとうございます。

作成しなおしてみようと思います。
ご助言いただきありがとうございます。

以上、よろしくお願いいたします。