Guest User

zabbix_server.conf

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