zabbix 默认item采集使用被动模式 需要改为主动模式

来源:互联网 发布:原生js设置transform 编辑:程序博客网 时间:2024/05/17 07:45
数据采集的工作模式可以分为被动模式(服务器端到客户端采集数据)主动模式(客户端主动上报数据到服务器端)服务器配置:DBHost=192.168.32.55DBName= zabbixDBUser=zabbixuserDBPassword=zabbixpassDBSocket=/data01/mysql/mysql.sockStartTrappers=20MaxHousekeeperDelete=5000       CacheSize=1024MStartDBSyncers=8TrendCacheSize=128MHistoryTextCacheSize=512MAlertScriptsPath=/etc/zabbix/alertscriptsLogSlowQueries=1000LogFile=/tmp/zabbix_server.logValueCacheSize=128MJavaGateway=127.0.0.1JavaGatewayPort=10052StartJavaPollers=5客户端配置:Server=115.236.160.82 #被动模式 ,zabbix server ip 地址ServerActive=115.236.160.82Hostname=zj-backofficeUnsafeUserParameters=1Include= /etc/zabbix/zabbix_agentd.conf.d/Server:被动模式,允许哪台机器连接到agetServerActive: 主动模式,向哪台服务器传送数据

0 0
原创粉丝点击