预览加载中,请您耐心等待几秒...
1/4
2/4
3/4
4/4

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Zabbix安装使用手册TOC\o"1-3"\h\z\u目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc393444020"Zabbix安装使用手册PAGEREF_Toc393444020\h1HYPERLINK\l"_Toc393444021"1、安装配置Postgresql9.3PAGEREF_Toc393444021\h1第一部分安装1、安装配置Postgresql9.32、添加zabbix账户、zabbix数据库psql–Upgsqlpostgrespostgres=#createuserzabbixwithpassword‘zabbix’postgres=#LOGINCREATEDBCREATEROLE;CREATEROLEpostgres=#createdatabasezabbixownerzabbix;CREATEDATABASEpostgres=#grantallprivilegesondatabasezabbixtozabbix;GRANT3、安装zabbix-servercd/usr/ports/net-mgmt/zabbix22-server/makeinstallclean4、导入zabbix数据模板root@bsd:/#cd/usr/local/share/zabbix22/server/database/postgresqlroot@bsd:/usr/local/share/zabbix22/server/database/postgresql#catschema.sql|psql–Uzabbixzabbix;root@bsd:/usr/local/share/zabbix22/server/database/postgresql#catimages.sql|psql–Uzabbixzabbix;root@bsd:/usr/local/share/zabbix22/server/database/postgresql#catdata.sql|psql–Uzabbixzabbix;5、配置zabbix-serverroot@bsd:/usr/local/etc/zabbix22#cp/usr/local/etc/zabbix22/zabbix_server.conf.sample/usr/local/etc/zabbix22/zabbix_server.confee/usr/local/etc/zabbix22/zabbix_server.conf将DBUser=root修改为DBUser=zabbix增加DBPassword=zabbixee/etc/rc.conf添加zabbix_server_enable=”YES”启动服务/usr/local/etc/rc.d/zabbix_serverstart6、安装Zabbix-Frontendroot@bsd:/#cd/usr/ports/net-mgmt/zabbix22-frontend/makeinstallclean7、安装php5root@bsd:/#cd/usr/ports/lang/php5/makeinstallcleanee/etc/rc.confphp_fpm_enable=”YES”8、安装配置nginxcd/usr/ports/www/nginxmakeinstallcleanee/usr/local/etc/nginx.conflocation/{root/usr/local/www/zabbix22;indexindex.htmlindex.htmiindex.php;ee/etc/rc.confnginx_enable=”YES”9、WEB页面配置HYPERLINK"http://10.1.1.229"http://10.1.1.229根据提示修改php.ini的配置值#cp/usr/local/etc/php.ini-production/usr/local/etc/php.ini#ee/usr/local/etc/php.inipost_max_size=32mmax_execution_time=600max_input_time=300date.timezone=Asia/Shanghai10、zabbix-agent客户端安装配置ee/usr/local/etc/zabbix2/zabbix_agentd.confServer=10.1.1.229Hostname=testsvr230第二部分使用一、创建监控主机创建Zabbix监控主机组态>>>主机>>>创建主机进入创建主机主面板,填入数据.主要为>>>主机名称(必须与Zabbix_agentd.co