1,proxy配置

# cat /etc/zabbix/zabbix_proxy.conf
Server=192.168.1.1
Hostname=proxy.com
LogFile=/tmp/zabbix_proxy.log
DBHost=192.168.1.5
DBName=zabbix_proxy
DBUser=zabbix
DBPassword=Zabbix@--
StartPollers=
StartTrappers=
StartPollersUnreachable=
Timeout=
CacheSize=2048M
HistoryCacheSize=512M
HistoryIndexCacheSize=512M
LogSlowQueries=
ConfigFrequency=
DataSenderFrequency=
PidFile=/tmp/zabbix_proxy.pid

2、zabbix-server.conf

# cat /etc/zabbix/zabbix_server.conf

DBHost=192.168.1.9
DBName=zabbix
DBUser=zabbix
DBPassword=asdfsdf
DBSocket=/data/mysql/mysql.sock
StartPollers=
StartPollersUnreachable=
StartTrappers=
StartPingers=
StartDiscoverers=
CacheSize=2G
StartDBSyncers=
HistoryCacheSize=2048M
TrendCacheSize=1024M
ValueCacheSize=2048M
Timeout=
AlertScriptsPath=/zabbixscripts
LogFile=/tmp/zabbix_server.log
LogSlowQueries=
AllowRoot=

3,mysql-5.6.35的my.cnf

# cat /etc/my.cnf
[client]
port =
socket = /data/mysql_data/mysql.sock
default-character-set = utf8
############################################ [mysqld]
# basic settings
port =
socket = /data/mysql_data/mysql.sock
back_log =
max_connections =
max_connect_errors =
transaction_isolation = READ-COMMITTED
max_allowed_packet = 1024M
open_files_limit=
init_connect="set names utf8"
skip-name-resolve
character_set_server = utf8
collation-server = utf8_general_ci
skip-character-set-client-handshake
secure-file-priv= /tmp
# query cache setting
query_cache_size =
query_cache_limit = 2M
query_cache_type= # binlog setting
log_bin=binlog/binlog
binlog_format=row
log_slave_updates=on
sync_binlog=
expire_logs_days = # slow query settings
slow-query-log
#log-queries-not-using-indexes
long_query_time =
slow_query_log_file = mysql-slow.log # memory/performance settings
binlog_cache_size = 2M
sort_buffer_size = 2M
join_buffer_size = 2M
key_buffer_size = 32M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
thread_stack = 192K
myisam_sort_buffer_size = 128M
innodb_file_per_table=
innodb_buffer_pool_size = 93G
innodb_flush_log_at_trx_commit =
innodb_log_buffer_size = 16M
innodb_log_file_size = 1024M
innodb_log_files_in_group =
innodb_max_dirty_pages_pct =
innodb_stats_on_metadata=
innodb_flush_method=O_DIRECT
innodb_lock_wait_timeout =
thread_cache_size =
#thread_concurrency =
innodb_write_io_threads=
innodb_read_io_threads=
innodb_io_capacity =
innodb_io_capacity_max =
innodb_thread_concurrency=
innodb_purge_threads= # file settings
datadir = /data/mysql_data
innodb_log_group_home_dir = /data/mysql_data
innodb_data_home_dir = /data/mysql_data
#innodb_data_file_path = <INNODB_FILE_LIST>
general_log_file = mysql.log
log_error = mysql.err
pid_file = mysql.pid
tmpdir=/data/mysql_data/tmpdir # replication settings
server-id =
relay_log_space_limit=10G
skip-slave-start
relay_log = binlog/relay
relay_log_info_file = binlog/relay.info
master_info_file = binlog/master.info
# for switchover
replicate-ignore-table=c2c_db.t_node_status # other settings
tmp_table_size = 128M
ft_min_word_len =
tmp_table_size = 128M
max_heap_table_size = 2048M
myisam_max_sort_file_size = 10G
myisam_repair_threads = #####################################################
[mysqldump]
quick
max_allowed_packet = 16M #####################################################
[mysql]
no-auto-rehash [isamchk]
key_buffer = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M #####################################################
[myisamchk]
key_buffer = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M
[mysqlhotcopy]
interactive-timeout #####################################################
[mysqld_safe]
open-files-limit =

zabbix-proxy配置的更多相关文章

  1. zabbix proxy配置实战案例

    zabbix proxy配置实战案例 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.zabbix proxy概述 上一篇博客我们分享了zabbix agent有两种工作模式,即 ...

  2. zabbix proxy分布式监控部署

    一.proxy分布式监控介绍 来源于zabbix官网: https://www.zabbix.com/documentation/3.4/zh/manual/distributed_monitorin ...

  3. (33)zabbix proxy分布式监控配置

    概述 zabbix proxy可以代替zabbix server检索客户端的数据,然后把数据汇报给zabbix server,并且在一定程度上分担了zabbix server的压力.zabbix pr ...

  4. ZABBIX Proxy容器启动的配置过程

    ZABBIX Proxy容器启动的配置过程 环境介绍 版本 zabbix6 zabbix server 与 zabbix proxy 非同一台主机,zabbix proxy为主动方式提交给server ...

  5. zabbix proxy安装配置

    1.下载软件zabbix-2.2.1.tar.gz 1.1解压 tar xvf zabbix-2.2.1.tar.gz 1.2编译安装 cd zabbix-2.2.1./configure --pre ...

  6. zabbix proxy 服务器 netstat 出现大量Time_Wait连接问题

    问题描述: 监控系统云网关监控几万个TCP port的存活情况, 最近发现有几个端口出现告警闪断情况,怀疑因为运行TCP检查的 zabbix proxy 服务器 tcp参数配置不合理. netstat ...

  7. zabbix proxy部署

    一.概述 环境: 因为公司需要监控远程客户机,但server端无法主动连接agent端,客户端可以连接公司ip 公司有固定ip,可以开放某个端口给zabbixserver,客户机agent端可以主动通 ...

  8. 自学Zabbix13.2 分布式监控proxy配置

    点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 自学Zabbix13.2 分布式监控proxy配置 分为两部分: 安装proxy 配置proxy ...

  9. Zabbix Proxy 分布式监控

    简介: Zabbix 是一个分布式监控系统,它可以以一个中心点.多个分节点的模式运行,使用 proxy 能降低 Zabbix Server 的压力,当然也带来了成本~ 适用范围:跨机房.跨地域的网络监 ...

  10. zabbix 安装配置

    zabbix的配置文件一般有三种:zabbixserver的配置文件      zabbix_server.confzabbixproxy的配置文件      zabbix_proxy.confzab ...

随机推荐

  1. mysql5.7 java读取乱码

    一直很自信自己编码格式设置的都没有问题,以前就算遇到也都很快找到问题并解决.没想到掉进了5.7的坑里. 这段时间实习,大多做的都是.net+sqlserver,确实不用操心这些问题.主要还是各自默认编 ...

  2. http 断点续传

    一.序 Hi,大家好,我是承香墨影! HTTP 协议在网络知识中占据了重要的地位,HTTP 协议最基础的就是请求和响应的报文,而报文又是由报文头(Header)和实体组成.大多数 HTTP 协议的使用 ...

  3. PHP获取当前url路径的函数及服务器变量:$_SERVER["QUERY_STRING"],$_SERVER["REQUEST_URI"],$_SERVER["SCRIPT_NAME"],$_SER

    1,$_SERVER["QUERY_STRING"] 说明:查询(query)的字符串 2,$_SERVER["REQUEST_URI"] 说明:访问此页面所需 ...

  4. 设置wetty不需要账号登录便可进行命令行操作

    前一篇随笔我们将了Linux怎么安装部署Wetty服务,但是我们看到,在浏览器中输入http://127.0.0.1:3000进行访问的时候,还需要我们输入账号密码进行认证(如下图第一行所示). 但在 ...

  5. VS或编译的时候不生成Release文件夹

    今天在编译第三方类的时候,总是发布的时候报没有第三方类库的的Release版本 解决方案: Build=>Configuration Manager=>Release 编译=>配置管 ...

  6. Win7下telnet使用

    出于安全考虑,win7已经禁用了telnet这一功能, telnet是明文传输的,安全性很差. 知道了这一点就不奇怪为什么在win7下不能使用telnet了,下面就详细介绍下如何重新开启telnet服 ...

  7. python日志,支持彩色打印和文件大小切片写入和写入mongodb

    1.项目中使用了自定义的ColorHandler和MongoHandler,使用了内置的RotatingFileHandler和三方库的ConcurrentRotatingFileHandler. 支 ...

  8. SpringBoot------Eclipce配置Spring Boot

    步骤一: 步骤二: 点击左下角Eclipse图标下的“Popular”菜单,选择Spring安装(已安装的插件在Installed中显示),一直按步骤确定就好了,如果中途下载超时什么的,就看看自己的网 ...

  9. 用XYNTService把Python程序变为服务

    1. XYNTService的使用 1.1. 介绍 1.2. XYNTService 2. 用XYNTService把Python程序变为服务 1. XYNTService的使用 1.1. 介绍 通常 ...

  10. [AX]AX2012 Interaction class

    Ax2012 Client的form如果属性FormTemplate设置为DetailsPage或者ListPage,则必须同时设置属性InteractionClass为相应的Interaction类 ...