過關(guān)斬將】zabbix你都監(jiān)控哪些參數(shù)">【過關(guān)斬將】zabbix你都監(jiān)控哪些參數(shù)
712
2025-03-31
zabbix 3.2 install on centos 6
Zabbix 3.2 install on centos 7 Zabbix 3.0 只支持CentOS 7.0以上版本
RHEL 7 Oracle Linux 7 CentOS 7 Download yum repo.
option enabled on MySQL.
zcat /usr/share/doc/zabbix-server-mysql-3.2.*/create.sql.gz | mysql
servers.之前的命令還可以使用
etc:
在客戶端瀏覽器上面訪問zabbix,開始WEB的前端配置,http://ZabbixIP/zabbix,按提示點(diǎn)擊下一步
Agent installation
zabbix 3.2 install on centos 6
Zabbix 3.2 install on centos 7 Zabbix 3.0 只支持CentOS 7.0以上版本
RHEL 7 Oracle Linux 7 CentOS 7 Download yum repo.
option enabled on MySQL.
zcat /usr/share/doc/zabbix-server-mysql-3.2.*/create.sql.gz | mysql
servers.之前的命令還可以使用
etc:
在客戶端瀏覽器上面訪問zabbix,開始WEB的前端配置,http://ZabbixIP/zabbix,按提示點(diǎn)擊下一步
Agent installation
zabbix 3.2 install on centos 6
Zabbix 3.2 install on centos 7 Zabbix 3.0 只支持CentOS 7.0以上版本
Supported versions
RHEL 7 Oracle Linux 7 CentOS 7 Download yum repo.
# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm # wget http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
Server installation with MySQL database,the innodb_file_per_table
option enabled on MySQL.
# yum install zabbix-server-mysql zabbix-web-mysql
從最新版本的linux系統(tǒng)開始,默認(rèn)的是 Mariadb而不是mysql!
使用系統(tǒng)自帶的repos安裝很簡(jiǎn)單:
# yum install -y mariadb mariadb-server 啟動(dòng)mariadb # systemctl start mariadb 之前的服務(wù)管理命令還可以用 # service mariadb start 設(shè)置開機(jī)自啟動(dòng) # systemctl enable mariadb 安全初始化,設(shè)置root密碼等 # mysql\_secure\_installation 測(cè)試登錄 # mysql -uroot -p shell\> mysql -uroot -p\
create database zabbix character set utf8 collate utf8\_bin; mysql\> grant all privileges on zabbix.\* to [mailto:zabbix\@localhost] identified by \'\
zcat /usr/share/doc/zabbix-server-mysql-3.2.*/create.sql.gz | mysql
-uzabbix -p zabbix \# rpm -q zabbix-server-mysql To Database configuration for Zabbix server
# sed -i \"s/\# DBHost/DBHost/g\" zabbix\_server.conf \# sed -i \"s/\#
DBPassword=/DBPassword=zabbix/g\" zabbix\_server.conf \# vim /etc/zabbix/zabbix\_server.conf DBHost=localhost DBName=zabbix DBUser=zabbix DBPassword=\
servers.之前的命令還可以使用
# service zabbix-server start \ # service zabbix-server stop \ # systemctl start zabbix-server \ # systemctl enable zabbix-server \ # vim /etc/httpd/conf.d/zabbix.conf \ # sed -i \"s/\# php\_value date.timezone
etc:
Europe\/Riga/php_value date.timezone Asia\/Shanghai/g"
/etc/httpd/conf.d/zabbix.conf
max_execution_time 300 php_value memory_limit 128M php_value
post_max_size 16M php_value upload_max_filesize 2M php_value
max_input_time 300 php_value always_populate_raw_post_data -1 #
php_value date.timezone Europe/Riga php_value date.timezone
Asia/Shanghai 啟動(dòng)Apache服務(wù)
# systemctl start httpd 開機(jī)啟動(dòng)Apache服務(wù) # systemctl enable httpd access IP address # yourip/zabbix
在客戶端瀏覽器上面訪問zabbix,開始WEB的前端配置,http://ZabbixIP/zabbix,按提示點(diǎn)擊下一步
‘’’
Step1:下一步。
Step2:如果全部OK的話才能進(jìn)行下一步的安裝,如果有錯(cuò)誤請(qǐng)返回到server端檢查相關(guān)的軟件包是否安裝。
Step3:需要輸入mysql數(shù)據(jù)庫(kù)帳號(hào)密碼,如果數(shù)據(jù)庫(kù)不在zabbix服務(wù)器上面,在Host里面添加數(shù)據(jù)庫(kù)服務(wù)器的地址,并且要用grant命令給數(shù)據(jù)庫(kù)授權(quán)。
Step4:輸入服務(wù)器端 host name or host IP addres;
‘’’
最后會(huì)自動(dòng)寫入配置文件:zabbix.conf.php,配置完成后出現(xiàn)登陸界面,根據(jù)官方文檔的介紹,默認(rèn)的用戶是Admin,密碼為zabbix,該用戶是超級(jí)用戶
Agent installation
This page covers installation of Zabbix agent. If needed, you may check
additional info about supported platforms and permission requirements
for the agent.
Red Hat Enterprise Linux / CentOS To install agent aft
pandoc
CentOS Zabbix
版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實(shí)的內(nèi)容,請(qǐng)聯(lián)系我們jiasou666@gmail.com 處理,核實(shí)后本網(wǎng)站將在24小時(shí)內(nèi)刪除侵權(quán)內(nèi)容。
版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實(shí)的內(nèi)容,請(qǐng)聯(lián)系我們jiasou666@gmail.com 處理,核實(shí)后本網(wǎng)站將在24小時(shí)內(nèi)刪除侵權(quán)內(nèi)容。