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 ...
随机推荐
- js scrollIntoViewIfNeeded
根据 MDN的描述,Element.scrollIntoView()方法让当前的元素滚动到浏览器窗口的可视区域内. 而Element.scrollIntoViewIfNeeded()方法也是用来将不在 ...
- 基于PHP采集数据入库程序(一)
前几天有一朋友要我帮做一个采集新闻信息的程序,抽了点时间写了个PHP版本的,随笔记录下. 说到采集,无非就是远程获取信息->提取所需内容->分类存储->读取->展示 也算是简单 ...
- Mac OS X 下安装MySQL 5.7
下载安装包 官网下载安装包 选择相应的版本和格式,有 .dmg 和压缩包两种. 这里选择简单直接的 .dmg安装包,下载的时候可以将下载地址直接贴到迅雷,速度比较快. 安装 安装很简单,直接双击下好的 ...
- 有关maven不能加载ojdbc14.jar解决方法
首先下载ojdbc14-10.2.0.4.0.jar这个包,然后在cmd下输入以下 mvn install:install-file -DgroupId=com.oracle -DartifactId ...
- CSS3与动画有关的属性transition、animation、transform对比
最近应公司需求,需要用css3做动画,终于把以前一直傻傻分不清楚的三个属性理解了. 索性在这里进行一个简单的对比,加深自己的记忆. 浏览器兼容性 CSS3 transform 属性 Internet ...
- Python中MongoDB使用
MongoDB的层级为 database -->collection --> document 安装MongoDB,启动mongo服务 PyMongo模块是Python对MongoDB操作 ...
- Windbg在软件调试中的应用
Windbg在软件调试中的应用 Windbg是微软提供的一款免费的,专门针对Windows应用程序的调试工具.借助于Windbg, 我们常见的软件问题:软件异常,死锁,内存泄漏等,就可以进行高效的排查 ...
- opencv在同一窗口打印多张图片
首先,由于cv2处理的图片是通过ndarray的格式操作的,也就是说通过array的拼接就可以实现图片的拼接,那么之后就可以通过简单的imshow将合并的图片打印从而达到在一个窗口中显示多张图片的目的 ...
- Android刮刮卡效果
不多说,直接上代码: package com.example.test; import android.app.Activity; import androi ...
- SpringBoot------JPA连接数据库
步骤: 1.在pom.xml文件下添加相应依赖包 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=& ...