Advertisement
Guest User

Untitled

a guest
May 26th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 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_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=3
  62.  
  63. ### Option: PidFile
  64. # Name of PID file.
  65. #
  66. # Mandatory: no
  67. # Default:
  68. # PidFile=/tmp/zabbix_server.pid
  69.  
  70. PidFile=/var/run/zabbix_server.pid
  71.  
  72. ### Option: DBHost
  73. # Database host name.
  74. # If set to localhost, socket is used for MySQL.
  75. #
  76. # Mandatory: no
  77. # Default:
  78. # DBHost=localhost
  79.  
  80. DBHost=127.0.0.1
  81.  
  82. ### Option: DBName
  83. # Database name.
  84. # For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
  85. #
  86. # Mandatory: yes
  87. # Default:
  88. # DBName=
  89.  
  90. DBName=zabbix
  91.  
  92. ### Option: DBSchema
  93. # Schema name. Used for IBM DB2.
  94. #
  95. # Mandatory: no
  96. # Default:
  97. # DBSchema=
  98.  
  99. ### Option: DBUser
  100. # Database user. Ignored for SQLite.
  101. #
  102. # Mandatory: no
  103. # Default:
  104. # DBUser=
  105.  
  106. DBUser=postgres
  107.  
  108. ### Option: DBPassword
  109. # Database password. Ignored for SQLite.
  110. # Comment this line if no password is used.
  111. #
  112. # Mandatory: no
  113. # Default:
  114. # DBPassword=
  115.  
  116. ### Option: DBSocket
  117. # Path to MySQL socket.
  118. #
  119. # Mandatory: no
  120. # Default:
  121. # DBSocket=/tmp/mysql.sock
  122.  
  123. ### Option: DBPort
  124. # Database port when not using local socket. Ignored for SQLite.
  125. #
  126. # Mandatory: no
  127. # Range: 1024-65535
  128. # Default (for MySQL):
  129. # DBPort=3306
  130.  
  131. ############ ADVANCED PARAMETERS ################
  132.  
  133. ### Option: StartPollers
  134. # Number of pre-forked instances of pollers.
  135. #
  136. # Mandatory: no
  137. # Range: 0-255
  138. # Default:
  139. # StartPollers=5
  140.  
  141. ### Option: StartIPMIPollers
  142. # Number of pre-forked instances of IPMI pollers.
  143. #
  144. # Mandatory: no
  145. # Range: 0-255
  146. # Default:
  147. # StartIPMIPollers=0
  148.  
  149. ### Option: StartPollersUnreachable
  150. # Number of pre-forked instances of pollers for unreachable hosts (including IPMI).
  151. #
  152. # Mandatory: no
  153. # Range: 0-255
  154. # Default:
  155. # StartPollersUnreachable=1
  156.  
  157. ### Option: StartTrappers
  158. # Number of pre-forked instances of trappers
  159. #
  160. # Mandatory: no
  161. # Range: 0-255
  162. # Default:
  163. # StartTrappers=5
  164.  
  165. ### Option: StartPingers
  166. # Number of pre-forked instances of ICMP pingers.
  167. #
  168. # Mandatory: no
  169. # Range: 0-255
  170. # Default:
  171. # StartPingers=1
  172.  
  173. StartPingers=10
  174.  
  175. ### Option: StartDiscoverers
  176. # Number of pre-forked instances of discoverers.
  177. #
  178. # Mandatory: no
  179. # Range: 0-255
  180. # Default:
  181. # StartDiscoverers=1
  182.  
  183. ### Option: StartHTTPPollers
  184. # Number of pre-forked instances of HTTP pollers.
  185. #
  186. # Mandatory: no
  187. # Range: 0-255
  188. # Default:
  189. # StartHTTPPollers=1
  190.  
  191. ### Option: ListenIP
  192. # List of comma delimited IP addresses that the trapper should listen on.
  193. # Trapper will listen on all network interfaces if this parameter is missing.
  194. #
  195. # Mandatory: no
  196. # Default:
  197. # ListenIP=0.0.0.0
  198.  
  199. # ListenIP=172.16.0.3
  200.  
  201. ### Option: HousekeepingFrequency
  202. # How often Zabbix will perform housekeeping procedure (in hours).
  203. # Housekeeping is removing unnecessary information from history, alert, and alarms tables.
  204. #
  205. # Mandatory: no
  206. # Range: 1-24
  207. # Default:
  208. # HousekeepingFrequency=1
  209. HousekeepingFrequency=24
  210.  
  211. ### Option: MaxHousekeeperDelete
  212. # The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
  213. # [housekeeperid], [tablename], [field], [value].
  214. # No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
  215. # will be deleted per one task in one housekeeping cycle.
  216. # SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
  217. # If set to 0 then no limit is used at all. In this case you must know what you are doing!
  218. #
  219. # Mandatory: no
  220. # Range: 0-1048576
  221. # Default:
  222. # MaxHousekeeperDelete=500
  223. MaxHousekeeperDelete=0
  224.  
  225. ### Option: DisableHousekeeping
  226. # If set to 1, disables housekeeping.
  227. #
  228. # Mandatory: no
  229. # Range: 0-1
  230. # Default:
  231. # DisableHousekeeping=0
  232. DisableHousekeeping=1
  233.  
  234. ### Option: SenderFrequency
  235. # How often Zabbix will try to send unsent alerts (in seconds).
  236. #
  237. # Mandatory: no
  238. # Range: 5-3600
  239. # Default:
  240. # SenderFrequency=30
  241.  
  242. ### Option: CacheSize
  243. # Size of configuration cache, in bytes.
  244. # Shared memory size for storing hosts and items data.
  245. #
  246. # Mandatory: no
  247. # Range: 128K-1G
  248. # Default:
  249. # CacheSize=8M
  250.  
  251. ### Option: CacheUpdateFrequency
  252. # How often Zabbix will perform update of configuration cache, in seconds.
  253. #
  254. # Mandatory: no
  255. # Range: 1-3600
  256. # Default:
  257. # CacheUpdateFrequency=60
  258.  
  259. ### Option: StartDBSyncers
  260. # Number of pre-forked instances of DB Syncers
  261. #
  262. # Mandatory: no
  263. # Range: 1-64
  264. # Default:
  265. # StartDBSyncers=4
  266.  
  267. ### Option: HistoryCacheSize
  268. # Size of history cache, in bytes.
  269. # Shared memory size for storing history data.
  270. #
  271. # Mandatory: no
  272. # Range: 128K-1G
  273. # Default:
  274. # HistoryCacheSize=8M
  275.  
  276. ### Option: TrendCacheSize
  277. # Size of trend cache, in bytes.
  278. # Shared memory size for storing trends data.
  279. #
  280. # Mandatory: no
  281. # Range: 128K-1G
  282. # Default:
  283. # TrendCacheSize=4M
  284.  
  285. ### Option: HistoryTextCacheSize
  286. # Size of text history cache, in bytes.
  287. # Shared memory size for storing character, text or log history data.
  288. #
  289. # Mandatory: no
  290. # Range: 128K-1G
  291. # Default:
  292. # HistoryTextCacheSize=16M
  293.  
  294. ### Option: NodeNoEvents
  295. # If set to '1' local events won't be sent to master node.
  296. # This won't impact ability of this node to propagate events from its child nodes.
  297. #
  298. # Mandatory: no
  299. # Range: 0-1
  300. # Default:
  301. # NodeNoEvents=0
  302.  
  303. ### Option: NodeNoHistory
  304. # If set to '1' local history won't be sent to master node.
  305. # This won't impact ability of this node to propagate history from its child nodes.
  306. #
  307. # Mandatory: no
  308. # Range: 0-1
  309. # Default:
  310. # NodeNoHistory=0
  311.  
  312. ### Option: Timeout
  313. # Specifies how long we wait for agent, SNMP device or external check (in seconds).
  314. #
  315. # Mandatory: no
  316. # Range: 1-30
  317. # Default:
  318. # Timeout=3
  319.  
  320. ### Option: TrapperTimeout
  321. # Specifies how many seconds trapper may spend processing new data.
  322. #
  323. # Mandatory: no
  324. # Range: 1-300
  325. # Default:
  326. # TrapperTimeout=300
  327.  
  328. ### Option: UnreachablePeriod
  329. # After how many seconds of unreachability treat a host as unavailable.
  330. #
  331. # Mandatory: no
  332. # Range: 1-3600
  333. # Default:
  334. # UnreachablePeriod=45
  335.  
  336. ### Option: UnavailableDelay
  337. # How often host is checked for availability during the unavailability period, in seconds.
  338. #
  339. # Mandatory: no
  340. # Range: 1-3600
  341. # Default:
  342. # UnavailableDelay=60
  343.  
  344. ### Option: UnreachableDelay
  345. # How often host is checked for availability during the unreachability period, in seconds.
  346. #
  347. # Mandatory: no
  348. # Range: 1-3600
  349. # Default:
  350. # UnreachableDelay=15
  351.  
  352. ### Option: AlertScriptsPath
  353. # Location of custom alert scripts
  354. #
  355. # Mandatory: no
  356. # Default:
  357. # AlertScriptsPath=/home/zabbix/bin/
  358.  
  359. AlertScriptsPath=/etc/zabbix/alerts
  360.  
  361. ### Option: ExternalScripts
  362. # Location of external scripts
  363. #
  364. # Mandatory: no
  365. # Default:
  366. # ExternalScripts=/etc/zabbix/externalscripts
  367.  
  368. ### Option: FpingLocation
  369. # Location of fping.
  370. # Make sure that fping binary has root ownership and SUID flag set.
  371. #
  372. # Mandatory: no
  373. # Default:
  374. # FpingLocation=/usr/sbin/fping
  375.  
  376. ### Option: Fping6Location
  377. # Location of fping6.
  378. # Make sure that fping6 binary has root ownership and SUID flag set.
  379. # Make empty if your fping utility is capable to process IPv6 addresses.
  380. #
  381. # Mandatory: no
  382. # Default:
  383. # Fping6Location=/usr/sbin/fping6
  384.  
  385. ### Option: SSHKeyLocation
  386. # Location of public keys for SSH checks
  387. #
  388. # Mandatory: no
  389. # Default:
  390. # SSHKeyLocation=
  391.  
  392. ### Option: TmpDir
  393. # Temporary directory.
  394. #
  395. # Mandatory: no
  396. # Default:
  397. # TmpDir=/tmp
  398.  
  399. ### Option: Include
  400. # You may include individual files or all files in a directory in the configuration file.
  401. #
  402. # Mandatory: no
  403. # Default:
  404. # Include=
  405.  
  406. # Include=/etc/zabbix/zabbix_server.general.conf
  407. # Include=/etc/zabbix/zabbix_server/
  408.  
  409. ### Option: StartProxyPollers
  410. # Number of pre-forked instances of pollers for passive proxies.
  411. #
  412. # Mandatory: no
  413. # Range: 0-255
  414. # Default:
  415. # StartProxyPollers=1
  416.  
  417. ### Option: ProxyConfigFrequency
  418. # How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
  419. # This parameter is used only for proxies in the passive mode.
  420. #
  421. # Mandatory: no
  422. # Range: 1-3600*24*7
  423. # Default:
  424. # ProxyConfigFrequency=3600
  425.  
  426. ### Option: ProxyDataFrequency
  427. # How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
  428. # This parameter is used only for proxies in the passive mode.
  429. #
  430. # Mandatory: no
  431. # Range: 1-3600
  432. # Default:
  433. # ProxyDataFrequency=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement