ITよろづや

ITから生活の参考になる情報を備忘録代わりに残していきます

Zabbixサーバーは起動するがダッシュボードで認識されない

Zabbixサーバーは起動するがダッシュボードで認識されないい事象があるようです。

 

情報元はこちら

 

Zabbix Server starts but is not recognized on your dashboard

https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/381006-zabbix-server-starts-but-is-not-recognized-on-your-dashboard

 

===

CentOS7にZabbixServer4をインストールしたところ、動作しません。
誰かが助けることができますか?以下はログと現在の設定ファイルです。
pt-BR [Acabei de instalar o Zabbis Server 4 noCentOS7enãoestouconseguindofazerelefuncionar。
アルゲムはアジュダーを説得しますか?Abaixoestãologseoarquivodeconfiguraçãoatual。]

-Zabbixエージェントが動作しています-
端末によるZabbixサーバーは実行中を示します
-Mysqlは動作しています

 

[root@monitor ~]# tail -f /var/log/zabbix/zabbix_server.log

21251:20190619:130136.821 syncing history data...
21251:20190619:130136.841 syncing history data... 100.000000%
21251:20190619:130136.841 syncing history data done
21251:20190619:130136.841 syncing trend data...
21251:20190619:130136.872 syncing trend data done
21251:20190619:130136.873 Zabbix Server stopped. Zabbix 4.0.9 (revision 97a69d5d5a).
21652:20190619:130136.956 Starting Zabbix Server. Zabbix 4.0.9 (revision 97a69d5d5a).
21652:20190619:130136.958 ****** Enabled features ******
21652:20190619:130136.958 SNMP monitoring: YES
21652:20190619:130136.959 IPMI monitoring: YES
21652:20190619:130136.959 Web monitoring: YES
21652:20190619:130136.959 VMware monitoring: YES
21652:20190619:130136.959 SMTP authentication: YES
21652:20190619:130136.960 Jabber notifications: YES
21652:20190619:130136.960 Ez Texting notifications: YES
21652:20190619:130136.960 ODBC: YES
21652:20190619:130136.960 SSH2 support: YES
21652:20190619:130136.961 IPv6 support: YES
21652:20190619:130136.961 TLS support: YES
21652:20190619:130136.961 ******************************
21652:20190619:130136.961 using configuration file: /etc/zabbix/zabbix_server.conf
21652:20190619:130136.982 current database version (mandatory/optional): 04000000/04000003
21652:20190619:130136.982 required mandatory version: 04000000
21652:20190619:130137.040 server #0 started [main process]
21653:20190619:130137.042 server #1 started [configuration syncer #1]
21654:20190619:130137.043 server #2 started [housekeeper #1]
21655:20190619:130137.045 server #3 started [timer #1]
21656:20190619:130137.047 server #4 started [http poller #1]
21657:20190619:130137.049 server #5 started [discoverer #1]
21659:20190619:130137.055 server #7 started [history syncer #2]
21660:20190619:130137.057 server #8 started [history syncer #3]
21658:20190619:130137.061 server #6 started [history syncer #1]
21661:20190619:130137.063 server #9 started [history syncer #4]
21662:20190619:130137.068 server #10 started [escalator #1]
21664:20190619:130137.069 server #12 started [self-monitoring #1]
21663:20190619:130137.071 server #11 started [proxy poller #1]
21665:20190619:130137.081 server #13 started [task manager #1]
21666:20190619:130137.082 server #14 started [poller #1]
21667:20190619:130137.084 server #15 started [poller #2]
21668:20190619:130137.087 server #16 started [poller #3]
21672:20190619:130137.096 server #20 started [trapper #1]
21669:20190619:130137.096 server #17 started [poller #4]
21671:20190619:130137.103 server #19 started [unreachable poller #1]
21670:20190619:130137.104 server #18 started [poller #5]
21673:20190619:130137.111 server #21 started [trapper #2]
21676:20190619:130137.124 server #23 started [trapper #4]
21675:20190619:130137.128 server #22 started [trapper #3]
21677:20190619:130137.137 server #24 started [trapper #5]
21678:20190619:130137.149 server #25 started [icmp pinger #1]
21680:20190619:130137.155 server #26 started [alert manager #1]
21682:20190619:130137.163 server #27 started [alerter #1]
21683:20190619:130137.164 server #28 started [alerter #2]
21685:20190619:130137.168 server #29 started [alerter #3]
21687:20190619:130137.189 server #30 started [preprocessing manager #1]
21688:20190619:130138.100 server #31 started [preprocessing worker #1]
21689:20190619:130138.110 server #32 started [preprocessing worker #2]
21690:20190619:130138.114 server #33 started [preprocessing worker #3]


-------------------------------

[root@monitor ~]# vim /etc/zabbix/zabbix_server.conf

LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
SocketDir=/var/run/zabbix
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=blablablabla
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000

===

 

 

続いて、回答です。

 

===

SELinuxをEnforcingモードにしましたか?
このフラグを試してください:
#setsebool -P httpd_can_connect_zabbix = 1

===

 

SElinuxはデフォルトで無効にすることが多かったですが、その後の回答がないので、こちらで対応できたのかもしれません。

 

バッファロー WiFi 無線LAN ルーター WSR-1166DHPL2/N 11ac ac1200 866 300Mbps IPv6対応 デュアルバンド 3LDK 2階建向け 簡易パッケージ テレワーク 日本メーカー 【 iPhone 13 / 12 / iPhone SE(第二世代) / Nintendo Switch メーカー動作確認済み】