Guest User

Zabbix Config

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