Advertisement
Guest User

Untitled

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