UZL_Oleg

Untitled

Oct 14th, 2020
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.38 KB | None | 0 0
  1. # This is a configuration file for Zabbix agent service (Windows)
  2. # To get more information about Zabbix, visit http://www.zabbix.com
  3.  
  4. ############ GENERAL PARAMETERS #################
  5.  
  6. ### Option: LogType
  7. # Specifies where log messages are written to:
  8. # system - Windows event log
  9. # file - file specified with LogFile parameter
  10. # console - standard output
  11. #
  12. # Mandatory: no
  13. # Default:
  14. # LogType=file
  15.  
  16.  
  17. ### Option: LogFile
  18. # Log file name for LogType 'file' parameter.
  19. #
  20. # Mandatory: no
  21. # Default:
  22. # LogFile=
  23.  
  24. LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
  25.  
  26. ### Option: LogFileSize
  27. # Maximum size of log file in MB.
  28. # 0 - disable automatic log rotation.
  29. #
  30. # Mandatory: no
  31. # Range: 0-1024
  32. # Default:
  33. # LogFileSize=1
  34.  
  35. ### Option: DebugLevel
  36. # Specifies debug level:
  37. # 0 - basic information about starting and stopping of Zabbix processes
  38. # 1 - critical information
  39. # 2 - error information
  40. # 3 - warnings
  41. # 4 - for debugging (produces lots of information)
  42. # 5 - extended debugging (produces even more information)
  43. #
  44. # Mandatory: no
  45. # Range: 0-5
  46. # Default:
  47. # DebugLevel=3
  48.  
  49. ### Option: SourceIP
  50. # Source IP address for outgoing connections.
  51. #
  52. # Mandatory: no
  53. # Default:
  54. # SourceIP=
  55.  
  56. ### Option: AllowKey
  57. # Allow execution of item keys matching pattern.
  58. # Multiple keys matching rules may be defined in combination with DenyKey.
  59. # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments.
  60. # Parameters are processed one by one according their appearance order.
  61. # If no AllowKey or DenyKey rules defined, all keys are allowed.
  62. #
  63. # Mandatory: no
  64.  
  65. ### Option: DenyKey
  66. # Deny execution of items keys matching pattern.
  67. # Multiple keys matching rules may be defined in combination with AllowKey.
  68. # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments.
  69. # Parameters are processed one by one according their appearance order.
  70. # If no AllowKey or DenyKey rules defined, all keys are allowed.
  71. # Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default.
  72. #
  73. # Mandatory: no
  74. # Default:
  75. # DenyKey=system.run[*]
  76.  
  77. ### Option: EnableRemoteCommands - Deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead
  78. # Internal alias for AllowKey/DenyKey parameters depending on value:
  79. # 0 - DenyKey=system.run[*]
  80. # 1 - AllowKey=system.run[*]
  81. #
  82. # Mandatory: no
  83.  
  84. AllowKey=system.run[*]
  85.  
  86. ### Option: LogRemoteCommands
  87. # Enable logging of executed shell commands as warnings.
  88. # 0 - disabled
  89. # 1 - enabled
  90. #
  91. # Mandatory: no
  92. # Default:
  93. LogRemoteCommands=1
  94.  
  95. ##### Passive checks related
  96.  
  97. ### Option: Server
  98. # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
  99. # Incoming connections will be accepted only from the hosts listed here.
  100. # 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.
  101. # '0.0.0.0/0' can be used to allow any IPv4 address.
  102. # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domain
  103. #
  104. # Mandatory: yes, if StartAgents is not explicitly set to 0
  105. # Default:
  106. # Server=
  107.  
  108. Server=10.248.81.50
  109.  
  110. ### Option: ListenPort
  111. # Agent will listen on this port for connections from the server.
  112. #
  113. # Mandatory: no
  114. # Range: 1024-32767
  115. # Default:
  116. # ListenPort=10050
  117.  
  118.  
  119. ### Option: ListenIP
  120. # List of comma delimited IP addresses that the agent should listen on.
  121. # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
  122. #
  123. # Mandatory: no
  124. # Default:
  125. # ListenIP=0.0.0.0
  126.  
  127.  
  128. ### Option: StartAgents
  129. # Number of pre-forked instances of zabbix_agentd that process passive checks.
  130. # If set to 0, disables passive checks and the agent will not listen on any TCP port.
  131. #
  132. # Mandatory: no
  133. # Range: 0-100
  134. # Default:
  135. # StartAgents=3
  136.  
  137. ##### Active checks related
  138.  
  139. ### Option: ServerActive
  140. # List of comma delimited IP:port (or DNS name:port) pairs of Zabbix servers and Zabbix proxies for active checks.
  141. # If port is not specified, default port is used.
  142. # IPv6 addresses must be enclosed in square brackets if port for that host is specified.
  143. # If port is not specified, square brackets for IPv6 addresses are optional.
  144. # If this parameter is not specified, active checks are disabled.
  145. # Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
  146. #
  147. # Mandatory: no
  148. # Default:
  149. # ServerActive=
  150.  
  151. ServerActive=10.248.81.50
  152.  
  153. ### Option: Hostname
  154. # Unique, case sensitive hostname.
  155. # Required for active checks and must match hostname as configured on the server.
  156. # Value is acquired from HostnameItem if undefined.
  157. #
  158. # Mandatory: no
  159. # Default:
  160. # Hostname=
  161.  
  162. Hostname=PDT-W-100
  163.  
  164. ### Option: HostnameItem
  165. # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
  166. # Does not support UserParameters or aliases.
  167. #
  168. # Mandatory: no
  169. # Default:
  170. # HostnameItem=system.hostname
  171.  
  172. ### Option: HostMetadata
  173. # Optional parameter that defines host metadata.
  174. # Host metadata is used at host auto-registration process.
  175. # An agent will issue an error and not start if the value is over limit of 255 characters.
  176. # If not defined, value will be acquired from HostMetadataItem.
  177. #
  178. # Mandatory: no
  179. # Range: 0-255 characters
  180. # Default:
  181. # HostMetadata=
  182.  
  183.  
  184. ### Option: HostMetadataItem
  185. # Optional parameter that defines an item used for getting host metadata.
  186. # Host metadata is used at host auto-registration process.
  187. # During an auto-registration request an agent will log a warning message if
  188. # the value returned by specified item is over limit of 255 characters.
  189. # This option is only used when HostMetadata is not defined.
  190. #
  191. # Mandatory: no
  192. # Default:
  193. # HostMetadataItem=
  194.  
  195. ### Option: HostInterface
  196. # Optional parameter that defines host interface.
  197. # Host interface is used at host auto-registration process.
  198. # An agent will issue an error and not start if the value is over limit of 255 characters.
  199. # If not defined, value will be acquired from HostInterfaceItem.
  200. #
  201. # Mandatory: no
  202. # Range: 0-255 characters
  203. # Default:
  204. # HostInterface=
  205.  
  206.  
  207. ### Option: HostInterfaceItem
  208. # Optional parameter that defines an item used for getting host interface.
  209. # Host interface is used at host auto-registration process.
  210. # During an auto-registration request an agent will log a warning message if
  211. # the value returned by specified item is over limit of 255 characters.
  212. # This option is only used when HostInterface is not defined.
  213. #
  214. # Mandatory: no
  215. # Default:
  216. # HostInterfaceItem=
  217.  
  218. ### Option: RefreshActiveChecks
  219. # How often list of active checks is refreshed, in seconds.
  220. #
  221. # Mandatory: no
  222. # Range: 60-3600
  223. # Default:
  224. # RefreshActiveChecks=120
  225.  
  226. ### Option: BufferSend
  227. # Do not keep data longer than N seconds in buffer.
  228. #
  229. # Mandatory: no
  230. # Range: 1-3600
  231. # Default:
  232. # BufferSend=5
  233.  
  234. ### Option: BufferSize
  235. # Maximum number of values in a memory buffer. The agent will send
  236. # all collected data to Zabbix server or Proxy if the buffer is full.
  237. #
  238. # Mandatory: no
  239. # Range: 2-65535
  240. # Default:
  241. # BufferSize=100
  242.  
  243. ### Option: MaxLinesPerSecond
  244. # Maximum number of new lines the agent will send per second to Zabbix Server
  245. # or Proxy processing 'log', 'logrt' and 'eventlog' active checks.
  246. # The provided value will be overridden by the parameter 'maxlines',
  247. # provided in 'log', 'logrt' or 'eventlog' item keys.
  248. #
  249. # Mandatory: no
  250. # Range: 1-1000
  251. # Default:
  252. # MaxLinesPerSecond=20
  253.  
  254. ############ ADVANCED PARAMETERS #################
  255.  
  256. ### Option: Alias
  257. # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
  258. # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
  259. # Different Alias keys may reference the same item key.
  260. # For example, to retrieve paging file usage in percents from the server:
  261. # Alias=pg_usage:perf_counter[\Paging File(_Total)\% Usage]
  262. # Now shorthand key pg_usage may be used to retrieve data.
  263. # Aliases can be used in HostMetadataItem but not in HostnameItem or PerfCounter parameters.
  264. #
  265. # Mandatory: no
  266. # Range:
  267. # Default:
  268.  
  269. ### Option: Timeout
  270. # Spend no more than Timeout seconds on processing.
  271. #
  272. # Mandatory: no
  273. # Range: 1-30
  274. # Default:
  275. # Timeout=3
  276.  
  277.  
  278. ### Option: PerfCounter
  279. # Syntax: <parameter_name>,"<perf_counter_path>",<period>
  280. # 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).
  281. # 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:
  282. # PerfCounter = interrupts,"\Processor(0)\Interrupts/sec",60
  283. # Please note double quotes around performance counter path.
  284. # Samples for calculating average value will be taken every second.
  285. # You may run "typeperf -qx" to get list of all performance counters available in Windows.
  286. #
  287. # Mandatory: no
  288. # Range:
  289. # Default:
  290.  
  291. ### Option: Include
  292. # You may include individual files in the configuration file.
  293. #
  294. # Mandatory: no
  295. # Default:
  296. # Include=
  297.  
  298. # Include=c:\zabbix\zabbix_agentd.userparams.conf
  299. # Include=c:\zabbix\zabbix_agentd.conf.d\
  300. # Include=c:\zabbix\zabbix_agentd.conf.d\*.conf
  301.  
  302. Include=C:\Program Files\Zabbix Agent\zabbix_agentd.conf.d\
  303.  
  304. ####### USER-DEFINED MONITORED PARAMETERS #######
  305.  
  306. ### Option: UnsafeUserParameters
  307. # Allow all characters to be passed in arguments to user-defined parameters.
  308. # The following characters are not allowed:
  309. # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
  310. # Additionally, newline characters are not allowed.
  311. # 0 - do not allow
  312. # 1 - allow
  313. #
  314. # Mandatory: no
  315. # Range: 0-1
  316. # Default:
  317. # UnsafeUserParameters=0
  318.  
  319. ### Option: UserParameter
  320. # User-defined parameter to monitor. There can be several user-defined parameters.
  321. # Format: UserParameter=<key>,<shell command>
  322. #
  323. # Mandatory: no
  324. # Default:
  325. # UserParameter=
  326.  
  327. ####### TLS-RELATED PARAMETERS #######
  328.  
  329. ### Option: TLSConnect
  330. # How the agent should connect to server or proxy. Used for active checks.
  331. # Only one value can be specified:
  332. # unencrypted - connect without encryption
  333. # psk - connect using TLS and a pre-shared key
  334. # cert - connect using TLS and a certificate
  335. #
  336. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  337. # Default:
  338. # TLSConnect=unencrypted
  339.  
  340.  
  341. ### Option: TLSAccept
  342. # What incoming connections to accept.
  343. # Multiple values can be specified, separated by comma:
  344. # unencrypted - accept connections without encryption
  345. # psk - accept connections secured with TLS and a pre-shared key
  346. # cert - accept connections secured with TLS and a certificate
  347. #
  348. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  349. # Default:
  350. # TLSAccept=unencrypted
  351.  
  352.  
  353. ### Option: TLSCAFile
  354. # Full pathname of a file containing the top-level CA(s) certificates for
  355. # peer certificate verification.
  356. #
  357. # Mandatory: no
  358. # Default:
  359. # TLSCAFile=
  360.  
  361.  
  362. ### Option: TLSCRLFile
  363. # Full pathname of a file containing revoked certificates.
  364. #
  365. # Mandatory: no
  366. # Default:
  367. # TLSCRLFile=
  368.  
  369.  
  370. ### Option: TLSServerCertIssuer
  371. # Allowed server certificate issuer.
  372. #
  373. # Mandatory: no
  374. # Default:
  375. # TLSServerCertIssuer=
  376.  
  377.  
  378. ### Option: TLSServerCertSubject
  379. # Allowed server certificate subject.
  380. #
  381. # Mandatory: no
  382. # Default:
  383. # TLSServerCertSubject=
  384.  
  385.  
  386. ### Option: TLSCertFile
  387. # Full pathname of a file containing the agent certificate or certificate chain.
  388. #
  389. # Mandatory: no
  390. # Default:
  391. # TLSCertFile=
  392.  
  393.  
  394. ### Option: TLSKeyFile
  395. # Full pathname of a file containing the agent private key.
  396. #
  397. # Mandatory: no
  398. # Default:
  399. # TLSKeyFile=
  400.  
  401.  
  402. ### Option: TLSPSKIdentity
  403. # Unique, case sensitive string used to identify the pre-shared key.
  404. #
  405. # Mandatory: no
  406. # Default:
  407. # TLSPSKIdentity=
  408.  
  409.  
  410. ### Option: TLSPSKFile
  411. # Full pathname of a file containing the pre-shared key.
  412. #
  413. # Mandatory: no
  414. # Default:
  415. # TLSPSKFile=
  416.  
  417.  
  418. ####### For advanced users - TLS ciphersuite selection criteria #######
  419.  
  420. ### Option: TLSCipherCert13
  421. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  422. # Override the default ciphersuite selection criteria for certificate-based encryption.
  423. #
  424. # Mandatory: no
  425. # Default:
  426. # TLSCipherCert13=
  427.  
  428. ### Option: TLSCipherCert
  429. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  430. # Override the default ciphersuite selection criteria for certificate-based encryption.
  431. # Example for GnuTLS:
  432. # NONE:+VERS-TLS1.2:+ECDHE-RSA:+RSA:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL:+CTYPE-X.509
  433. # Example for OpenSSL:
  434. # EECDH+aRSA+AES128:RSA+aRSA+AES128
  435. #
  436. # Mandatory: no
  437. # Default:
  438. # TLSCipherCert=
  439.  
  440. ### Option: TLSCipherPSK13
  441. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  442. # Override the default ciphersuite selection criteria for PSK-based encryption.
  443. # Example:
  444. # TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
  445. #
  446. # Mandatory: no
  447. # Default:
  448. # TLSCipherPSK13=
  449.  
  450. ### Option: TLSCipherPSK
  451. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  452. # Override the default ciphersuite selection criteria for PSK-based encryption.
  453. # Example for GnuTLS:
  454. # NONE:+VERS-TLS1.2:+ECDHE-PSK:+PSK:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL
  455. # Example for OpenSSL:
  456. # kECDHEPSK+AES128:kPSK+AES128
  457. #
  458. # Mandatory: no
  459. # Default:
  460. # TLSCipherPSK=
  461.  
  462. ### Option: TLSCipherAll13
  463. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  464. # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
  465. # Example:
  466. # TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
  467. #
  468. # Mandatory: no
  469. # Default:
  470. # TLSCipherAll13=
  471.  
  472. ### Option: TLSCipherAll
  473. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  474. # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
  475. # Example for GnuTLS:
  476. # NONE:+VERS-TLS1.2:+ECDHE-RSA:+RSA:+ECDHE-PSK:+PSK:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL:+CTYPE-X.509
  477. # Example for OpenSSL:
  478. # EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128
  479. #
  480. # Mandatory: no
  481. # Default:
  482. # TLSCipherAll=
  483.  
Add Comment
Please, Sign In to add comment