Advertisement
Guest User

Untitled

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