Advertisement
Guest User

Untitled

a guest
Dec 27th, 2018
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.88 KB | None | 0 0
  1. # This is a configuration file for Zabbix server daemon
  2. # To get more information about Zabbix, visit http://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=
  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=1
  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=/var/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=/var/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=xyz
  101.  
  102. ### Option: DBSchema
  103. # Schema name. Used for IBM DB2 and 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=xyz
  117.  
  118. ### Option: DBPassword
  119. # Database password.
  120. # Comment this line if no password is used.
  121. #
  122. # Mandatory: no
  123. # Default:
  124. DBPassword=xyz
  125.  
  126. ### Option: DBSocket
  127. # Path to MySQL socket.
  128. #
  129. # Mandatory: no
  130. # Default:
  131. # DBSocket=
  132.  
  133. ### Option: DBPort
  134. # Database port when not using local socket.
  135. #
  136. # Mandatory: no
  137. # Range: 1024-65535
  138. # Default:
  139. # DBPort=
  140.  
  141. ### Option: HistoryStorageURL
  142. # History storage HTTP[S] URL.
  143. #
  144. # Mandatory: no
  145. # Default:
  146. # HistoryStorageURL=
  147.  
  148. ### Option: HistoryStorageTypes
  149. # Comma separated list of value types to be sent to the history storage.
  150. #
  151. # Mandatory: no
  152. # Default:
  153. # HistoryStorageTypes=uint,dbl,str,log,text
  154.  
  155. ### Option: HistoryStorageDateIndex
  156. # Enable preprocessing of history values in history storage to store values in different indices based on date.
  157. # 0 - disable
  158. # 1 - enable
  159. #
  160. # Mandatory: no
  161. # Default:
  162. # HistoryStorageDateIndex=0
  163.  
  164. ### Option: ExportDir
  165. # Directory for real time export of events, history and trends in newline delimited JSON format.
  166. # If set, enables real time export.
  167. #
  168. # Mandatory: no
  169. # Default:
  170. # ExportDir=
  171.  
  172. ### Option: ExportFileSize
  173. # Maximum size per export file in bytes.
  174. # Only used for rotation if ExportDir is set.
  175. #
  176. # Mandatory: no
  177. # Range: 1M-1G
  178. # Default:
  179. # ExportFileSize=1G
  180.  
  181. ############ ADVANCED PARAMETERS ################
  182.  
  183. ### Option: StartPollers
  184. # Number of pre-forked instances of pollers.
  185. #
  186. # Mandatory: no
  187. # Range: 0-1000
  188. # Default:
  189. StartPollers=1000
  190.  
  191.  
  192. ### Option: StartIPMIPollers
  193. # Number of pre-forked instances of IPMI pollers.
  194. # The IPMI manager process is automatically started when at least one IPMI poller is started.
  195. #
  196. # Mandatory: no
  197. # Range: 0-1000
  198. # Default:
  199. # StartIPMIPollers=0
  200.  
  201. ### Option: StartPreprocessors
  202. # Number of pre-forked instances of preprocessing workers.
  203. # The preprocessing manager process is automatically started when preprocessor worker is started.
  204. #
  205. # Mandatory: no
  206. # Range: 1-1000
  207. # Default:
  208. # StartPreprocessors=3
  209.  
  210. ### Option: StartPollersUnreachable
  211. # Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
  212. # At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
  213. # are started.
  214. #
  215. # Mandatory: no
  216. # Range: 0-1000
  217. # Default:
  218. StartPollersUnreachable=1000
  219.  
  220. ### Option: StartTrappers
  221. # Number of pre-forked instances of trappers.
  222. # Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
  223. # At least one trapper process must be running to display server availability and view queue
  224. # in the frontend.
  225. #
  226. # Mandatory: no
  227. # Range: 0-1000
  228. # Default:
  229. # StartTrappers=5
  230.  
  231. ### Option: StartPingers
  232. # Number of pre-forked instances of ICMP pingers.
  233. #
  234. # Mandatory: no
  235. # Range: 0-1000
  236. # Default:
  237. StartPingers=300
  238.  
  239. ### Option: StartDiscoverers
  240. # Number of pre-forked instances of discoverers.
  241. #
  242. # Mandatory: no
  243. # Range: 0-250
  244. # Default:
  245. # StartDiscoverers=1
  246.  
  247. ### Option: StartHTTPPollers
  248. # Number of pre-forked instances of HTTP pollers.
  249. #
  250. # Mandatory: no
  251. # Range: 0-1000
  252. # Default:
  253. # StartHTTPPollers=1
  254.  
  255. ### Option: StartTimers
  256. # Number of pre-forked instances of timers.
  257. # Timers process maintenance periods.
  258. # Only the first timer process handles host maintenance updates. Problem suppression updates are shared.
  259. # between all timers.
  260. #
  261. # Mandatory: no
  262. # Range: 1-1000
  263. # Default:
  264. # StartTimers=1
  265.  
  266. ### Option: StartEscalators
  267. # Number of pre-forked instances of escalators.
  268. #
  269. # Mandatory: no
  270. # Range: 0-100
  271. # Default:
  272. # StartEscalators=1
  273.  
  274. ### Option: StartAlerters
  275. # Number of pre-forked instances of alerters.
  276. # Alerters send the notifications created by action operations.
  277. #
  278. # Mandatory: no
  279. # Range: 0-100
  280. # Default:
  281. # StartAlerters=3
  282.  
  283. ### Option: JavaGateway
  284. # IP address (or hostname) of Zabbix Java gateway.
  285. # Only required if Java pollers are started.
  286. #
  287. # Mandatory: no
  288. # Default:
  289. # JavaGateway=
  290.  
  291. ### Option: JavaGatewayPort
  292. # Port that Zabbix Java gateway listens on.
  293. #
  294. # Mandatory: no
  295. # Range: 1024-32767
  296. # Default:
  297. # JavaGatewayPort=10052
  298.  
  299. ### Option: StartJavaPollers
  300. # Number of pre-forked instances of Java pollers.
  301. #
  302. # Mandatory: no
  303. # Range: 0-1000
  304. # Default:
  305. # StartJavaPollers=0
  306.  
  307. ### Option: StartVMwareCollectors
  308. # Number of pre-forked vmware collector instances.
  309. #
  310. # Mandatory: no
  311. # Range: 0-250
  312. # Default:
  313. # StartVMwareCollectors=0
  314.  
  315. ### Option: VMwareFrequency
  316. # How often Zabbix will connect to VMware service to obtain a new data.
  317. #
  318. # Mandatory: no
  319. # Range: 10-86400
  320. # Default:
  321. # VMwareFrequency=60
  322.  
  323. ### Option: VMwarePerfFrequency
  324. # How often Zabbix will connect to VMware service to obtain performance data.
  325. #
  326. # Mandatory: no
  327. # Range: 10-86400
  328. # Default:
  329. # VMwarePerfFrequency=60
  330.  
  331. ### Option: VMwareCacheSize
  332. # Size of VMware cache, in bytes.
  333. # Shared memory size for storing VMware data.
  334. # Only used if VMware collectors are started.
  335. #
  336. # Mandatory: no
  337. # Range: 256K-2G
  338. # Default:
  339. # VMwareCacheSize=8M
  340.  
  341. ### Option: VMwareTimeout
  342. # Specifies how many seconds vmware collector waits for response from VMware service.
  343. #
  344. # Mandatory: no
  345. # Range: 1-300
  346. # Default:
  347. # VMwareTimeout=10
  348.  
  349. ### Option: SNMPTrapperFile
  350. # Temporary file used for passing data from SNMP trap daemon to the server.
  351. # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
  352. #
  353. # Mandatory: no
  354. # Default:
  355. # SNMPTrapperFile=/tmp/zabbix_traps.tmp
  356.  
  357. SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
  358.  
  359. ### Option: StartSNMPTrapper
  360. # If 1, SNMP trapper process is started.
  361. #
  362. # Mandatory: no
  363. # Range: 0-1
  364. # Default:
  365. # StartSNMPTrapper=0
  366.  
  367. ### Option: ListenIP
  368. # List of comma delimited IP addresses that the trapper should listen on.
  369. # Trapper will listen on all network interfaces if this parameter is missing.
  370. #
  371. # Mandatory: no
  372. # Default:
  373. # ListenIP=0.0.0.0
  374.  
  375. # ListenIP=127.0.0.1
  376.  
  377. ### Option: HousekeepingFrequency
  378. # How often Zabbix will perform housekeeping procedure (in hours).
  379. # Housekeeping is removing outdated information from the database.
  380. # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
  381. # hours of outdated information are deleted in one housekeeping cycle, for each item.
  382. # To lower load on server startup housekeeping is postponed for 30 minutes after server start.
  383. # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
  384. # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
  385. # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
  386. #
  387. # Mandatory: no
  388. # Range: 0-24
  389. # Default:
  390. # HousekeepingFrequency=1
  391.  
  392. ### Option: MaxHousekeeperDelete
  393. # The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
  394. # [housekeeperid], [tablename], [field], [value].
  395. # No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
  396. # will be deleted per one task in one housekeeping cycle.
  397. # If set to 0 then no limit is used at all. In this case you must know what you are doing!
  398. #
  399. # Mandatory: no
  400. # Range: 0-1000000
  401. # Default:
  402. # MaxHousekeeperDelete=5000
  403.  
  404. ### Option: CacheSize
  405. # Size of configuration cache, in bytes.
  406. # Shared memory size for storing host, item and trigger data.
  407. #
  408. # Mandatory: no
  409. # Range: 128K-8G
  410. # Default:
  411. CacheSize=2048M
  412.  
  413. ### Option: CacheUpdateFrequency
  414. # How often Zabbix will perform update of configuration cache, in seconds.
  415. #
  416. # Mandatory: no
  417. # Range: 1-3600
  418. # Default:
  419. # CacheUpdateFrequency=60
  420.  
  421. ### Option: StartDBSyncers
  422. # Number of pre-forked instances of DB Syncers.
  423. #
  424. # Mandatory: no
  425. # Range: 1-100
  426. # Default:
  427. # StartDBSyncers=4
  428.  
  429. ### Option: HistoryCacheSize
  430. # Size of history cache, in bytes.
  431. # Shared memory size for storing history data.
  432. #
  433. # Mandatory: no
  434. # Range: 128K-2G
  435. # Default:
  436. # HistoryCacheSize=16M
  437.  
  438. ### Option: HistoryIndexCacheSize
  439. # Size of history index cache, in bytes.
  440. # Shared memory size for indexing history cache.
  441. #
  442. # Mandatory: no
  443. # Range: 128K-2G
  444. # Default:
  445. # HistoryIndexCacheSize=4M
  446.  
  447. ### Option: TrendCacheSize
  448. # Size of trend cache, in bytes.
  449. # Shared memory size for storing trends data.
  450. #
  451. # Mandatory: no
  452. # Range: 128K-2G
  453. # Default:
  454. # TrendCacheSize=4M
  455.  
  456. ### Option: ValueCacheSize
  457. # Size of history value cache, in bytes.
  458. # Shared memory size for caching item history data requests.
  459. # Setting to 0 disables value cache.
  460. #
  461. # Mandatory: no
  462. # Range: 0,128K-64G
  463. # Default:
  464. # ValueCacheSize=8M
  465.  
  466. ### Option: Timeout
  467. # Specifies how long we wait for agent, SNMP device or external check (in seconds).
  468. #
  469. # Mandatory: no
  470. # Range: 1-30
  471. # Default:
  472. # Timeout=3
  473.  
  474. Timeout=4
  475.  
  476. ### Option: TrapperTimeout
  477. # Specifies how many seconds trapper may spend processing new data.
  478. #
  479. # Mandatory: no
  480. # Range: 1-300
  481. # Default:
  482. # TrapperTimeout=300
  483.  
  484. ### Option: UnreachablePeriod
  485. # After how many seconds of unreachability treat a host as unavailable.
  486. #
  487. # Mandatory: no
  488. # Range: 1-3600
  489. # Default:
  490. # UnreachablePeriod=45
  491.  
  492. ### Option: UnavailableDelay
  493. # How often host is checked for availability during the unavailability period, in seconds.
  494. #
  495. # Mandatory: no
  496. # Range: 1-3600
  497. # Default:
  498. # UnavailableDelay=60
  499.  
  500. ### Option: UnreachableDelay
  501. # How often host is checked for availability during the unreachability period, in seconds.
  502. #
  503. # Mandatory: no
  504. # Range: 1-3600
  505. # Default:
  506. # UnreachableDelay=15
  507.  
  508. ### Option: AlertScriptsPath
  509. # Full path to location of custom alert scripts.
  510. # Default depends on compilation options.
  511. # To see the default path run command "zabbix_server --help".
  512. #
  513. # Mandatory: no
  514. # Default:
  515. # AlertScriptsPath=${datadir}/zabbix/alertscripts
  516.  
  517. AlertScriptsPath=/usr/lib/zabbix/alertscripts
  518.  
  519. ### Option: ExternalScripts
  520. # Full path to location of external scripts.
  521. # Default depends on compilation options.
  522. # To see the default path run command "zabbix_server --help".
  523. #
  524. # Mandatory: no
  525. # Default:
  526. # ExternalScripts=${datadir}/zabbix/externalscripts
  527.  
  528. ExternalScripts=/usr/lib/zabbix/externalscripts
  529.  
  530. ### Option: FpingLocation
  531. # Location of fping.
  532. # Make sure that fping binary has root ownership and SUID flag set.
  533. #
  534. # Mandatory: no
  535. # Default:
  536. # FpingLocation=/usr/sbin/fping
  537.  
  538. FpingLocation=/usr/bin/fping
  539.  
  540. ### Option: Fping6Location
  541. # Location of fping6.
  542. # Make sure that fping6 binary has root ownership and SUID flag set.
  543. # Make empty if your fping utility is capable to process IPv6 addresses.
  544. #
  545. # Mandatory: no
  546. # Default:
  547. # Fping6Location=/usr/sbin/fping6
  548.  
  549. Fping6Location=/usr/bin/fping6
  550.  
  551. ### Option: SSHKeyLocation
  552. # Location of public and private keys for SSH checks and actions.
  553. #
  554. # Mandatory: no
  555. # Default:
  556. # SSHKeyLocation=
  557.  
  558. ### Option: LogSlowQueries
  559. # How long a database query may take before being logged (in milliseconds).
  560. # Only works if DebugLevel set to 3, 4 or 5.
  561. # 0 - don't log slow queries.
  562. #
  563. # Mandatory: no
  564. # Range: 1-3600000
  565. # Default:
  566. # LogSlowQueries=0
  567.  
  568. LogSlowQueries=3000
  569.  
  570. ### Option: TmpDir
  571. # Temporary directory.
  572. #
  573. # Mandatory: no
  574. # Default:
  575. # TmpDir=/tmp
  576.  
  577. ### Option: StartProxyPollers
  578. # Number of pre-forked instances of pollers for passive proxies.
  579. #
  580. # Mandatory: no
  581. # Range: 0-250
  582. # Default:
  583. StartProxyPollers=20
  584.  
  585. ### Option: ProxyConfigFrequency
  586. # How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
  587. # This parameter is used only for proxies in the passive mode.
  588. #
  589. # Mandatory: no
  590. # Range: 1-3600*24*7
  591. # Default:
  592. # ProxyConfigFrequency=3600
  593.  
  594. ### Option: ProxyDataFrequency
  595. # How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
  596. # This parameter is used only for proxies in the passive mode.
  597. #
  598. # Mandatory: no
  599. # Range: 1-3600
  600. # Default:
  601. # ProxyDataFrequency=1
  602.  
  603. ### Option: AllowRoot
  604. # Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
  605. # will try to switch to the user specified by the User configuration option instead.
  606. # Has no effect if started under a regular user.
  607. # 0 - do not allow
  608. # 1 - allow
  609. #
  610. # Mandatory: no
  611. # Default:
  612. # AllowRoot=0
  613.  
  614. ### Option: User
  615. # Drop privileges to a specific, existing user on the system.
  616. # Only has effect if run as 'root' and AllowRoot is disabled.
  617. #
  618. # Mandatory: no
  619. # Default:
  620. # User=zabbix
  621.  
  622. ### Option: Include
  623. # You may include individual files or all files in a directory in the configuration file.
  624. # Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
  625. #
  626. # Mandatory: no
  627. # Default:
  628. # Include=
  629.  
  630. # Include=/usr/local/etc/zabbix_server.general.conf
  631. # Include=/usr/local/etc/zabbix_server.conf.d/
  632. # Include=/usr/local/etc/zabbix_server.conf.d/*.conf
  633.  
  634. ### Option: SSLCertLocation
  635. # Location of SSL client certificates.
  636. # This parameter is used only in web monitoring.
  637. # Default depends on compilation options.
  638. # To see the default path run command "zabbix_server --help".
  639. #
  640. # Mandatory: no
  641. # Default:
  642. # SSLCertLocation=${datadir}/zabbix/ssl/certs
  643.  
  644. ### Option: SSLKeyLocation
  645. # Location of private keys for SSL client certificates.
  646. # This parameter is used only in web monitoring.
  647. # Default depends on compilation options.
  648. # To see the default path run command "zabbix_server --help".
  649. #
  650. # Mandatory: no
  651. # Default:
  652. # SSLKeyLocation=${datadir}/zabbix/ssl/keys
  653.  
  654. ### Option: SSLCALocation
  655. # Override the location of certificate authority (CA) files for SSL server certificate verification.
  656. # If not set, system-wide directory will be used.
  657. # This parameter is used only in web monitoring and SMTP authentication.
  658. #
  659. # Mandatory: no
  660. # Default:
  661. # SSLCALocation=
  662.  
  663. ####### LOADABLE MODULES #######
  664.  
  665. ### Option: LoadModulePath
  666. # Full path to location of server modules.
  667. # Default depends on compilation options.
  668. # To see the default path run command "zabbix_server --help".
  669. #
  670. # Mandatory: no
  671. # Default:
  672. # LoadModulePath=${libdir}/modules
  673.  
  674. ### Option: LoadModule
  675. # Module to load at server startup. Modules are used to extend functionality of the server.
  676. # Format: LoadModule=<module.so>
  677. # The modules must be located in directory specified by LoadModulePath.
  678. # It is allowed to include multiple LoadModule parameters.
  679. #
  680. # Mandatory: no
  681. # Default:
  682. # LoadModule=
  683.  
  684. ####### TLS-RELATED PARAMETERS #######
  685.  
  686. ### Option: TLSCAFile
  687. # Full pathname of a file containing the top-level CA(s) certificates for
  688. # peer certificate verification.
  689. #
  690. # Mandatory: no
  691. # Default:
  692. # TLSCAFile=
  693.  
  694. ### Option: TLSCRLFile
  695. # Full pathname of a file containing revoked certificates.
  696. #
  697. # Mandatory: no
  698. # Default:
  699. # TLSCRLFile=
  700.  
  701. ### Option: TLSCertFile
  702. # Full pathname of a file containing the server certificate or certificate chain.
  703. #
  704. # Mandatory: no
  705. # Default:
  706. # TLSCertFile=
  707.  
  708. ### Option: TLSKeyFile
  709. # Full pathname of a file containing the server private key.
  710. #
  711. # Mandatory: no
  712. # Default:
  713. # TLSKeyFile=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement