zabbix在configure时候遇到的问题(CentOS)为你解答: 在CentOS系统中,安装zabbix进行configure时会遇到以下4个主要问题 ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl 1 configure: error: MySQL library not found the problem is not installed mysql-devel #yum install mysql-devel 2 configure: error: Jabber library not found the problem is not ins...
CentOS 7.3 安装Zabbix3.X一、配置CentOS 7关闭selinux #setenforce 0 临时关闭需要关闭 selinux,一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用# sed -i"s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config确认是否修改成功# grep SELINUX/etc/selinux/config然后重启系统即可# reboot关闭防火墙 systemctl startfirewalld.service#启动firewallsystemctl stopfirewall...
1.1 环境准备系统环境准备:
CentOS 7 64位
mysql-5.5.44
php-5.6.29
zabbix-3.2.3配置前先关闭iptables和SELINUX,避免安装过程中报错。# service iptables stop# setenforce 0# vi /etc/sysconfig/selinuxSELINUX=disabled
MySQL 5.1以上最好是 5.6或者更高的版本
PHP 5.4或者更高的版本2, LAMNP环境安装好编译安装zabbix前准备好依赖库环境安装zabbix所需的组件(server,agent)yum -y install curl libcurl-devel net-snmp net-...
1、下载安装zabbix-agent:# rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm# yum install -y zabbix-agent 2、修改zabbix-agent配置:# vim /etc/zabbix/zabbix_agentd.confServer=192.168.0.1 //默认的Server=172.0.0.1,ip地址为zabbix服务端的ip地址(被动模式)ServerActive=192.168.0.1 //默认的ServerActive=127.0.0.1,ip为zabbix-server的ip地址(主动模式) Ho...
zabbix中文官方文档地址: https://www.zabbix.com/documentation/3.4/zh/manual大纲一、zabbix简介二 、环境准备三 、安装数据库四 、安装zabbix server五 、初始化zabbix web六、安装zabbix-agent一、zabbix简介zabbix 是一个企业级的分布式开源监控方案。能够监控各种网络参数以及服务器健康性和完整性。支持灵活的通知机制,提供出色的报告和数据可视化功能。zabbix支持主动轮询和被动捕获。最关键的是源代码都是免费发行的,可...
zabbix 4.0.8 centos rpm 安装 出现图表注释丢失,坐标轴没有单位的解决办法[root@Francis ~]# mkdir /usr/share/zabbix/fonts
[root@Francis ~]# ln -s /usr/share/fonts/dejavu/DejaVuSans.ttf /etc/alternatives/zabbix-web-font
[root@Francis ~]# ln -s /etc/alternatives/zabbix-web-font /usr/share/zabbix/graphfont.ttf
[root@Francis ~]# cp /usr/share/zabbix/fonts/graphfont.ttf /usr/share/zabbix/assets/fonts/
#完...
一、Centos 6.5 下的Zabbix Server安装 上篇文章记录的是centos 7 下安装zabbix ,很简单。但是6.5上面没有可用的源直接安装zabbix,所以需要从别处下载。感谢itnihao团队的制作。二、基础环境 zabbix server:系统:阿里云 centos6.5 4核8G zabbix agent:系统:阿里云 centos6.5 4核8G三、安装步骤: zabbix需要mysql5.6以上版本,删除旧的版本[root@localhost /]# rpm -qa mysql*下载MySQL5.6版本[root@localhos...
Centos6.8下部署安装zabbix3.0: 环境要求PHP >= 5.4 (CentOS6默认为5.3.3,需要更新)
curl >= 7.20 (如需支持SMTP认证,需更新) 安装MySQL(已安装的忽略此步骤,最好5.6以上版本)rpm -ivh
http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpmyum install mysql-server –y 启动: 设置root密码:mysql_secure_installation Enter current password for root (enter for none):Set root password? [Y/n]Remove ...
创建zabbix用户[root@iZ25pvjcsyhZ ~]# groupadd zabbix
[root@iZ25pvjcsyhZ ~]# useradd -g zabbixzabbix创建一个目录,在那里下载的源文件将被存储。[root@iZ25pvjcsyhZ ~]# mkdir /home/zabbix/downloads
[root@iZ25pvjcsyhZ ~]# cd /home/zabbix/downloads下载并安装zabbix3.0.4(放出两个下载地址)[root@iZ25pvjcsyhZ downloads]# wget http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.0.4/zabbi...
zabbix需要mysql5.6以上版本,删除旧的版本[root@localhost /]# yum -y remove mysql*下载MySQL5.6版本[root@localhost /]# rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm[root@localhost /]# yum -y install mysql-server [root@localhost /]# yum list installed | grep mysqlmysql-community-client.x86_64 5.6.32-2.el6 @mysql56-community my...
Download and install Zabbixhttps://www.zabbix.com/download安装安装mariadbyum install mariadb-server mariadb –y
systemctl enable mariadb
systemctl restart mariadb安装Zabbix3.4rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm
yum install zabbix-server-mysql zabbix-web-mysql -y配置创建数据库mysql
MariaDB [(none)]> create database zabbix character se...
#!/bin/bash
##########################################################################################
#
#0、定制配置文件所需参数
#
##########################################################################################
mysql_root_pw=root_pw
mysql_zabbix_pw=zabbix_pw
DBPassword=$mysql_zabbix_pw
CacheSize=256M
ZBX_SERVER_NAME=My-Zabbix-Server
#####################################################...
环境:centos 6.5 + zabbix 2.4.6 + lanmp参考教程:http://www.jianshu.com/p/44d135f43eb2; http://www.68idc.cn/help/jiabenmake/qita/20150613365770.html http://rpm.pbone.net/环境准备,下载lnmp(apache已经跟随系统装好),zip格式,tar -zxvf xxx.zip(不行就用unzip xxx.zip),下载php扩展(如果安装包没有的话),rpm -ivh xxx.rpm,安装rpm时遇到警告如"warning: php-mbstring-5.3.3-40.el6_6.x86_64.rpm: He...
特别声明:此脚本只供本人线上使用,放到此博文方便自己查阅。网友切不可直接复制到自己的线上直接套用,使用前一定要多测试。如有套用使用造成损失,与本博主无关。
脚本使用说明:sh file eth0 sh install-zabbix-agent.sh ethoIP1为zabbix-server端的ip地址 192.168.68.40$1指脚本外传的eth0网卡的参数 [root@localhost ~]# cat install-zabbix-agent.sh
#/bin/bash
IP=$(/sbin/ifconfig $1 |awk ‘NR==2{pri...
系统环境[root@zabbix ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core)准备环境
[root @ zabbix-server~] # systemctl disable firewalld.service[root @ zabbix-server~] # systemctl stop firewalld.service#关闭系统防火墙[root @ zabbix-server~] # setenforce 0[root @ zabbix-server~] # vim / etc / selinux / config修改成:SELINUX = disabled#关闭Selinux安全策略首先配置lamp环境分别安装 apache ...