test is OK.PHP option "Date.timezone" prompt failed to modify php.ini default in/etc/php.iniVi/etc/php.iniSearch/timezoneDefine it, please.Restart the httpd serviceSystemctl Restart httpdRefresh your browser and you'll be OK.Continue to the next step, fill in the information, Port 0 refers to the default is 3306Password: Aming-zabbixNext, define the hostname, you can define it casuallyNextNextLog in when you are done default Admin User: admin password: ZabbixLog in first to change the password,
createreporpm –ivh createrepo-0.9.9-18.e16.noarch.rpm
If you are prompted to install the dependency package during installation, follow the prompts to install the package.
Run the createrepo command to create the repodata directory.
cd /ISO/Packagescreaterepo .
Set local yum Source
Cd/etc/yum. repo. dmv CentOS-Base.repo CentOS-Base.repo.bakcp CentOS-Media.repo CentOS-Base.repovi CentOS-Base.repo to make the following configuration changes: # yum source location baseurl = file: /// ISO/Pac
previously set to Zabbix)or replace the contents of the file with sed:#sed-i "s/dbuser\=root/dbuser\=zabbix/g"/etc/zabbix/zabbix_server.conf#sed-i "/# dbpassword=/adbpassword=zabbix\n"/etc/zabbix/zabbix_server.conf#sed-i "s#tmp/zabbix_server.log#var/log/
Operating System
IP address
Main Software
Zabbix Server
Centos 1, 7.4
192.168.154.132
Nginx1.14, mysql5.7, php7.2, zabbix 4.0
Linux Client
Centos 1, 7.4
192.168.154.20.
Zabbix-agent
Deployment steps
(1) disable the Firewall:
[[emailprotected] ~]# systemctl stop fir
Description
The ZABBIX monitoring server has been configured to monitor Linux hosts using Zabbix.
Specific operation:
The following operations are performed on the monitored Linux hosts, with the CentOS 6.x system as an example.
First, configure the firewall, open 10050, 10051 TCP and UDP ports
Vi/etc/sysconfig/iptables #编辑防火墙配置文件
-A input-s 192.168.21.127-m state--state new-m tcp-p TCP--dport 10050:10051-
Zabbixzabbix introduction of Linux monitoring SystemZabbix is a network monitoring and management system developed by Zabbix Alexei Vladishev, based on the server-client architecture. can be used to monitor the status of various network services, servers, and network machines. Integrates the features of Catic and Nagios.Use a variety of database-end such as MySQL, PostgreSQL, SQLite, Oracle or IBM DB2 to st
scripts.
Here we use the trap-messages Method for deployment.
1> install Python Dependencies
# yum -y install python-pip# pip install argparse# pip install redis
2> place zbx_redis_stats.py to a path on the zabbix server, such as/etc/zabbix/script/redis /.
3> modify the zabbix parameter in the script:
zabbix_host = '127.0.0.1' #
server, -- With-MySQL Use MySQL You can select a path for the client library Mysql_config , -- With-net-snmp Use Net-snmp Software Package , Select a path Net-snmp Configuration , -- With-libcurl Use Curl Package
#Make install
#Cat>/etc/services
Zabbix-Agent 10050/tcp # zabbixagent
Zabbix-Agent 10050/udp #
not be found for an issueMake sure the/var/lib/mysql/mysql.sock exists and if it does not, modify the Dbsocket configuration in the/etc/zabbix/zabbix_server.conf.Dbsocket=/var/lib/mysql/mysql.sockNote: After modifying the path to Mysql.sock actually exists, restart the service.Third case: Database cannot connect promptThere are three workarounds: check whether the database service is healthy, whether the firewall is allowed, or if the permissions are
httpd restart[Email protected] ~]# chkconfig--add httpd[Email protected] ~]# chkconfig httpd onVerify:Firefox Http://localhost/zabbix Second, the Zabbix was installed by the end of the deployment[Email protected] ~]# hostname www.benet.com[Email protected] ~]# useradd-u Zabbix[Email protected] ~]# TAR-ZXVF zabbix-2.2.
, commonly used in distributed monitoring environment, the proxy server collects the monitoring data of the monitored side and sends it to the server side uniformly;5, Agent: Deployed on the monitored host, responsible for collecting local data and to the server side or proxy side;3. ProcessBy default Zabbix contains 5 programs: Zabbix_agentd, Zabbix_get, Zabbix_proxy, Zabbix_sender, Zabbix_server, and another zabbix_java_gateway is optional , this ne
technologies to store data with RRDtool. With visual interface, it is suitable for automatic monitoring of cluster system. Its well-designed data structures and algorithms make the connection overhead to the monitored end very low. Tens of thousands of clusters are now using this monitoring system to easily handle 2000-node clustered environments. The power of ganglia is that the ganglia server is able to collect data from all clients on the same network segment through a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.