Guest User

Main Server Config

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