1. # This is a configuration file for Zabbix agent service (Windows)
  2. # To get more information about Zabbix, visit http://www.zabbix.com
  3. ############ GENERAL PARAMETERS #################
  4. ### Option: LogType
  5. # Specifies where log messages are written to:
  6. # system - Windows event log
  7. # file - file specified with LogFile parameter
  8. # console - standard output
  9. #
  10. # Mandatory: no
  11. # Default:
  12. # LogType=file
  13. ### Option: LogFile
  14. # Log file name for LogType 'file' parameter.
  15. #
  16. # Mandatory: no
  17. # Default:
  18. # LogFile=
  19. LogFile=c:\zabbix_agentd.log
  20. ### Option: LogFileSize
  21. # Maximum size of log file in MB.
  22. # 0 - disable automatic log rotation.
  23. #
  24. # Mandatory: no
  25. # Range: 0-1024
  26. # Default:
  27. # LogFileSize=1
  28. ### Option: DebugLevel
  29. # Specifies debug level:
  30. # 0 - basic information about starting and stopping of Zabbix processes
  31. # 1 - critical information
  32. # 2 - error information
  33. # 3 - warnings
  34. # 4 - for debugging (produces lots of information)
  35. # 5 - extended debugging (produces even more information)
  36. #
  37. # Mandatory: no
  38. # Range: 0-5
  39. # Default:
  40. # DebugLevel=3
  41. ### Option: SourceIP
  42. # Source IP address for outgoing connections.
  43. #
  44. # Mandatory: no
  45. # Default:
  46. # SourceIP=
  47. ### Option: EnableRemoteCommands
  48. # Whether remote commands from Zabbix server are allowed.
  49. # 0 - not allowed
  50. # 1 - allowed
  51. #
  52. # Mandatory: no
  53. # Default:
  54. # EnableRemoteCommands=0
  55. ### Option: LogRemoteCommands
  56. # Enable logging of executed shell commands as warnings.
  57. # 0 - disabled
  58. # 1 - enabled
  59. #
  60. # Mandatory: no
  61. # Default:
  62. # LogRemoteCommands=0
  63. ##### Passive checks related
  64. ### Option: Server
  65. # List of comma delimited IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers.
  66. # Incoming connections will be accepted only from the hosts listed here.
  67. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally and '::/0' will allow any IPv4 or IPv6 address.
  68. # '0.0.0.0/0' can be used to allow any IPv4 address.
  69. # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domain
  70. #
  71. # Mandatory: no
  72. # Default:
  73. # Server=
  74. Server=127.0.0.1
  75. ### Option: ListenPort
  76. # Agent will listen on this port for connections from the server.
  77. #
  78. # Mandatory: no
  79. # Range: 1024-32767
  80. # Default:
  81. # ListenPort=10050
  82. ### Option: ListenIP
  83. # List of comma delimited IP addresses that the agent should listen on.
  84. # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
  85. #
  86. # Mandatory: no
  87. # Default:
  88. # ListenIP=0.0.0.0
  89. ### Option: StartAgents
  90. # Number of pre-forked instances of zabbix_agentd that process passive checks.
  91. # If set to 0, disables passive checks and the agent will not listen on any TCP port.
  92. #
  93. # Mandatory: no
  94. # Range: 0-100
  95. # Default:
  96. # StartAgents=3
  97. ##### Active checks related
  98. ### Option: ServerActive
  99. # List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
  100. # If port is not specified, default port is used.
  101. # IPv6 addresses must be enclosed in square brackets if port for that host is specified.
  102. # If port is not specified, square brackets for IPv6 addresses are optional.
  103. # If this parameter is not specified, active checks are disabled.
  104. # Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
  105. #
  106. # Mandatory: no
  107. # Default:
  108. # ServerActive=
  109. ServerActive=127.0.0.1
  110. ### Option: Hostname
  111. # Unique, case sensitive hostname.
  112. # Required for active checks and must match hostname as configured on the server.
  113. # Value is acquired from HostnameItem if undefined.
  114. #
  115. # Mandatory: no
  116. # Default:
  117. # Hostname=
  118. Hostname=Windows host
  119. ### Option: HostnameItem
  120. # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
  121. # Does not support UserParameters or aliases.
  122. #
  123. # Mandatory: no
  124. # Default:
  125. # HostnameItem=system.hostname
  126. ### Option: HostMetadata
  127. # Optional parameter that defines host metadata.
  128. # Host metadata is used at host auto-registration process.
  129. # An agent will issue an error and not start if the value is over limit of 255 characters.
  130. # If not defined, value will be acquired from HostMetadataItem.
  131. #
  132. # Mandatory: no
  133. # Range: 0-255 characters
  134. # Default:
  135. # HostMetadata=
  136. ### Option: HostMetadataItem
  137. # Optional parameter that defines an item used for getting host metadata.
  138. # Host metadata is used at host auto-registration process.
  139. # During an auto-registration request an agent will log a warning message if
  140. # the value returned by specified item is over limit of 255 characters.
  141. # This option is only used when HostMetadata is not defined.
  142. #
  143. # Mandatory: no
  144. # Default:
  145. # HostMetadataItem=
  146. ### Option: RefreshActiveChecks
  147. # How often list of active checks is refreshed, in seconds.
  148. #
  149. # Mandatory: no
  150. # Range: 60-3600
  151. # Default:
  152. # RefreshActiveChecks=120
  153. ### Option: BufferSend
  154. # Do not keep data longer than N seconds in buffer.
  155. #
  156. # Mandatory: no
  157. # Range: 1-3600
  158. # Default:
  159. # BufferSend=5
  160. ### Option: BufferSize
  161. # Maximum number of values in a memory buffer. The agent will send
  162. # all collected data to Zabbix server or Proxy if the buffer is full.
  163. #
  164. # Mandatory: no
  165. # Range: 2-65535
  166. # Default:
  167. # BufferSize=100
  168. ### Option: MaxLinesPerSecond
  169. # Maximum number of new lines the agent will send per second to Zabbix Server
  170. # or Proxy processing 'log', 'logrt' and 'eventlog' active checks.
  171. # The provided value will be overridden by the parameter 'maxlines',
  172. # provided in 'log', 'logrt' or 'eventlog' item keys.
  173. #
  174. # Mandatory: no
  175. # Range: 1-1000
  176. # Default:
  177. # MaxLinesPerSecond=20
  178. ############ ADVANCED PARAMETERS #################
  179. ### Option: Alias
  180. # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
  181. # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
  182. # Different Alias keys may reference the same item key.
  183. # For example, to retrieve paging file usage in percents from the server:
  184. # Alias=pg_usage:perf_counter[\Paging File(_Total)\% Usage]
  185. # Now shorthand key pg_usage may be used to retrieve data.
  186. # Aliases can be used in HostMetadataItem but not in HostnameItem or PerfCounter parameters.
  187. #
  188. # Mandatory: no
  189. # Range:
  190. # Default:
  191. ### Option: Timeout
  192. # Spend no more than Timeout seconds on processing.
  193. #
  194. # Mandatory: no
  195. # Range: 1-30
  196. # Default:
  197. # Timeout=3
  198. ### Option: PerfCounter
  199. # Syntax: <parameter_name>,"<perf_counter_path>",<period>
  200. # Defines new parameter <parameter_name> which is an average value for system performance counter <perf_counter_path> for the specified time period <period> (in seconds).
  201. # For example, if you wish to receive average number of processor interrupts per second for last minute, you can define new parameter "interrupts" as following:
  202. # PerfCounter = interrupts,"\Processor(0)\Interrupts/sec",60
  203. # Please note double quotes around performance counter path.
  204. # Samples for calculating average value will be taken every second.
  205. # You may run "typeperf -qx" to get list of all performance counters available in Windows.
  206. #
  207. # Mandatory: no
  208. # Range:
  209. # Default:
  210. ### Option: Include
  211. # You may include individual files in the configuration file.
  212. #
  213. # Mandatory: no
  214. # Default:
  215. # Include=
  216. # Include=c:\zabbix\zabbix_agentd.userparams.conf
  217. # Include=c:\zabbix\zabbix_agentd.conf.d\
  218. # Include=c:\zabbix\zabbix_agentd.conf.d\*.conf
  219. ####### USER-DEFINED MONITORED PARAMETERS #######
  220. ### Option: UnsafeUserParameters
  221. # Allow all characters to be passed in arguments to user-defined parameters.
  222. # The following characters are not allowed:
  223. # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
  224. # Additionally, newline characters are not allowed.
  225. # 0 - do not allow
  226. # 1 - allow
  227. #
  228. # Mandatory: no
  229. # Range: 0-1
  230. # Default:
  231. # UnsafeUserParameters=0
  232. ### Option: UserParameter
  233. # User-defined parameter to monitor. There can be several user-defined parameters.
  234. # Format: UserParameter=<key>,<shell command>
  235. #
  236. # Mandatory: no
  237. # Default:
  238. # UserParameter=
  239. ####### TLS-RELATED PARAMETERS #######
  240. ### Option: TLSConnect
  241. # How the agent should connect to server or proxy. Used for active checks.
  242. # Only one value can be specified:
  243. # unencrypted - connect without encryption
  244. # psk - connect using TLS and a pre-shared key
  245. # cert - connect using TLS and a certificate
  246. #
  247. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  248. # Default:
  249. # TLSConnect=unencrypted
  250. ### Option: TLSAccept
  251. # What incoming connections to accept.
  252. # Multiple values can be specified, separated by comma:
  253. # unencrypted - accept connections without encryption
  254. # psk - accept connections secured with TLS and a pre-shared key
  255. # cert - accept connections secured with TLS and a certificate
  256. #
  257. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  258. # Default:
  259. # TLSAccept=unencrypted
  260. ### Option: TLSCAFile
  261. # Full pathname of a file containing the top-level CA(s) certificates for
  262. # peer certificate verification.
  263. #
  264. # Mandatory: no
  265. # Default:
  266. # TLSCAFile=
  267. ### Option: TLSCRLFile
  268. # Full pathname of a file containing revoked certificates.
  269. #
  270. # Mandatory: no
  271. # Default:
  272. # TLSCRLFile=
  273. ### Option: TLSServerCertIssuer
  274. # Allowed server certificate issuer.
  275. #
  276. # Mandatory: no
  277. # Default:
  278. # TLSServerCertIssuer=
  279. ### Option: TLSServerCertSubject
  280. # Allowed server certificate subject.
  281. #
  282. # Mandatory: no
  283. # Default:
  284. # TLSServerCertSubject=
  285. ### Option: TLSCertFile
  286. # Full pathname of a file containing the agent certificate or certificate chain.
  287. #
  288. # Mandatory: no
  289. # Default:
  290. # TLSCertFile=
  291. ### Option: TLSKeyFile
  292. # Full pathname of a file containing the agent private key.
  293. #
  294. # Mandatory: no
  295. # Default:
  296. # TLSKeyFile=
  297. ### Option: TLSPSKIdentity
  298. # Unique, case sensitive string used to identify the pre-shared key.
  299. #
  300. # Mandatory: no
  301. # Default:
  302. # TLSPSKIdentity=
  303. ### Option: TLSPSKFile
  304. # Full pathname of a file containing the pre-shared key.
  305. #
  306. # Mandatory: no
  307. # Default:
  308. # TLSPSKFile=

win/zabbix_agent.conf的更多相关文章

  1. zabbix_agent 步骤

    Zabbix server 做好了,只要在安装一个zabbix-agent(监控端就可以啦) groupadd zabbix useradd -g zabbix zabbix 下载一个客户端的安装包: ...

  2. 使用zabbix_agent监控第一台linux服务器

    添加zabbix用户和组 groupadd zabbix useradd -g zabbix zabbix 解压并编译安装 tar xf zabbix-3.2.1.tar.gz cd zabbix-3 ...

  3. Zabbix监控windows部署安装

    Zabbix agent 在windows上安装部署 1.  下载与解压 地址: http://www.zabbix.com/downloads/2.4.0/zabbix_agents_2.4.0.w ...

  4. 第八章 监控 Zabbix

    1.1   YUM部署 Zabbix 2.4 1.  前期准备(省略) l   Yum源的配置 cd /etc/yum.repos.d/; mkdir old;mv ./* old/ rpm -Uvh ...

  5. zabbix分布式监控的部署

    zabbix是一个分布式监视,管理系统,基于server-clinet架构,可用于监视各种网络服务,服务器和网络机器等状态. server端基于C语言,web管理端Frontend则是基于PHPA制作 ...

  6. 分布式监控系统Zabbix3.2跳坑指南

    zabbix是什么在此就不多作介绍了,可以参考之前的文章 零代码如何打造自己的实时监控预警系统 ,这篇主要介绍安装及注意事项. 主要分为服务端和客户端安装,客户端又分为Linux.Windows. 服 ...

  7. 【Zabbix】 ZBX的豆知识

    ZBX ZBX虽然看上去是个很庞大的系统,但是相对架构还是比较简单的,而且我接触比较长时间了,很多东西觉得没有什么记的必要,所以以这种零碎的形式来记录一些小知识点. ■ ZBX用户权限问题 ZBX用户 ...

  8. window上安装zabbix agent使用案例

    下载对应的zabbix windows版本 因为zabbix server使用的版本为3.2.0版本 所以下载window 3.2的版本 https://www.zabbix.com/download ...

  9. Zabbix 3.4.2 install && Configuration

    原理: 1)zabbix server:负责接收agent发送的报告信息的核心组件,所有配置.统计数据及操作数据都由它组织进行: 2)database storage:专用于存储所有配置信息,以及由z ...

随机推荐

  1. 【转】win7旗舰版英文版下载(64位|32位)|Windows7英文版ISO镜像

    Win7旗舰版SP1 64位ISO镜像下载地址:文件名:en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.isoSHA1:A491F985DCCFB5 ...

  2. ros局部路径规划-DWA学习

    ROS的路径规划器分为全局路径和局部路径规划,其中局部路径规划器使用的最广的为dwa,个人理解为: 首先全局路径规划会生成一条大致的全局路径,局部路径规划器会把全局路径给分段,然后根据分段的全局路径的 ...

  3. Anaconda--在虚拟环境中安装CUDA and cudnn

    在conda虚拟环境中安装CUDAconda install cudatoolkit=8.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs ...

  4. nginx的6种负载均衡策略

    在服务器集群中,Nginx起到一个反向代理服务器的作用.为了避免单独一个服务器压力过大导致服务器奔溃,就需要将不同用户的请求转发给不同给不同的服务器,保证集群中的每一台服务器都能正常运作,这种机制就叫 ...

  5. FusionInsight大数据开发--HBase应用开发

    HBase应用开发 HBase的定义 HBase是一个高可靠.高性能.面向列.可伸缩的分布式存储系统. 适合于存储大表数据,可以达到实时级别. 利用Hadoop HDFS 作为其文件存储系统,提供实时 ...

  6. Centos下mysql8忘记root密码的解决办法

    首先,打开配置文件/etc/my.cnf,在末尾添加一行: skip-grant-tables 然后重启mysql服务: service mysqld restart 然后可以直接登录到mysql,在 ...

  7. Java编程基础——运算符和进制

    Java编程基础——运算符和进制 摘要:本文主要介绍运算符和进制的基本知识. 说明 分类 Java语言支持如下运算符: ◆ 算术运算符:++,--,+,-,*,/,%. ◆ 赋值运算符:=,+=,-= ...

  8. Java向服务器上传图片

    在比较绚丽多彩的网站或者业务逻辑比较丰富的程序设计过程中,图片的相关操作时必不少的,尤其时图片的上传.还没有彻底摆脱纸质办公可能需要将纸质的文件备份上传,网站的建设可能需要上传用户头像.图片描述等等, ...

  9. logstash 入门篇

    场景介绍 基于分布式集群海量日志数据,且分布在不同的服务器上,日志的采集以及可视化是需要我们解决的问题.ELK就是这么一个方案,当然我们这里主要讲解logstash安装配置和基础语法. ELK帮我们解 ...

  10. LNMP环境下搭建SVN服务

    最近自己买了个服务器,试着在上面搭建了LNMP环境,因为以前在本地用MAMP Pro搭建过LAMP环境,所以基本上还算是轻车熟路,第一次搭建LNMP,使用的是一键安装,过程是顺利的,后来在使用过程中遇 ...