Advertisement
Guest User

Untitled

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