zabbix-proxy配置
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配置的更多相关文章
- zabbix proxy配置实战案例
zabbix proxy配置实战案例 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.zabbix proxy概述 上一篇博客我们分享了zabbix agent有两种工作模式,即 ...
- zabbix proxy分布式监控部署
一.proxy分布式监控介绍 来源于zabbix官网: https://www.zabbix.com/documentation/3.4/zh/manual/distributed_monitorin ...
- (33)zabbix proxy分布式监控配置
概述 zabbix proxy可以代替zabbix server检索客户端的数据,然后把数据汇报给zabbix server,并且在一定程度上分担了zabbix server的压力.zabbix pr ...
- ZABBIX Proxy容器启动的配置过程
ZABBIX Proxy容器启动的配置过程 环境介绍 版本 zabbix6 zabbix server 与 zabbix proxy 非同一台主机,zabbix proxy为主动方式提交给server ...
- 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 ...
- zabbix proxy 服务器 netstat 出现大量Time_Wait连接问题
问题描述: 监控系统云网关监控几万个TCP port的存活情况, 最近发现有几个端口出现告警闪断情况,怀疑因为运行TCP检查的 zabbix proxy 服务器 tcp参数配置不合理. netstat ...
- zabbix proxy部署
一.概述 环境: 因为公司需要监控远程客户机,但server端无法主动连接agent端,客户端可以连接公司ip 公司有固定ip,可以开放某个端口给zabbixserver,客户机agent端可以主动通 ...
- 自学Zabbix13.2 分布式监控proxy配置
点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 自学Zabbix13.2 分布式监控proxy配置 分为两部分: 安装proxy 配置proxy ...
- Zabbix Proxy 分布式监控
简介: Zabbix 是一个分布式监控系统,它可以以一个中心点.多个分节点的模式运行,使用 proxy 能降低 Zabbix Server 的压力,当然也带来了成本~ 适用范围:跨机房.跨地域的网络监 ...
- zabbix 安装配置
zabbix的配置文件一般有三种:zabbixserver的配置文件 zabbix_server.confzabbixproxy的配置文件 zabbix_proxy.confzab ...
随机推荐
- Linux学习笔记<五>——<Shell部分>
管道命令(pipe) 1.把一个命令的输出作为另一个命令的输入 ls -al /etc | less 2.选取命令:cut和grep cut命令可以将一段消息的某段切出来. -d接分隔符,-f是取出第 ...
- [原创]解决jQuery.live在mobile safari(iphone / ipad / ipod)绑定失败的问题
解决方案: 给要使用live绑定事件的元素,添加“cursor:pointer”样式即可! 如: a,input,td{cursor:pointer;} 原文链接:http://bugs.jquery ...
- 【WP8】键盘弹出时控制Frame位置
WP上,当使用TextBox输入文字的时候,键盘会把TextBox向上推一段距离 当编辑第二个TextBox的时候,页面被上推,键盘刚好和TextBox靠在一起 当编辑第一个TextBox的时候,页面 ...
- mysql中explain
1.select_type: /* select_type 使用 SIMPLE */explain select * from tb_shop_order where id='201603292570 ...
- [转]python的requests发送/上传多个文件
1.需要的环境 Python2.X Requests 库 2.单字段发送单个文件 在requests中发送文件的接口只有一种,那就是使用requests.post的files参数, 请求形式如下: ...
- [转] fitnesse中的Map处理
http://blog.csdn.net/doubeizhucele/article/details/42263887 fintesse会把!{}标记的变量视为HashTable对象,展现到页面上的将 ...
- VC++ 链接错误LINK : fatal error LNK1104: cannot open file "*.lib"
问题描述: 运行VC++编译时经常出现 Linking… LINK : fatal error LNK1104: cannot open file “*.lib” Error executing li ...
- Bootstrap 轮播(Carousel)详解
Bootstrap 轮播(Carousel)插件是一种灵活的响应式的向站点添加滑块的方式.除此之外,内容也是足够灵活的,可以是图像.内嵌框架.视频或者其他您想要放置的任何类型的内容.如果您想要单独引用 ...
- JVM垃圾回收机制之引用类型
一:引用的类型 javac编译器编译源文件后,生成字节码文件,在类加载器加载字节码文件到内存中时,在内存中开辟 空间,栈.堆以及方法区,来存放对象以及引用.引用可以分为四种: 强引用:平常我们在编写程 ...
- phoenix客户端连接hbase数据库报错:Traceback (most recent call last): File "bin/sqlline.py", line 27, in <module> import argparse ImportError: No module named argparse
环境描述: 操作系统版本:CentOS release 6.5 (Final) phoenix版本:phoenix-4.10.0 hbase版本:hbase-1.2.6 现象描述: 通过phoenix ...