どうすればいいですか?うまく動作していると思っていたzabbixサーバーのすべての設定は完了しましたが、最後のステップでは実行されません。私は何が間違っているのかわかりません。この問題をどのように解決できますか?初めてです助けてくれてありがとう :)
?php
// Zabbix GUI configuration file.
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'zabbix_db_pass';
// Schema name. Used for PostgreSQL.
$DB['SCHEMA'] = '';
// Used for TLS connection.
$DB['ENCRYPTION'] = false;
$DB['KEY_FILE'] = '';
$DB['CERT_FILE'] = '';
$DB['CA_FILE'] = '';
$DB['VERIFY_HOST'] = false;
$DB['CIPHER_LIST'] = '';
// Use IEEE754 compatible value range for 64-bit Numeric (float) history values.
"/etc/zabbix/web/zabbix.conf.php" 47L, 1484C
///////zabix.conf.php starts here
// Use IEEE754 compatible value range for 64-bit Numeric (float) history values.
// This option is enabled by default for new Zabbix installations.
// For upgraded installations, please read database upgrade notes before enabling this$
$DB['DOUBLE_IEEE754'] = true;
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
// Uncomment this block only if you are using Elasticsearch.
// Elasticsearch url (can be string if same url is used for all types).
//$HISTORY['url'] = [
// 'uint' => 'http://localhost:9200',
// 'text' => 'http://localhost:9200'
//];
また、ファイアウォールの状態で次の小さなメッセージが見つかりました。
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-11-22 13:14:25 EST; 2h 5min ago
Docs: man:firewalld(1)
Main PID: 767 (firewalld)
Tasks: 2
CGroup: /system.slice/firewalld.service
私のサーバーにあまりにも多くのことが起こっているようですが、どこで編集するのかわかりません。誰もがCentOS Linuxバージョン7.9、2009(コア)と互換性のあるガイドを見つけるのに役立ちますか?
ベストアンサー1
最後まで読んだらZabbixガイドラインのダウンロードとインストールサービスが実行されていない場合は、「Zabbixサーバーとエージェントプロセスの開始」コマンドを試してみる価値があるようです。
systemctl restart zabbix-server zabbix-agent httpd php-fpm
systemctl enable zabbix-server zabbix-agent httpd php-fpm