Advertisement
Guest User

Untitled

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