Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of error reporting and solving methods in the process of building zabbix monitoring platform

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1.php option post_max_size

2.php option max_execution_time

3.php option max_input_time

4.php time zone

5.php bcmath

6.php mbstring

Solve 1-3 error report and modify php file vim / etc/php.ini

Change the corresponding parameter to the required value

Resolve 4 error reports: modify date.timezone=/Asia/Shanghai and pay attention to removing the

Resolve 5.6 error report

Install the php expansion module

Yum-y install php-bcmath

Yum-y install php-mbstring

The local yum source does not have these two expansion modules. We need to build a network yum source.

Configure the network yum source (virtual machines must be able to access the Internet)

Rhel6:

[root@localhost ~] # rm-rf / etc/yum.repos.d/*

[root@localhost] # wget-O / etc/yum.repos.d/Centos.repo http://mirrors.aliyun.com/repo/Centos-6.repo #-O is uppercase o, not zero

[root@localhost ~] # sed-I's Universe release etc/yum.repos.d/Centos-6.repo

[root@localhost ~] # yum clean all

[root@localhost ~] # yum list

Rhel7:

[root@localhost] # wget-O / etc/yum.repos.d/Centos.repo http://mirrors.aliyun.com/repo/Centos-7.repo #-O is uppercase o, not zero

[root@localhost ~] # sed-I's Universe releasevermax 7 / etc/yum.repos.d/Centos-7.repo

[root@localhost ~] # yum clean all

[root@localhost ~] # yum list

Restart httpd mysql after modification

Refresh

Fail prompt could not find zabbix.conf.php

Cd / var/www/html/conf/ found that there was no such file.

Solution method

Follow the tips below to download donwload configuretion file

Upload to / var/www/html/conf/ using the command rz-y

Software package lrzsz required for the rz command

Yum install lrzsz-y

Press Retry to refresh

At this point, the discovery indicates that the zabbix_server service is not enabled.

Zabbix_server running no

Enable the zabbix_server service

# / usr/local/zabbix/sbin/zabbix_server start

Refresh and restart httpd service

Zabbix monitoring web interface shows no Chinese, modified profile language drop-down without chinese (zh_cn)

Solution:

First confirm whether the system itself supports zabbix fonts

Locale-a

Found all fonts that begin with en, no zh_CN and zh_TW supported by zabbix (ignore this step if any)

2. Install zh_CN

Localedef-I zh_CN-f UTF-8 zh_CN.UTF-8

3. Restart httpd, enter the user configuration interface, select zh_CN, and log in again.

Access to the include/locales.inc.php file

Modify

'zh_CN' = > array (' name' = > _ ('Chinese (zh_CN)'), 'display' = > false)

For

'zh_CN' = > array (' name' = > _ ('Chinese (zh_CN)'), 'display' = > true)

Restart the httpd service

Zabbix_agent configuration

Linux agent install:

[root@xxx] # zabbix_agentd-c / usr/local/zabbix_agentd.conf

Zabbix_agentd [14423]: user zabbix does not exist

Zabbix_agentd [14423]: cannot run as root!

Solution: useradd zabbix

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report