Advertisement
Guest User

Zabbix Conf

a guest
Oct 31st, 2014
2,920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  1. # This is a config file for the Zabbix agent daemon (Windows)
  2. # To get more information about Zabbix, go to http://www.zabbix.com
  3.  
  4. ############ GENERAL PARAMETERS #################
  5.  
  6. ### Option: LogFile
  7. # Name of log file.
  8. # If not set, Windows Event Log is used.
  9. #
  10. # Mandatory: no
  11. # Default:
  12. # LogFile=
  13.  
  14. LogFile=c:\zabbix_agentd.log
  15.  
  16. ### Option: LogFileSize
  17. # Maximum size of log file in MB.
  18. # 0 - disable automatic log rotation.
  19. #
  20. # Mandatory: no
  21. # Range: 0-1024
  22. # Default:
  23. # LogFileSize=1
  24.  
  25. ### Option: DebugLevel
  26. # Specifies debug level
  27. # 0 - no debug
  28. # 1 - critical information
  29. # 2 - error information
  30. # 3 - warnings
  31. # 4 - for debugging (produces lots of information)
  32. #
  33. # Mandatory: no
  34. # Range: 0-4
  35. # Default:
  36. # DebugLevel=3
  37.  
  38. ### Option: SourceIP
  39. # Source IP address for outgoing connections.
  40. #
  41. # Mandatory: no
  42. # Default:
  43. # SourceIP=
  44.  
  45. ### Option: EnableRemoteCommands
  46. # Whether remote commands from Zabbix server are allowed.
  47. # 0 - not allowed
  48. # 1 - allowed
  49. #
  50. # Mandatory: no
  51. # Default:
  52. # EnableRemoteCommands=0
  53.  
  54. ### Option: LogRemoteCommands
  55. # Enable logging of executed shell commands as warnings.
  56. # 0 - disabled
  57. # 1 - enabled
  58. #
  59. # Mandatory: no
  60. # Default:
  61. # LogRemoteCommands=0
  62.  
  63. ##### Passive checks related
  64.  
  65. ### Option: Server
  66. # List of comma delimited IP addresses (or hostnames) of Zabbix servers.
  67. # Incoming connections will be accepted only from the hosts listed here.
  68. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
  69. #
  70. # Mandatory: no
  71. # Default:
  72. # Server=
  73.  
  74. Server=zab01
  75.  
  76. ### Option: ListenPort
  77. # Agent will listen on this port for connections from the server.
  78. #
  79. # Mandatory: no
  80. # Range: 1024-32767
  81. # Default:
  82. # ListenPort=10050
  83.  
  84. ### Option: ListenIP
  85. # List of comma delimited IP addresses that the agent should listen on.
  86. # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
  87. #
  88. # Mandatory: no
  89. # Default:
  90. # ListenIP=0.0.0.0
  91.  
  92. ### Option: StartAgents
  93. # Number of pre-forked instances of zabbix_agentd that process passive checks.
  94. # If set to 0, disables passive checks and the agent will not listen on any TCP port.
  95. #
  96. # Mandatory: no
  97. # Range: 0-100
  98. # Default:
  99. # StartAgents=3
  100.  
  101. ##### Active checks related
  102.  
  103. ### Option: ServerActive
  104. # List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
  105. # If port is not specified, default port is used.
  106. # IPv6 addresses must be enclosed in square brackets if port for that host is specified.
  107. # If port is not specified, square brackets for IPv6 addresses are optional.
  108. # If this parameter is not specified, active checks are disabled.
  109. # Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
  110. #
  111. # Mandatory: no
  112. # Default:
  113. # ServerActive=
  114.  
  115. ServerActive=zab01
  116.  
  117. ### Option: Hostname
  118. # Unique, case sensitive hostname.
  119. # Required for active checks and must match hostname as configured on the server.
  120. # Value is acquired from HostnameItem if undefined.
  121. #
  122. # Mandatory: no
  123. # Default:
  124. # Hostname=
  125.  
  126.  
  127. ### Option: HostnameItem
  128. # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
  129. # Does not support UserParameters or aliases.
  130. #
  131. # Mandatory: no
  132. # Default:
  133. HostnameItem=system.hostname
  134.  
  135. ### Option: HostMetadata
  136. # Optional parameter that defines host metadata.
  137. # Host metadata is used at host auto-registration process.
  138. # An agent will issue an error and not start if the value is over limit of 255 characters.
  139. # If not defined, value will be acquired from HostMetadataItem.
  140. #
  141. # Mandatory: no
  142. # Range: 0-255 characters
  143. # Default:
  144. # HostMetadata=
  145.  
  146. ### Option: HostMetadataItem
  147. # Optional parameter that defines an item used for getting host metadata.
  148. # Host metadata is used at host auto-registration process.
  149. # During an auto-registration request an agent will log a warning message if
  150. # the value returned by specified item is over limit of 255 characters.
  151. # This option is only used when HostMetadata is not defined.
  152. #
  153. # Mandatory: no
  154. # Default:
  155. # HostMetadataItem=
  156.  
  157. ### Option: RefreshActiveChecks
  158. # How often list of active checks is refreshed, in seconds.
  159. #
  160. # Mandatory: no
  161. # Range: 60-3600
  162. # Default:
  163. # RefreshActiveChecks=120
  164.  
  165. ### Option: BufferSend
  166. # Do not keep data longer than N seconds in buffer.
  167. #
  168. # Mandatory: no
  169. # Range: 1-3600
  170. # Default:
  171. # BufferSend=5
  172.  
  173. ### Option: BufferSize
  174. # Maximum number of values in a memory buffer. The agent will send
  175. # all collected data to Zabbix server or Proxy if the buffer is full.
  176. #
  177. # Mandatory: no
  178. # Range: 2-65535
  179. # Default:
  180. # BufferSize=100
  181.  
  182. ### Option: MaxLinesPerSecond
  183. # Maximum number of new lines the agent will send per second to Zabbix Server
  184. # or Proxy processing 'log', 'logrt' and 'eventlog' active checks.
  185. # The provided value will be overridden by the parameter 'maxlines',
  186. # provided in 'log', 'logrt' or 'eventlog' item keys.
  187. #
  188. # Mandatory: no
  189. # Range: 1-1000
  190. # Default:
  191. # MaxLinesPerSecond=100
  192.  
  193. ############ ADVANCED PARAMETERS #################
  194.  
  195. ### Option: Alias
  196. # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
  197. # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
  198. # Different Alias keys may reference the same item key.
  199. # For example, to retrieve paging file usage in percents from the server:
  200. # Alias=pg_usage:perf_counter[\Paging File(_Total)\% Usage]
  201. # Now shorthand key pg_usage may be used to retrieve data.
  202. # Aliases can be used in HostMetadataItem but not in HostnameItem or PerfCounter parameters.
  203. #
  204. # Mandatory: no
  205. # Range:
  206. # Default:
  207.  
  208. ### Option: Timeout
  209. # Spend no more than Timeout seconds on processing
  210. #
  211. # Mandatory: no
  212. # Range: 1-30
  213. # Default:
  214. # Timeout=3
  215.  
  216. ### Option: PerfCounter
  217. # Syntax: <parameter_name>,"<perf_counter_path>",<period>
  218. # 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).
  219. # 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:
  220. # PerfCounter = interrupts,"\Processor(0)\Interrupts/sec",60
  221. # Please note double quotes around performance counter path.
  222. # Samples for calculating average value will be taken every second.
  223. # You may run "typeperf -qx" to get list of all performance counters available in Windows.
  224. #
  225. # Mandatory: no
  226. # Range:
  227. # Default:
  228.  
  229. ### Option: Include
  230. # You may include individual files in the configuration file.
  231. #
  232. # Mandatory: no
  233. # Default:
  234. # Include=
  235.  
  236. # Include=c:\zabbix\zabbix_agentd.userparams.conf
  237.  
  238. ####### USER-DEFINED MONITORED PARAMETERS #######
  239.  
  240. ### Option: UnsafeUserParameters
  241. # Allow all characters to be passed in arguments to user-defined parameters.
  242. # 0 - do not allow
  243. # 1 - allow
  244. #
  245. # Mandatory: no
  246. # Range: 0-1
  247. # Default:
  248. # UnsafeUserParameters=0
  249.  
  250. ### Option: UserParameter
  251. # User-defined parameter to monitor. There can be several user-defined parameters.
  252. # Format: UserParameter=<key>,<shell command>
  253. #
  254. # Mandatory: no
  255. # Default:
  256. # UserParameter=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement