ImageVerifierCode 换一换
格式:DOCX , 页数:21 ,大小:481.39KB ,
资源ID:7593631      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/7593631.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(zabbix安装官方文档中文版.docx)为本站上传会员【xrp****65】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

zabbix安装官方文档中文版.docx

1、Installation from Source 源代码安装 4.1 软件要求 Building of Zabbix server or agents from sources requires additional software. 用源代码建立Zabbix 服务器或者代理需要的软件。 The following software is required to compile Zabbix (required versions): 下列软件是编译Zabbix所需(所需的版本): One of the following database engines: 下列的一种数据库引

2、擎: · IBM DB2 Headers and Libraries - CLI headers and libraries are required. · IBM DB2头文件和库文件-CLI的头文件和库是必需的。 · MySQL Headers and Libraries. · MySQL头文件和库。 · Oracle Headers and Libraries - OCI headers and libraries are required. · Oracle头文件和库- OCI头文件和库是必需的。 · PostgreSQL Headers and Libraries.

3、 · PostgreSQL头文件和库。 · SQLite Headers and Libraries. · SQLite头文件和库。 Usually provided as part of mysql-dev, postgresql-dev, sqlite3-dev packages. 通常能够提供mysql-dev,postgresql-dev,sqlite3-dev包的一部分。 NET-SNMP (or UCD-SNMP) library and header files. Required for SNMP support. Optional. Iksemel librar

4、y and header files. Required to enable Jabber messaging. Optional. Libcurl library and header files. Required for WEB monitoring module. Optional. C Compiler. GNU C compiler is the best choice for open platforms. Other (HP, IBM) C compilers may be used as well. GNU Make. GNU Make is required to p

5、rocess Zabbix Makefiles. 4.2 Structure of Zabbix distribution Zabbix分布结构的 · src The directory contains sources for all Zabbix processes except frontends. · src/zabbix_server The directory contains Makefile and sources for zabbix_server. · src/zabbix_agent The directory contains Makefile and

6、sources for zabbix_agent and zabbix_agentd. · src/zabbix_get The directory contains Makefile and sources for zabbix_get. · src/zabbix_sender The directory contains Makefile and sources for zabbix_sender. · include The directory contains Zabbix include files. · misc o misc/init.d The directo

7、ry contains start-up scripts for different platforms. · frontends o frontends/php The directory contains files of PHP frontend. · create The directory contains SQL script for initial database creation. · create/schema Database creation schemas. · create/data Data for initial database creati

8、on. · upgrades The directory contains upgrade procedures for different versions of Zabbix. 4.3 Zabbix Server Server side Step 1 Create the Zabbix superuser account This is the user the server will run as. For production use you should create a dedicated unprivileged account ('zabbix' is commo

9、nly used). Running Zabbix as 'root','bin', or any other account with special rights is a security risk. Do not do it! Zabbix server process (zabbix_server) is protected from being run under root account. If Zabbix server and agent are run on the same machine it is recommended to use a different us

10、er for running the server than for running the agent. Otherwise, if both are run as the same user, the agent can access the server configuration file and any Admin level user in Zabbix can quite easily retrieve, for example, the database password. Step 2 Extract Zabbix sources shell> tar -zxf zab

11、bix-1.8.tar.gz Step 3 Create the Zabbix database Zabbix comes with SQL scripts used to create the required database schema and also to insert a default configuration. There are separate scripts for IBM DB2, MySQL, Oracle, PostgreSQL and SQLite. For MySQL: shell> mysql -u -p

12、 mysql> create database zabbix character set utf8; mysql> quit; shell> cd create/schema shell> cat mysql.sql | mysql -u -p zabbix shell> cd ../data shell> cat data.sql | mysql -u -p zabbix shell> cat images_mysql.sql | mysql -u -p zab

13、bix Step 4 Configure and compile the source code for your system The sources must be compiled for both the server (monitoring machine) as well as the clients (monitored machines). To configure the source for the server, you must specify which database will be used. shell> ./configure --enable-se

14、rver --with-mysql --with-net-snmp --with-jabber --with-libcurl # for MySQL + Jabber + WEB monitoring However, if you want to compile client binaries along with server binaries, run: shell> ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl Use fla

15、g --enable-static to statically link libraries. If you plan to distribute compiled binaries among different servers, you must use this flag to make these binaries work without required libraries. Note that --enable-static does not work under Solaris. Step 5 Make and install everything shell> make

16、 install By default, make install will install all the files in /usr/local/sbin, /usr/local/lib etc. Make sure that you have enough permissions. You can specify an installation prefix other than /usr/local using --prefix, for example --prefix=/home/zabbix. In this case daemon binaries will be inst

17、alled under /sbin, while utilities under /bin. Man pages will be installed under /share. Step 6 Configure /etc/services The step is optional. However, it is recommended. On the client (monitored) machines, add the following lines to /etc/services: zabbix-agent 10050/tc

18、p Zabbix Agent zabbix-agent 10050/udp Zabbix Agent zabbix-trapper 10051/tcp Zabbix Trapper zabbix-trapper 10051/udp Zabbix Trapper Note that the port numbers are official Zabbix ports registered in IANA. Step 7 Configure /etc/inetd.conf If you plan to use zabbix_agent instead of the

19、 recommended zabbix_agentd, the following line must be added: zabbix_agent stream tcp nowait.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd shell> killall -HUP inetd Modify default settings in configuration files Step 8 Create a location to hold configuration files: mkdir /etc/zabbix

20、 Step 9 Configure /etc/zabbix/zabbix_agentd.conf You need to configure this file for every host with zabbix_agentd installed. The file should contain the IP address of the Zabbix server. Connections from other hosts will be denied. You may take misc/conf/zabbix_agentd.conf as example. Step 10 Co

21、nfigure /etc/zabbix/zabbix_server.conf For small installations (up to ten monitored hosts), default parameters are sufficient. However, you should change default parameters to maximize performance of Zabbix. See section [Performance tuning] for more details. You may take misc/conf/zabbix_server.con

22、f as example. Step 11 Run server processes Run zabbix_server on server side. shell> cd sbin shell> ./zabbix_server Step 12 Run agents Run zabbix_agentd where necessary. shell> cd sbin shell> ./zabbix_agentd 4.4 Zabbix Proxy Zabbix Proxy is a special process. It is not required to run Zab

23、bix. Step 1 Create the Zabbix superuser account This is the user the Proxy will run as. For production use you should create a dedicated unprivileged account ('zabbix' is commonly used). Running Zabbix Proxy as 'root', 'bin', or any other account with special rights is a security risk. Do not do

24、it! Zabbix Proxy process (zabbix_proxy) is protected from being run under root account. Step 2 Extract Zabbix sources shell> tar -zxf zabbix-1.8.tar.gz Step 3 Create the Zabbix database. Optional. Zabbix Proxy process will create database automatically on the first run if it does not exist. I

25、t will use existing database otherwise. Database auto-creation is supported for SQLite only. Zabbix comes with SQL scripts used to create the required database schema. There are separate scripts for IBM DB2, MySQL, Oracle, PostgreSQL and SQLite. For IBM DB2: shell> db2 "create database zabbix usi

26、ng codeset utf-8 territory us pagesize 32768" shell> cd create/schema shell> db2batch -d zabbix -f ibm_db2.sql For MySQL: shell> mysql -u -p mysql> create database zabbix character set utf8; mysql> quit; shell> cd create/schema shell> cat mysql.sql | mysql -u

27、p zabbix For Oracle (we assume that user 'zabbix' with password 'password' exists and has permissions to create database objects): shell> cd create/schema shell> cat oracle.sql | sqlplus zabbix/password >out.log Check file out.log for any error messages. Zabbix requires UTF8 database

28、 character set. If database is not UTF8 it can be converted by running: ALTER DATABASE NATIONAL CHARACTER SET UTF8; For PostgreSQL: shell> psql -U psql> create database zabbix; psql> \q shell> cd create/schema shell> cat postgresql.sql | psql -U zabbix For SQLite: s

29、hell> cd create/schema shell> cat sqlite.sql | sqlite3 /var/lib/sqlite/zabbix.db The database will be automatically created if it does not exist. Step 4 Configure and compile the source code for your system The sources must be compiled to enable compilation of Zabbix Proxy process. To configur

30、e the source for the Proxy, you must specify which database will be used. shell> ./configure --enable-proxy --with-ibm-db2 --with-net-snmp # for IBM DB2 + SNMP monitoring or shell> ./configure --enable-proxy --with-mysql --with-net-snmp # for MySQL + SNMP monitoring or shell> ./configure --enab

31、le-proxy --with-oracle --with-net-snmp # for Oracle + SNMP monitoring or shell> ./configure --enable-proxy --with-pgsql --with-net-snmp # for PostgreSQL + SNMP monitoring or shell> ./configure --enable-proxy --with-sqlite3 --with-net-snmp # for SQLite3 + SNMP monitoring Use flag --with-ibm-db2

32、to specify location of the CLI API. Use flag --with-oracle to specify location of the OCI API. Use flag --enable-static to statically link libraries. If you plan to distribute compiled binaries among different hosts, you must use this flag to make these binaries work without required libraries. -

33、enable-static does not work under Solaris. Flag --with-ucd-snmp can be used instead of --with-net-snmp. If no SNMP support required, both --with-net-snmp and --with-ucd-snmp may be skipped. However, if you want to compile client binaries along with proxy binaries, run: shell> ./configure --enable

34、proxy --enable-agent --with-mysql --with-net-snmp Parameter --enable-static may be used to force static linkage. Step 5 Make and install everything shell> make install By default, make install will install all the files in /usr/local/sbin, /usr/local/lib etc. You can specify an installation pr

35、efix other than /usr/local using --prefix Step 6 Configure /etc/services The step is optional. However, it is recommended. On the client (monitored) machines, add the following lines to /etc/services: zabbix_agent 10050/tcp zabbix_trap 10051/tcp Step 7 Configure /etc/inetd.conf If you plan t

36、o use zabbix_agent instead of the recommended zabbix_agentd, the following line must be added: zabbix_agent stream tcp nowait.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd shell> killall -HUP inetd Step 8 Create a location to hold configuration files: mkdir /etc/zabbix Configure /etc

37、/zabbix/zabbix_proxy.conf For small installations (up to ten monitored hosts), default parameters are sufficient. However, you should change default parameters to maximize performance of Zabbix Proxy. Make sure you have correct Hostname and Server parameters set. You may take misc/conf/zabbix_proxy

38、conf as example. Step 9 Run Proxy processes Run zabbix_proxy: shell> cd sbin shell> ./zabbix_proxy 4.5 Zabbix Agent Client side Step 1 Create the Zabbix account This is the user the agent will run as. For production use you should create a dedicated unprivileged account (“zabbix” is commo

39、nly used). Zabbix agents have protection against running under root account. Step 2 Extract Zabbix sources shell> tar -zxf zabbix-1.8.tar.gz Step 3 Configure and compile the source code for your system The sources must be compiled for the client only. To configure the source for the client:

40、shell> ./configure --enable-agent Use flag --enable-static to statically link libraries. If you plan to distribute compiled binaries among different hosts, you must use this flag to make these binaries work without required libraries. Step 4 Build agent shell> make Copy created binaries from bi

41、n/ to /opt/zabbix/bin or any other directory. Other common directories are /usr/local/bin or /usr/local/zabbix/bin. Step 5 Configure /etc/services The step is not real requirement. However, it is recommended. On the client (monitored) machines, add the following lines to /etc/services: zabbix_a

42、gent 10050/tcp zabbix_trap 10051/tcp Step 6 Configure /etc/inetd.conf If you plan to use zabbix_agent instead of the recommended zabbix_agentd, the following line must be added: zabbix_agent stream tcp nowait.3600 zabbix /opt/zabbix/bin/zabbix_agent Restart inetd shell> killall -HUP inetd

43、Step 7 Create a location to hold configuration files: mkdir /etc/zabbix Step 8 Configure /etc/zabbix/zabbix_agentd.conf You need to configure this file for every host with zabbix_agentd installed. The file should contain IP address of Zabbix server. Connections from other hosts will be denied.

44、You may take misc/conf/zabbix_agentd.conf as example. Step 9 Run zabbix_agentd on all monitored machines shell> /opt/zabbix/bin/zabbix_agentd You should not run zabbix_agentd if you have chosen to use zabbix_agent! Make sure that your system allows allocation of 2MB of shared memory, otherwise

45、the agent may not start and you will see “Can't allocate shared memory for collector.” in agent's log file. This may happen on Solaris 8. 4.6 Zabbix WEB Interface Step 0 Zabbix frontend is written in PHP, so to run it a PHP supported webserver is needed. Installation is done by simply copying the

46、 PHP files into the webserver HTML documents directory. It is suggested to use a subdirectory instead of HTML root. Common locations of the HTML documents directory for Apache web server include: · /usr/local/apache2/htdocs (default directory when installing Apache from source) · /srv/www/htdocs

47、OpenSUSE, SLES) · /var/www/html (Fedora, RHEL, CentOS) · /var/www (Debian, Ubuntu) To create a subdirectory and copy Zabbix frontend files into it, execute the following commands, replacing with the correct path in your case: mkdir /zabbix cd frontends/php cp -a . /za

48、bbix When upgrading you simply replace the content of /zabbix with the new files copied over from frontends/php, in this step. Step 1 Point your browser to Zabbix URL. Step 2 Read and accept GPL v2. Step 3 Make sure that all software pre-requisites are met. Pre-requisite Minim

49、um value Description PHP version 5.0 PHP Memory limit 8MB In php.ini: memory_limit = 128M PHP post max size 8MB In php.ini: post_max_size = 16M PHP max execution time 300 seconds In php.ini: max_execution_time = 300 PHP max input time 300 seconds In php.ini: max_input_ti

50、me = 300 PHP database support One of: IBM DB2, MySQL, Oracle, PostgreSQL, SQLite One of the following modules must be installed: ibm_db2, php-mysql, oci8, php-pgsql, php-sqlite3 PHP BC math Any Compiled in or separate module php-bcmath. PHP multibyte support Any Compiled in or separ

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服