Guest User

Non-working proxy config

a guest
Dec 12th, 2025
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.89 KB | None | 0 0
  1. # This is a configuration file for Zabbix proxy daemon
  2. # To get more information about Zabbix, visit https://www.zabbix.com
  3.  
  4. ############ GENERAL PARAMETERS #################
  5.  
  6. ### Option: ProxyMode
  7. # Proxy operating mode.
  8. # 0 - proxy in the active mode
  9. # 1 - proxy in the passive mode
  10. #
  11. # Mandatory: no
  12. # Default:
  13. # ProxyMode=0
  14.  
  15. ### Option: Server
  16. # If ProxyMode is set to active mode:
  17. # IP address or DNS name (address:port) or cluster (address:port;address2:port) of Zabbix server to get configuration data from and send data to.
  18. # If port is not specified, default port is used.
  19. # Cluster nodes need to be separated by semicolon.
  20. # If ProxyMode is set to passive mode:
  21. # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix server.
  22. # Incoming connections will be accepted only from the addresses listed here.
  23. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
  24. # and '::/0' will allow any IPv4 or IPv6 address.
  25. # '0.0.0.0/0' can be used to allow any IPv4 address.
  26. # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
  27. #
  28. # Mandatory: yes
  29. # Default:
  30. # Server=
  31.  
  32. Server=[redacted]
  33.  
  34. ### Option: Hostname
  35. # Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
  36. # Value is acquired from HostnameItem if undefined.
  37. #
  38. # Mandatory: no
  39. # Default:
  40. # Hostname=
  41.  
  42. Hostname=[redacted]
  43.  
  44. ### Option: HostnameItem
  45. # Item used for generating Hostname if it is undefined.
  46. # Ignored if Hostname is defined.
  47. #
  48. # Mandatory: no
  49. # Default:
  50. # HostnameItem=system.hostname
  51.  
  52. ### Option: ListenPort
  53. # Listen port for trapper.
  54. #
  55. # Mandatory: no
  56. # Range: 1024-32767
  57. # Default:
  58. # ListenPort=10051
  59.  
  60. ### Option: SourceIP
  61. # Source IP address for outgoing connections.
  62. #
  63. # Mandatory: no
  64. # Default:
  65. # SourceIP=
  66.  
  67. ### Option: LogType
  68. # Specifies where log messages are written to:
  69. # system - syslog
  70. # file - file specified with LogFile parameter
  71. # console - standard output
  72. #
  73. # Mandatory: no
  74. # Default:
  75. # LogType=file
  76.  
  77. ### Option: LogFile
  78. # Log file name for LogType 'file' parameter.
  79. #
  80. # Mandatory: yes, if LogType is set to file, otherwise no
  81. # Default:
  82. # LogFile=
  83.  
  84. LogFile=/var/log/zabbix/zabbix_proxy.log
  85.  
  86. ### Option: LogFileSize
  87. # Maximum size of log file in MB.
  88. # 0 - disable automatic log rotation.
  89. #
  90. # Mandatory: no
  91. # Range: 0-1024
  92. # Default:
  93. # LogFileSize=1
  94.  
  95. LogFileSize=0
  96.  
  97. ### Option: DebugLevel
  98. # Specifies debug level:
  99. # 0 - basic information about starting and stopping of Zabbix processes
  100. # 1 - critical information
  101. # 2 - error information
  102. # 3 - warnings
  103. # 4 - for debugging (produces lots of information)
  104. # 5 - extended debugging (produces even more information)
  105. #
  106. # Mandatory: no
  107. # Range: 0-5
  108. # Default:
  109. # DebugLevel=3
  110.  
  111. ### Option: EnableRemoteCommands
  112. # Whether remote commands from Zabbix server are allowed.
  113. # 0 - not allowed
  114. # 1 - allowed
  115. #
  116. # Mandatory: no
  117. # Default:
  118. # EnableRemoteCommands=0
  119.  
  120. ### Option: LogRemoteCommands
  121. # Enable logging of executed shell commands as warnings.
  122. # 0 - disabled
  123. # 1 - enabled
  124. #
  125. # Mandatory: no
  126. # Default:
  127. # LogRemoteCommands=0
  128.  
  129. ### Option: PidFile
  130. # Name of PID file.
  131. #
  132. # Mandatory: no
  133. # Default:
  134. # PidFile=/tmp/zabbix_proxy.pid
  135.  
  136. PidFile=/run/zabbix/zabbix_proxy.pid
  137.  
  138. ### Option: SocketDir
  139. # IPC socket directory.
  140. # Directory to store IPC sockets used by internal Zabbix services.
  141. #
  142. # Mandatory: no
  143. # Default:
  144. # SocketDir=/tmp
  145.  
  146. SocketDir=/run/zabbix
  147.  
  148. ### Option: DBHost
  149. # Database host name.
  150. # If set to localhost, socket is used for MySQL.
  151. # If set to empty string, socket is used for PostgreSQL.
  152. #
  153. # Mandatory: no
  154. # Default:
  155. # DBHost=localhost
  156.  
  157. ### Option: DBName
  158. # Database name.
  159. # For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
  160. # Warning: do not attempt to use the same database Zabbix server is using.
  161. #
  162. # Mandatory: yes
  163. # Default:
  164. # DBName=
  165.  
  166. DBName=zabbix_proxy
  167.  
  168. ### Option: DBSchema
  169. # Schema name. Used for PostgreSQL.
  170. #
  171. # Mandatory: no
  172. # Default:
  173. # DBSchema=
  174.  
  175. ### Option: DBUser
  176. # Database user. Ignored for SQLite.
  177. #
  178. # Default:
  179. # DBUser=
  180.  
  181. DBUser=zabbix
  182.  
  183. ### Option: DBPassword
  184. # Database password. Ignored for SQLite.
  185. # Comment this line if no password is used.
  186. #
  187. # Mandatory: no
  188. # Default:
  189. # DBPassword=
  190.  
  191. DBPassword=[redacted]
  192.  
  193. ### Option: DBSocket
  194. # Path to MySQL socket.
  195. #
  196. # Mandatory: no
  197. # Default:
  198. # DBSocket=
  199.  
  200. # Option: DBPort
  201. # Database port when not using local socket. Ignored for SQLite.
  202. #
  203. # Mandatory: no
  204. # Default for MySQL: 3306
  205. # Default for PostgreSQL: 5432
  206. # DBPort=
  207.  
  208. ### Option: AllowUnsupportedDBVersions
  209. # Allow proxy to work with unsupported database versions.
  210. # 0 - do not allow
  211. # 1 - allow
  212. #
  213. # Mandatory: no
  214. # Default:
  215. # AllowUnsupportedDBVersions=0
  216.  
  217. ######### PROXY SPECIFIC PARAMETERS #############
  218.  
  219. ### Option: ProxyLocalBuffer
  220. # Proxy will keep data locally for N hours, even if the data have already been synced with the server.
  221. # This parameter may be used if local data will be used by third party applications.
  222. #
  223. # Mandatory: no
  224. # Range: 0-720
  225. # Default:
  226. # ProxyLocalBuffer=0
  227.  
  228. ### Option: ProxyOfflineBuffer
  229. # Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
  230. # Older data will be lost.
  231. #
  232. # Mandatory: no
  233. # Range: 1-720
  234. # Default:
  235. # ProxyOfflineBuffer=1
  236.  
  237. ### Option: ProxyBufferMode
  238. # Specifies history, discovery and auto registration data storage mechanism:
  239. # disk - data are stored in database and uploaded from database
  240. # memory - data are stored in memory and uploaded from memory.
  241. # If buffer runs out of memory the old data will be discarded.
  242. # On shutdown the buffer is discarded.
  243. # hybrid - the proxy buffer normally works like in memory mode until it runs out of memory or
  244. # the oldest record exceeds the configured age. If that happens the buffer is flushed
  245. # to database and it works like in disk mode until all data have been uploaded and
  246. # it starts working with memory again. On shutdown the memory buffer is flushed
  247. # to database.
  248. #
  249. # Mandatory: no
  250. # Values: disk, memory, hybrid
  251. # Default:
  252. # ProxyBufferMode=disk
  253.  
  254. ProxyBufferMode=hybrid
  255.  
  256. ### Option: ProxyMemoryBufferSize
  257. # Size of shared memory cache for collected history, discovery and auto registration data, in bytes.
  258. # If enabled (not zero) proxy will keep history discovery and auto registration data in memory unless
  259. # cache is full or stored records are older than defined ProxyMemoryBufferAge.
  260. # This parameter cannot be used together with ProxyLocalBuffer parameter.
  261. #
  262. # Mandatory: no
  263. # Range: 0,128K-2G
  264. # Default:
  265. # ProxyMemoryBufferSize=0
  266.  
  267. ProxyMemoryBufferSize=16M
  268.  
  269. ### Option: ProxyMemoryBufferAge
  270. # Maximum age of data in proxy memory buffer, in seconds.
  271. # When enabled (not zero) and records in proxy memory buffer are older, then it forces proxy buffer
  272. # to switch to database mode until all records are uploaded to server.
  273. # This parameter must be less or equal to ProxyOfflineBuffer parameter (note different units).
  274. #
  275. # Mandatory: no
  276. # Range: 0,600-864000
  277. # Default:
  278. # ProxyMemoryBufferAge=0
  279.  
  280. ### Option: ConfigFrequency - Deprecated, use ProxyConfigFrequency
  281. # How often proxy retrieves configuration data from Zabbix Server in seconds.
  282. # For a proxy in the passive mode this parameter will be ignored.
  283. # Mandatory: no
  284.  
  285. ### Option: ProxyConfigFrequency
  286. # How often proxy retrieves configuration data from Zabbix Server in seconds.
  287. # For a proxy in the passive mode this parameter will be ignored.
  288. #
  289. # Mandatory: no
  290. # Range: 1-3600*24*7
  291. # Default:
  292. # ProxyConfigFrequency=10
  293.  
  294. ### Option: DataSenderFrequency
  295. # Proxy will send collected data to the Server every N seconds.
  296. # For a proxy in the passive mode this parameter will be ignored.
  297. #
  298. # Mandatory: no
  299. # Range: 1-3600
  300. # Default:
  301. # DataSenderFrequency=1
  302.  
  303. ############ ADVANCED PARAMETERS ################
  304.  
  305. ### Option: StartPollers
  306. # Number of pre-forked instances of pollers.
  307. #
  308. # Mandatory: no
  309. # Range: 0-1000
  310. # Default:
  311. # StartPollers=5
  312.  
  313. ### Option: StartAgentPollers
  314. # Number of pre-forked instances of asynchronous Zabbix agent pollers. Also see MaxConcurrentChecksPerPoller.
  315. #
  316. # Mandatory: no
  317. # Range: 0-1000
  318. # Default:
  319. # StartAgentPollers=1
  320.  
  321. ### Option: StartHTTPAgentPollers
  322. # Number of pre-forked instances of asynchronous HTTP agent pollers. Also see MaxConcurrentChecksPerPoller.
  323. #
  324. # Mandatory: no
  325. # Range: 0-1000
  326. # Default:
  327. # StartHTTPAgentPollers=1
  328.  
  329. ### Option: StartSNMPPollers
  330. # Number of pre-forked instances of asynchronous SNMP pollers. Also see MaxConcurrentChecksPerPoller.
  331. #
  332. # Mandatory: no
  333. # Range: 0-1000
  334. # Default:
  335. # StartSNMPPollers=1
  336.  
  337. ### Option: MaxConcurrentChecksPerPoller
  338. # Maximum number of asynchronous checks that can be executed at once by each HTTP agent poller or agent poller.
  339. #
  340. # Mandatory: no
  341. # Range: 1-1000
  342. # Default:
  343. # MaxConcurrentChecksPerPoller=1000
  344.  
  345. ### Option: StartIPMIPollers
  346. # Number of pre-forked instances of IPMI pollers.
  347. # The IPMI manager process is automatically started when at least one IPMI poller is started.
  348. #
  349. # Mandatory: no
  350. # Range: 0-1000
  351. # Default:
  352. # StartIPMIPollers=0
  353.  
  354. ### Option: StartPreprocessors
  355. # Number of pre-started instances of preprocessing worker threads should be set to no less than
  356. # the available CPU core count. More workers should be set if preprocessing is not CPU-bound and has
  357. # lots of network requests.
  358. #
  359. # Mandatory: no
  360. # Range: 1-1000
  361. # Default:
  362. # StartPreprocessors=16
  363.  
  364. ### Option: StartPollersUnreachable
  365. # Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
  366. # At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
  367. # are started.
  368. #
  369. # Mandatory: no
  370. # Range: 0-1000
  371. # Default:
  372. # StartPollersUnreachable=1
  373.  
  374. ### Option: StartTrappers
  375. # Number of pre-forked instances of trappers.
  376. # Trappers accept incoming connections from Zabbix sender and active agents.
  377. #
  378. # Mandatory: no
  379. # Range: 0-1000
  380. # Default:
  381. # StartTrappers=5
  382.  
  383. ### Option: StartPingers
  384. # Number of pre-forked instances of ICMP pingers.
  385. #
  386. # Mandatory: no
  387. # Range: 0-1000
  388. # Default:
  389. # StartPingers=1
  390.  
  391. ### Option: StartDiscoverers
  392. # Number of pre-started instances of discovery workers.
  393. #
  394. # Mandatory: no
  395. # Range: 0-1000
  396. # Default:
  397. # StartDiscoverers=5
  398.  
  399. ### Option: StartHTTPPollers
  400. # Number of pre-forked instances of HTTP pollers.
  401. #
  402. # Mandatory: no
  403. # Range: 0-1000
  404. # Default:
  405. # StartHTTPPollers=1
  406.  
  407. ### Option: JavaGateway
  408. # IP address (or hostname) of Zabbix Java gateway.
  409. # Only required if Java pollers are started.
  410. #
  411. # Mandatory: no
  412. # Default:
  413. # JavaGateway=
  414.  
  415. ### Option: JavaGatewayPort
  416. # Port that Zabbix Java gateway listens on.
  417. #
  418. # Mandatory: no
  419. # Range: 1024-32767
  420. # Default:
  421. # JavaGatewayPort=10052
  422.  
  423. ### Option: StartJavaPollers
  424. # Number of pre-forked instances of Java pollers.
  425. #
  426. # Mandatory: no
  427. # Range: 0-1000
  428. # Default:
  429. # StartJavaPollers=0
  430.  
  431. ### Option: StartVMwareCollectors
  432. # Number of pre-forked vmware collector instances.
  433. #
  434. # Mandatory: no
  435. # Range: 0-250
  436. # Default:
  437. # StartVMwareCollectors=0
  438.  
  439. ### Option: VMwareFrequency
  440. # How often Zabbix will connect to VMware service to obtain a new data.
  441. #
  442. # Mandatory: no
  443. # Range: 10-86400
  444. # Default:
  445. # VMwareFrequency=60
  446.  
  447. ### Option: VMwarePerfFrequency
  448. # How often Zabbix will connect to VMware service to obtain performance data.
  449. #
  450. # Mandatory: no
  451. # Range: 10-86400
  452. # Default:
  453. # VMwarePerfFrequency=60
  454.  
  455. ### Option: VMwareCacheSize
  456. # Size of VMware cache, in bytes.
  457. # Shared memory size for storing VMware data.
  458. # Only used if VMware collectors are started.
  459. #
  460. # Mandatory: no
  461. # Range: 256K-2G
  462. # Default:
  463. # VMwareCacheSize=8M
  464.  
  465. ### Option: VMwareTimeout
  466. # Specifies how many seconds vmware collector waits for response from VMware service.
  467. #
  468. # Mandatory: no
  469. # Range: 1-300
  470. # Default:
  471. # VMwareTimeout=10
  472.  
  473. ### Option: SNMPTrapperFile
  474. # Temporary file used for passing data from SNMP trap daemon to the proxy.
  475. # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
  476. #
  477. # Mandatory: no
  478. # Default:
  479. # SNMPTrapperFile=/tmp/zabbix_traps.tmp
  480.  
  481. SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
  482.  
  483. ### Option: StartSNMPTrapper
  484. # If 1, SNMP trapper process is started.
  485. #
  486. # Mandatory: no
  487. # Range: 0-1
  488. # Default:
  489. # StartSNMPTrapper=0
  490.  
  491. ### Option: ListenIP
  492. # List of comma delimited IP addresses that the trapper should listen on.
  493. # Trapper will listen on all network interfaces if this parameter is missing.
  494. #
  495. # Mandatory: no
  496. # Default:
  497. # ListenIP=0.0.0.0
  498.  
  499. ### Option: HousekeepingFrequency
  500. # How often Zabbix will perform housekeeping procedure (in hours).
  501. # Housekeeping is removing outdated information from the database.
  502. # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
  503. # hours of outdated information are deleted in one housekeeping cycle.
  504. # To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start.
  505. # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
  506. # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
  507. # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
  508. #
  509. # Mandatory: no
  510. # Range: 0-24
  511. # Default:
  512. # HousekeepingFrequency=1
  513.  
  514. ### Option: CacheSize
  515. # Size of configuration cache, in bytes.
  516. # Shared memory size, for storing hosts and items data.
  517. #
  518. # Mandatory: no
  519. # Range: 128K-64G
  520. # Default:
  521. # CacheSize=8M
  522.  
  523. CacheSize=512M
  524.  
  525. ### Option: StartDBSyncers
  526. # Number of pre-forked instances of DB Syncers.
  527. #
  528. # Mandatory: no
  529. # Range: 1-100
  530. # Default:
  531. # StartDBSyncers=4
  532.  
  533. ### Option: HistoryCacheSize
  534. # Size of history cache, in bytes.
  535. # Shared memory size for storing history data.
  536. #
  537. # Mandatory: no
  538. # Range: 128K-16G
  539. # Default:
  540. # HistoryCacheSize=16M
  541.  
  542. ### Option: HistoryIndexCacheSize
  543. # Size of history index cache, in bytes.
  544. # Shared memory size for indexing history cache.
  545. #
  546. # Mandatory: no
  547. # Range: 128K-16G
  548. # Default:
  549. # HistoryIndexCacheSize=4M
  550.  
  551. ### Option: Timeout
  552. # Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix server, agent, web service, and for SNMP checks (except SNMP `walk[OID]` and `get[OID]` items) and `icmpping[*]` item.
  553. #
  554. # Mandatory: no
  555. # Range: 1-30
  556. # Default:
  557. # Timeout=3
  558.  
  559. Timeout=4
  560.  
  561. ### Option: TrapperTimeout
  562. # Specifies timeout in seconds for:
  563. # Retrieval of configuration data from Zabbix server
  564. # Global script / remote command execution
  565. #
  566. # Mandatory: no
  567. # Range: 1-300
  568. # Default:
  569. # TrapperTimeout=300
  570.  
  571. ### Option: UnreachablePeriod
  572. # After how many seconds of unreachability treat a host as unavailable.
  573. #
  574. # Mandatory: no
  575. # Range: 1-3600
  576. # Default:
  577. # UnreachablePeriod=45
  578.  
  579. ### Option: UnavailableDelay
  580. # How often host is checked for availability during the unavailability period, in seconds.
  581. #
  582. # Mandatory: no
  583. # Range: 1-3600
  584. # Default:
  585. # UnavailableDelay=60
  586.  
  587. ### Option: UnreachableDelay
  588. # How often host is checked for availability during the unreachability period, in seconds.
  589. #
  590. # Mandatory: no
  591. # Range: 1-3600
  592. # Default:
  593. # UnreachableDelay=15
  594.  
  595. ## Option: StartODBCPollers
  596. # Number of pre-forked ODBC poller instances.
  597. #
  598. # Mandatory: no
  599. # Range: 0-1000
  600. # Default:
  601. # StartODBCPollers=1
  602.  
  603. ### Option: ExternalScripts
  604. # Full path to location of external scripts.
  605. # Default depends on compilation options.
  606. # To see the default path run command "zabbix_proxy --help".
  607. #
  608. # Mandatory: no
  609. # Default:
  610. # ExternalScripts=/usr/lib/zabbix/externalscripts
  611.  
  612. ### Option: FpingLocation
  613. # Location of fping.
  614. # Make sure that fping binary has root ownership and SUID flag set.
  615. #
  616. # Mandatory: no
  617. # Default:
  618. # FpingLocation=/usr/sbin/fping
  619.  
  620. FpingLocation=/usr/bin/fping
  621.  
  622. ### Option: Fping6Location
  623. # Location of fping6.
  624. # Make sure that fping6 binary has root ownership and SUID flag set.
  625. # Make empty if your fping utility is capable to process IPv6 addresses.
  626. #
  627. # Mandatory: no
  628. # Default:
  629. # Fping6Location=/usr/sbin/fping6
  630.  
  631. Fping6Location=/usr/bin/fping6
  632.  
  633. ### Option: SSHKeyLocation
  634. # Location of public and private keys for SSH checks and actions.
  635. #
  636. # Mandatory: no
  637. # Default:
  638. # SSHKeyLocation=
  639.  
  640. ### Option: LogSlowQueries
  641. # How long a database query may take before being logged (in milliseconds).
  642. # Only works if DebugLevel set to 3 or 4.
  643. # 0 - don't log slow queries.
  644. #
  645. # Mandatory: no
  646. # Range: 1-3600000
  647. # Default:
  648. # LogSlowQueries=0
  649.  
  650. LogSlowQueries=3000
  651.  
  652. ### Option: TmpDir
  653. # Temporary directory.
  654. #
  655. # Mandatory: no
  656. # Default:
  657. # TmpDir=/tmp
  658.  
  659. ### Option: AllowRoot
  660. # Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy
  661. # will try to switch to the user specified by the User configuration option instead.
  662. # Has no effect if started under a regular user.
  663. # 0 - do not allow
  664. # 1 - allow
  665. #
  666. # Mandatory: no
  667. # Default:
  668. # AllowRoot=0
  669.  
  670. ### Option: User
  671. # Drop privileges to a specific, existing user on the system.
  672. # Only has effect if run as 'root' and AllowRoot is disabled.
  673. #
  674. # Mandatory: no
  675. # Default:
  676. # User=zabbix
  677.  
  678. ### Option: SSLCertLocation
  679. # Location of SSL client certificates.
  680. # This parameter is used in web monitoring and for communication with Vault.
  681. # Default depends on compilation options.
  682. # To see the default path run command "zabbix_proxy --help".
  683. #
  684. # Mandatory: no
  685. # Default:
  686. # SSLCertLocation=${datadir}/zabbix/ssl/certs
  687.  
  688. ### Option: SSLKeyLocation
  689. # Location of private keys for SSL client certificates.
  690. # This parameter is used in web monitoring and for communication with Vault.
  691. # Default depends on compilation options.
  692. # To see the default path run command "zabbix_proxy --help".
  693. #
  694. # Mandatory: no
  695. # Default:
  696. # SSLKeyLocation=${datadir}/zabbix/ssl/keys
  697.  
  698. ### Option: SSLCALocation
  699. # Location of certificate authority (CA) files for SSL server certificate verification.
  700. # If not set, system-wide directory will be used.
  701. # This parameter is used in web monitoring, HTTP agent items and for communication with Vault.
  702. #
  703. # Mandatory: no
  704. # Default:
  705. # SSLCALocation=
  706.  
  707. ####### LOADABLE MODULES #######
  708.  
  709. ### Option: LoadModulePath
  710. # Full path to location of proxy modules.
  711. # Default depends on compilation options.
  712. # To see the default path run command "zabbix_proxy --help".
  713. #
  714. # Mandatory: no
  715. # Default:
  716. # LoadModulePath=${libdir}/modules
  717.  
  718. ### Option: LoadModule
  719. # Module to load at proxy startup. Modules are used to extend functionality of the proxy.
  720. # Formats:
  721. # LoadModule=<module.so>
  722. # LoadModule=<path/module.so>
  723. # LoadModule=</abs_path/module.so>
  724. # Either the module must be located in directory specified by LoadModulePath or the path must precede the module name.
  725. # If the preceding path is absolute (starts with '/') then LoadModulePath is ignored.
  726. # It is allowed to include multiple LoadModule parameters.
  727. #
  728. # Mandatory: no
  729. # Default:
  730. # LoadModule=
  731.  
  732. ### Option: StatsAllowedIP
  733. # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of external Zabbix instances.
  734. # Stats request will be accepted only from the addresses listed here. If this parameter is not set no stats requests
  735. # will be accepted.
  736. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
  737. # and '::/0' will allow any IPv4 or IPv6 address.
  738. # '0.0.0.0/0' can be used to allow any IPv4 address.
  739. # Example: StatsAllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
  740. #
  741. # Mandatory: no
  742. # Default:
  743. # StatsAllowedIP=
  744. StatsAllowedIP=127.0.0.1
  745.  
  746. ####### TLS-RELATED PARAMETERS #######
  747.  
  748. ### Option: TLSConnect
  749. # How the proxy should connect to Zabbix server. Used for an active proxy, ignored on a passive proxy.
  750. # Only one value can be specified:
  751. # unencrypted - connect without encryption
  752. # psk - connect using TLS and a pre-shared key
  753. # cert - connect using TLS and a certificate
  754. #
  755. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  756. # Default:
  757. # TLSConnect=unencrypted
  758.  
  759. ### Option: TLSAccept
  760. # What incoming connections to accept from Zabbix server. Used for a passive proxy, ignored on an active proxy.
  761. # Multiple values can be specified, separated by comma:
  762. # unencrypted - accept connections without encryption
  763. # psk - accept connections secured with TLS and a pre-shared key
  764. # cert - accept connections secured with TLS and a certificate
  765. #
  766. # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
  767. # Default:
  768. # TLSAccept=unencrypted
  769.  
  770. ### Option: TLSCAFile
  771. # Full pathname of a file containing the top-level CA(s) certificates for
  772. # peer certificate verification.
  773. #
  774. # Mandatory: no
  775. # Default:
  776. # TLSCAFile=
  777.  
  778. ### Option: TLSCRLFile
  779. # Full pathname of a file containing revoked certificates.
  780. #
  781. # Mandatory: no
  782. # Default:
  783. # TLSCRLFile=
  784.  
  785. ### Option: TLSServerCertIssuer
  786. # Allowed server certificate issuer.
  787. #
  788. # Mandatory: no
  789. # Default:
  790. # TLSServerCertIssuer=
  791.  
  792. ### Option: TLSServerCertSubject
  793. # Allowed server certificate subject.
  794. #
  795. # Mandatory: no
  796. # Default:
  797. # TLSServerCertSubject=
  798.  
  799. ### Option: TLSCertFile
  800. # Full pathname of a file containing the proxy certificate or certificate chain.
  801. #
  802. # Mandatory: no
  803. # Default:
  804. # TLSCertFile=
  805.  
  806. ### Option: TLSKeyFile
  807. # Full pathname of a file containing the proxy private key.
  808. #
  809. # Mandatory: no
  810. # Default:
  811. # TLSKeyFile=
  812.  
  813. ### Option: TLSPSKIdentity
  814. # Unique, case sensitive string used to identify the pre-shared key.
  815. #
  816. # Mandatory: no
  817. # Default:
  818. # TLSPSKIdentity=
  819.  
  820. ### Option: TLSPSKFile
  821. # Full pathname of a file containing the pre-shared key.
  822. #
  823. # Mandatory: no
  824. # Default:
  825. # TLSPSKFile=
  826.  
  827. ### Option: TLSListen
  828. # Setting this option enforces that only encrypted connections are accepted by trappers.
  829. # Supported values:
  830. # required - accept only TLS connections
  831. # Mandatory: no
  832. # Default:
  833. # TLSListen=
  834.  
  835. ####### For advanced users - TLS ciphersuite selection criteria #######
  836.  
  837. ### Option: TLSCipherCert13
  838. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  839. # Override the default ciphersuite selection criteria for certificate-based encryption.
  840. #
  841. # Mandatory: no
  842. # Default:
  843. # TLSCipherCert13=
  844.  
  845. ### Option: TLSCipherCert
  846. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  847. # Override the default ciphersuite selection criteria for certificate-based encryption.
  848. # Example for GnuTLS:
  849. # 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
  850. # Example for OpenSSL:
  851. # EECDH+aRSA+AES128:RSA+aRSA+AES128
  852. #
  853. # Mandatory: no
  854. # Default:
  855. # TLSCipherCert=
  856.  
  857. ### Option: TLSCipherPSK13
  858. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  859. # Override the default ciphersuite selection criteria for PSK-based encryption.
  860. # Example:
  861. # TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
  862. #
  863. # Mandatory: no
  864. # Default:
  865. # TLSCipherPSK13=
  866.  
  867. ### Option: TLSCipherPSK
  868. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  869. # Override the default ciphersuite selection criteria for PSK-based encryption.
  870. # Example for GnuTLS:
  871. # NONE:+VERS-TLS1.2:+ECDHE-PSK:+PSK:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL
  872. # Example for OpenSSL:
  873. # kECDHEPSK+AES128:kPSK+AES128
  874. #
  875. # Mandatory: no
  876. # Default:
  877. # TLSCipherPSK=
  878.  
  879. ### Option: TLSCipherAll13
  880. # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
  881. # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
  882. # Example:
  883. # TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
  884. #
  885. # Mandatory: no
  886. # Default:
  887. # TLSCipherAll13=
  888.  
  889. ### Option: TLSCipherAll
  890. # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
  891. # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
  892. # Example for GnuTLS:
  893. # 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
  894. # Example for OpenSSL:
  895. # EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128
  896. #
  897. # Mandatory: no
  898. # Default:
  899. # TLSCipherAll=
  900.  
  901. ### Option: DBTLSConnect
  902. # Setting this option enforces to use TLS connection to database.
  903. # required - connect using TLS
  904. # verify_ca - connect using TLS and verify certificate
  905. # verify_full - connect using TLS, verify certificate and verify that database identity specified by DBHost
  906. # matches its certificate
  907. # On MySQL starting from 5.7.11 and PostgreSQL following values are supported: "required", "verify_ca" and
  908. # "verify_full".
  909. # On MariaDB starting from version 10.2.6 "required" and "verify_full" values are supported.
  910. # Default is not to set any option and behavior depends on database configuration
  911. #
  912. # Mandatory: no
  913. # Default:
  914. # DBTLSConnect=
  915.  
  916. ### Option: DBTLSCAFile
  917. # Full pathname of a file containing the top-level CA(s) certificates for database certificate verification.
  918. # Supported only for MySQL and PostgreSQL
  919. #
  920. # Mandatory: no
  921. # (yes, if DBTLSConnect set to one of: verify_ca, verify_full)
  922. # Default:
  923. # DBTLSCAFile=
  924.  
  925. ### Option: DBTLSCertFile
  926. # Full pathname of file containing Zabbix proxy certificate for authenticating to database.
  927. # Supported only for MySQL and PostgreSQL
  928. #
  929. # Mandatory: no
  930. # Default:
  931. # DBTLSCertFile=
  932.  
  933. ### Option: DBTLSKeyFile
  934. # Full pathname of file containing the private key for authenticating to database.
  935. # Supported only for MySQL and PostgreSQL
  936. #
  937. # Mandatory: no
  938. # Default:
  939. # DBTLSKeyFile=
  940.  
  941. ### Option: DBTLSCipher
  942. # The list of encryption ciphers that Zabbix proxy permits for TLS protocols up through TLSv1.2
  943. # Supported only for MySQL
  944. #
  945. # Mandatory no
  946. # Default:
  947. # DBTLSCipher=
  948.  
  949. ### Option: DBTLSCipher13
  950. # The list of encryption ciphersuites that Zabbix proxy permits for TLSv1.3 protocol
  951. # Supported only for MySQL, starting from version 8.0.16
  952. #
  953. # Mandatory no
  954. # Default:
  955. # DBTLSCipher13=
  956.  
  957. ### Option: Vault
  958. # Specifies vault:
  959. # HashiCorp - HashiCorp KV Secrets Engine - Version 2
  960. # CyberArk - CyberArk Central Credential Provider
  961. #
  962. # Mandatory: no
  963. # Default:
  964. # Vault=HashiCorp
  965.  
  966. ### Option: VaultToken
  967. # Vault authentication token that should have been generated exclusively for Zabbix proxy with read only permission to path
  968. # specified in optional VaultDBPath configuration parameter.
  969. # It is an error if VaultToken and VAULT_TOKEN environment variable are defined at the same time.
  970. #
  971. # Mandatory: no
  972. # (yes, if Vault is explicitly set to HashiCorp)
  973. # Default:
  974. # VaultToken=
  975.  
  976. ### Option: VaultURL
  977. # Vault server HTTP[S] URL. System-wide CA certificates directory will be used if SSLCALocation is not specified.
  978. #
  979. # Mandatory: no
  980. # Default:
  981. # VaultURL=https://127.0.0.1:8200
  982.  
  983. ### Option: VaultPrefix
  984. # Custom prefix for Vault path or query depending on the Vault.
  985. # Most suitable defaults will be used if not specified.
  986. # Note that 'data' is automatically appended after mountpoint for HashiCorp if VaultPrefix is not specified.
  987. # Example prefix for HashiCorp:
  988. # /v1/secret/data/zabbix/
  989. # Example prefix for CyberArk:
  990. # /AIMWebService/api/Accounts?
  991. # Mandatory: no
  992. # Default:
  993. # VaultPrefix=
  994.  
  995. ### Option: VaultDBPath
  996. # Vault path or query depending on the Vault from where credentials for database will be retrieved by keys.
  997. # Keys used for HashiCorp are 'password' and 'username'.
  998. # Example path with VaultPrefix=/v1/secret/data/zabbix/:
  999. # database
  1000. # Example path without VaultPrefix:
  1001. # secret/zabbix/database
  1002. # Keys used for CyberArk are 'Content' and 'UserName'.
  1003. # Example query:
  1004. # AppID=zabbix_server&Query=Safe=passwordSafe;Object=zabbix_proxy_database
  1005. # This option can only be used if DBUser and DBPassword are not specified.
  1006. #
  1007. # Mandatory: no
  1008. # Default:
  1009. # VaultDBPath=
  1010.  
  1011. ### Option: VaultTLSCertFile
  1012. # Name of the SSL certificate file used for client authentication. The certificate file must be in PEM1 format.
  1013. # If the certificate file contains also the private key, leave the SSL key file field empty. The directory
  1014. # containing this file is specified by configuration parameter SSLCertLocation.
  1015. #
  1016. # Mandatory: no
  1017. # Default:
  1018. # VaultTLSCertFile=
  1019.  
  1020. ### Option: VaultTLSKeyFile
  1021. # Name of the SSL private key file used for client authentication. The private key file must be in PEM1 format.
  1022. # The directory containing this file is specified by configuration parameter SSLKeyLocation.
  1023. #
  1024. # Mandatory: no
  1025. # Default:
  1026. # VaultTLSKeyFile=
  1027.  
  1028. ####### For advanced users - TCP-related fine-tuning parameters #######
  1029.  
  1030. ## Option: ListenBacklog
  1031. # The maximum number of pending connections in the queue. This parameter is passed to
  1032. # listen() function as argument 'backlog' (see "man listen").
  1033. #
  1034. # Mandatory: no
  1035. # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum)
  1036. # Default: SOMAXCONN (hard-coded constant, depends on system)
  1037. # ListenBacklog=
  1038.  
  1039. ####### Browser monitoring #######
  1040.  
  1041. ### Option: WebDriverURL
  1042. # WebDriver interface HTTP[S] URL. For example http://localhost:4444 used with Selenium WebDriver standalone server.
  1043. #
  1044. # Mandatory: no
  1045. # Default:
  1046. # WebDriverURL=
  1047.  
  1048. ### Option: StartBrowserPollers
  1049. # Number of pre-forked instances of browser item pollers.
  1050. #
  1051. # Mandatory: no
  1052. # Range: 0-1000
  1053. # Default:
  1054. # StartBrowserPollers=1
  1055.  
  1056. ####### Additional configuration files #######
  1057.  
  1058. ### Option: Include
  1059. # You may include individual files or all files in a directory in the configuration file.
  1060. # Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
  1061. #
  1062. # Mandatory: no
  1063. # Default:
  1064. # Include=
  1065.  
  1066. Include=/etc/zabbix/zabbix_proxy.d/*.conf
  1067.  
  1068. # Include=/usr/local/etc/zabbix_proxy.general.conf
  1069. # Include=/usr/local/etc/zabbix_proxy.conf.d/
  1070. # Include=/usr/local/etc/zabbix_proxy.conf.d/*.conf
Add Comment
Please, Sign In to add comment