设为首页 收藏本站
查看: 1392|回复: 0

[经验分享] Zabbix服务网页报错汇总

[复制链接]

尚未签到

发表于 2018-1-1 14:53:12 | 显示全部楼层 |阅读模式
1 # This is a configuration file for Zabbix server daemon  

2 # To get more information about Zabbix, visit http://www.zabbix.com  
  3 ############ GENERAL PARAMETERS #################
  
  4 ### Option: ListenPort
  
  5 #    Listen port for trapper.
  
  6 #
  
  7 # Mandatory: no
  
  8 # Range: 1024-32767
  
  9 # Default:
  
10 #说明:服务端监听端口用于接收二级代理或直连AGENT的采集数据
  
11 # ListenPort=10051
  
12 ### Option: SourceIP
  
13 #    Source IP address for outgoing connections.
  
14 #
  
15 # Mandatory: no
  
16 # Default:
  
17 #说明:服务端监听IP,建议指定
  
18 # SourceIP=
  
19 ### Option: LogType
  
20 #    Specifies where log messages are written to:
  
21 #        system  - syslog
  
22 #        file    - file specified with LogFile parameter
  
23 #        console - standard output
  
24 #
  
25 # Mandatory: no
  
26 # Default:
  
27 # LogType=file
  
28 ### Option: LogFile
  
29 #    Log file name for LogType 'file' parameter.
  
30 #
  
31 # Mandatory: no
  
32 # Default:
  
33 # LogFile=
  
34 #说明:zabbix服务端日志路径,视具体情况指定
  
35 LogFile=/tmp/zabbix_server.log
  
36 ### Option: LogFileSize

  
37 #    Maximum>  
38 #    0 - disable automatic log rotation.
  
39 #
  
40 # Mandatory: no
  
41 # Range: 0-1024
  
42 # Default:
  
43 #说明:日志达到多少M里就轮转;若此参数值为0时,则不轮转,日志将不断变大,建议设置成轮转
  
44 LogFileSize=50
  
45 ### Option: DebugLevel
  
46 #   Specifies debug level:
  
47 #   0 - basic information about starting and stopping of Zabbix processes
  
48 #   1 - critical information  灾难日志,日志量较少
  
49 #   2 - error information  错误级别,日志量大于CRITICAL级别
  
50 #   3 - warnings    告警级别,日志量大于ERROR级别
  
51 #   4 - for debugging (produces lots of information)调试级别,日志量大于WARNING
  
52 #   5 - extended debugging (produces even more information)
  
53 #
  
54 # Mandatory: no
  
55 # Range: 0-5
  
56 # Default:
  
57 #说明:日志级别0~4,单位时间内生成日志的量不断增大
  
58 DebugLevel=3
  
59 ### Option: PidFile
  
60 #    Name of PID file.
  
61 #
  
62 # Mandatory: no
  
63 # Default:
  
64 #说明:zabbix服务端程序PID路径
  
65 PidFile=/tmp/zabbix_server.pid
  
66 ### Option: DBHost
  
67 #    Database host name.
  
68 #    If set to localhost, socket is used for MySQL.
  
69 #    If set to empty string, socket is used for PostgreSQL.
  
70 #
  
71 # Mandatory: no
  
72 # Default:
  
73 #说明:指定数据库信息,对于mysql,若设置为localhost则mysql用SOCKET来连接(需配合参数 DBSocket 使用),否则用IP连接;若DHHOST值为空,则默认连接PostgreSQL
  
74 # DBHost=localhost
  
75 DBHost=
  
76 ### Option: DBName
  
77 #    Database name.
  
78 #    For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
  
79 #
  
80 # Mandatory: yes
  
81 # Default:
  
82 # DBName=
  
83 #说明:服务端连接数据库的库名
  
84 DBName=
  
85 ### Option: DBSchema
  
86 #    Schema name. Used for IBM DB2 and PostgreSQL.
  
87 #
  
88 # Mandatory: no
  
89 # Default:
  
90 #说明:专门用于 IBM DB2数据库的连接信息
  
91 # DBSchema=
  
92 ### Option: DBUser
  
93 #    Database user. Ignored for SQLite.
  
94 #
  
95 # Mandatory: no
  
96 # Default:
  
97 #说明:连接数据库的用户
  
98 # DBUser=
  
99 DBUser=
  
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 #说明:连接数据库的密码
  
107 DBPassword=
  
108 ### Option: DBSocket
  
109 #    Path to MySQL socket.
  
110 #
  
111 # Mandatory: no
  
112 # Default:
  
113 #说明:指定MYSQL的SOCK连接路径
  
114 DBSocket=/tmp/mysql.sock
  
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 #说明:指定连接数据库的端口,默认3306
  
122 DBPort=3306
  
123 ############ ADVANCED PARAMETERS ################
  
124 #高级参数
  
125 ### Option: StartPollers
  
126 #    Number of pre-forked instances of pollers.
  
127 #
  
128 # Mandatory: no
  
129 # Range: 0-1000
  
130 # Default:
  
131 #说明;初始化时,启动子进程数量,数量越多,则服务端吞吐能力越强,对系统资源消耗越大
  
132 StartPollers=300
  
133 ### Option: StartIPMIPollers
  
134 #    Number of pre-forked instances of IPMI pollers.
  
135 #
  
136 # Mandatory: no
  
137 # Range: 0-1000
  
138 # Default:
  
139 #
  
140 #说明:主要用于IPmi技术用于获取硬件状态场景。若无相关监控项,建议设置为0
  
141 # StartIPMIPollers=0
  
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 #说明:默认情况下,ZABBIX会启用指定进程用于探测某些不可达主机的(含IPMI场景);若使用场景中含有代理端,建议保持默认;若直接agent较多,可视具体情况调整
  
151 StartPollersUnreachable=50
  
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 #说明:用于设置诸如SNMP STRAPPER场景提交来的数据的接收进程数,若客户机SNMP TRAPPER技术较多,建议加大此参数值
  
162 StartTrappers=50
  
163 ### Option: StartPingers
  
164 #    Number of pre-forked instances of ICMP pingers.
  
165 #
  
166 # Mandatory: no
  
167 # Range: 0-1000
  
168 # Default:
  
169 #说明:用于设置启用icmp协议PING主机方式启动线程数量,若单台代理所管理机器超过500台,建议加大此数值
  
170 # StartPingers=10
  
171 ### Option: StartDiscoverers
  
172 #    Number of pre-forked instances of discoverers.
  
173 #
  
174 # Mandatory: no
  
175 # Range: 0-250
  
176 # Default:
  
177 #说明:用于设置自动发现主机的线程数量,若单台代理所管理机器超过500台,可以考虑加大此数值(仅适用于直接AGENT场景)
  
178 StartDiscoverers=15
  
179 ### Option: StartHTTPPollers
  
180 #    Number of pre-forked instances of HTTP pollers.
  
181 #
  
182 # Mandatory: no
  
183 # Range: 0-1000
  
184 # Default:
  
185 #说明:用于设置WEB拨测监控线程数,可视具体情况增加或减少此数值。
  
186 # StartHTTPPollers=1
  
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 #说明:各实例计时器数量,主要用于触发器,标有维护标识的主机,但只第一个计时器用于计算维护标识主机。
  
196 # StartTimers=1
  
197 ### Option: StartEscalators
  
198 #    Number of pre-forked instances of escalators.
  
199 #
  
200 # Mandatory: no
  
201 # Range: 0-100
  
202 # Default:
  
203 #说明:用于处理动作中的步骤的进程,zabbix动作较多时建议调大。
  
204 StartEscalators=30
  
205 ### Option: JavaGateway
  
206 #    IP address (or hostname) of Zabbix Java gateway.
  
207 #    Only required if Java pollers are started.
  
208 #
  
209 # Mandatory: no
  
210 # Default:
  
211 #说明:JAVAGATEWAY 场景下使用
  
212 JavaGateway=10.238.0.180
  
213 ### Option: JavaGatewayPort
  
214 #    Port that Zabbix Java gateway listens on.
  
215 #
  
216 # Mandatory: no
  
217 # Range: 1024-32767
  
218 # Default:
  
219 #说明:JAVAGATEWAY 场景下使用
  
220 JavaGatewayPort=10052
  
221 ### Option: StartJavaPollers
  
222 #    Number of pre-forked instances of Java pollers.
  
223 #
  
224 # Mandatory: no
  
225 # Range: 0-1000
  
226 # Default:
  
227 #说明:JAVAGATEWAY 场景下使用
  
228 StartJavaPollers=30
  
229 ### Option: StartVMwareCollectors
  
230 #    Number of pre-forked vmware collector instances.
  
231 #
  
232 # Mandatory: no
  
233 # Range: 0-250
  
234 # Default:
  
235 #说明:用于设置监控VMWARE Esxi主机实例时使用,若为0则不启用,若要监控ESXI主机,此值最少为1 ;视监控ESXI数量设置对应数值
  
236 # StartVMwareCollectors=0
  
237 ### Option: VMwareFrequency
  
238 #    How often Zabbix will connect to VMware service to obtain a new data.
  
239 #
  
240 # Mandatory: no
  
241 # Range: 10-86400
  
242 # Default:
  
243 #说明:代理端访问 VMWARE service的频率,单位:秒
  
244 # VMwareFrequency=60
  
245 ### Option: VMwarePerfFrequency
  
246 #    How often Zabbix will connect to VMware service to obtain performance data.
  
247 #
  
248 # Mandatory: no
  
249 # Range: 10-86400
  
250 # Default:
  
251 # VMwarePerfFrequency=60
  
252 ### Option: VMwareCacheSize

  
253 #   >
  
254 #    Shared memory>  
255 #    Only used if VMware collectors are started.
  
256 #
  
257 # Mandatory: no
  
258 # Range: 256K-2G
  
259 # Default:
  
260 #说明:划出多少共享内存用于存储VMWARE数据
  
261 VMwareCacheSize=256M
  
262 ### Option: VMwareTimeout
  
263 #    Specifies how many seconds vmware collector waits for response from VMware service.
  
264 #
  
265 # Mandatory: no
  
266 # Range: 1-300
  
267 # Default:
  
268 #说明:等待VMWare返回数据的最长时间
  
269 VMwareTimeout=10
  
270 ### Option: SNMPTrapperFile
  
271 #    Temporary file used for passing data from SNMP trap daemon to the server.
  
272 #    Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
  
273 #
  
274 # Mandatory: no
  
275 # Default:
  
276 #说明:指定SNMP TRAPPER 时的临时文件,用于代理端启用SNMP TRAPPER功能时使用
  
277 # SNMPTrapperFile=/tmp/zabbix_traps.tmp
  
278 ### Option: StartSNMPTrapper
  
279 #    If 1, SNMP trapper process is started.
  
280 #
  
281 # Mandatory: no
  
282 # Range: 0-1
  
283 # Default:
  
284 #说明:是否启用 snmptrapper功能 ,默认不启用=0,启用=1(配合参数SNMPTrapperFile使用)
  
285 # StartSNMPTrapper=0
  
286 ### Option: ListenIP
  
287 #    List of comma delimited IP addresses that the trapper should listen on.
  
288 #    Trapper will listen on all network interfaces if this parameter is missing.
  
289 #
  
290 # Mandatory: no
  
291 # Default:
  
292 #说明:启用SNMPTRAPPER里 ,接收端监听的IP,此参数与StartSNMPTrapper,SNMPTrapperFile 联合使用
  
293 # ListenIP=0.0.0.0
  
294 ListenIP=10.238.0.180
  
295 ### Option: HousekeepingFrequency
  
296 #    How often Zabbix will perform housekeeping procedure (in hours).
  
297 #    Housekeeping is removing outdated information from the database.
  
298 #    To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
  
299 #    hours of outdated information are deleted in one housekeeping cycle, for each item.
  
300 #    To lower load on server startup housekeeping is postponed for 30 minutes after server start.
  
301 #    With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
  
302 #    In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
  
303 #    period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
  
304 #
  
305 # Mandatory: no
  
306 # Range: 0-24
  
307 # Default:
  
308 #说明:多少小时清理一次代理端数据库的 history, alert, and alarms,以保持代理端数据库轻便,建议保持默认
  
309 HousekeepingFrequency=24
  
310 ### Option: MaxHousekeeperDelete
  
311 #    The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
  
312 #    [housekeeperid], [tablename], [field], [value].
  
313 #    No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
  
314 #    will be deleted per one task in one housekeeping cycle.
  
315 #    SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
  
316 #    If set to 0 then no limit is used at all. In this case you must know what you are doing!
  
317 #
  
318 # Mandatory: no
  
319 # Range: 0-1000000
  
320 # Default:
  
321 #说明:每个HouseKeeper任务删除的最大记录数,1.8.2开始支持
  
322 MaxHousekeeperDelete=1000000
  
323 ### Option: SenderFrequency
  
324 #    How often Zabbix will try to send unsent alerts (in seconds).
  
325 #
  
326 # Mandatory: no
  
327 # Range: 5-3600
  
328 # Default:
  
329 #说明:多少秒后重试发送失败的报警信息
  
330 SenderFrequency=30
  
331 ### Option: CacheSize

  
332 #   >
  
333 #    Shared memory>  
334 #
  
335 # Mandatory: no
  
336 # Range: 128K-8G
  
337 # Default:
  
338 #说明;zabbix初始化时占用多少系统共享内存用于存储配置信息,HOST,ITEM,TRIGGER数据,视监控主机数量和监控项调整,建议调整到32M或者更大
  
339 CacheSize=8G
  
340 ### Option: CacheUpdateFrequency
  
341 #    How often Zabbix will perform update of configuration cache, in seconds.
  
342 #
  
343 # Mandatory: no
  
344 # Range: 1-3600
  
345 # Default:
  
346 #说明:zabbix更新操作系统CACHE频率,若管理页面操作不频繁,可以考虑加大参数值
  
347 CacheUpdateFrequency=300
  
348 ### Option: StartDBSyncers
  
349 #    Number of pre-forked instances of DB Syncers.
  
350 #
  
351 # Mandatory: no
  
352 # Range: 1-100
  
353 # Default:
  
354 #说明:将采集数据从CACHE同步到数据库线程数量,视数据库服务器I/O繁忙情况,和数据库写能力调整。数值越大,写能力越强。对数据库服务器I/O压力越大。
  
355 StartDBSyncers=20
  
356 ### Option: HistoryCacheSize

  
357 #   >
  
358 #    Shared memory>  
359 #
  
360 # Mandatory: no
  
361 # Range: 128K-2G
  
362 # Default:
  
363 #说明:用于设置划分多少系统共享内存用于存储采集的历史数据,此数值越大,数据库读压力越小
  
364 HistoryCacheSize=2048M
  
365 ### Option: HistoryIndexCacheSize

  
366 #   >
  
367 #    Shared memory>  
368 #
  
369 # Mandatory: no
  
370 # Range: 128K-2G
  
371 # Default:
  
372 #说明:3.0.0开始支持,历史索引大小,一个监控项需要100bytes来存储
  
373 HistoryIndexCacheSize=2048M
  
374 ### Option: TrendCacheSize

  
375 #   >
  
376 #    Shared memory>  
377 #
  
378 # Mandatory: no
  
379 # Range: 128K-2G
  
380 # Default:
  
381 #说明:用于设置划分多少系统共享内存用于存储计算出来的趋势数据,此参数值从一定程度上可影响数据库读压力
  
382 TrendCacheSize=512M
  
383 ### Option: ValueCacheSize

  
384 #   >
  
385 #    Shared memory>  
386 #    Setting to 0 disables value cache.
  
387 #
  
388 # Mandatory: no
  
389 # Range: 0,128K-64G
  
390 # Default:
  
391 #说明:划出系统多少共享内存用于已请求的存储监控项信息,若监控项较多,建议加大此数值
  
392 ValueCacheSize=16G
  
393 ### Option: Timeout
  
394 #    Specifies how long we wait for agent, SNMP device or external check (in seconds).
  
395 #
  
396 # Mandatory: no
  
397 # Range: 1-30
  
398 # Default:
  
399 # Timeout=3
  
400 #说明:与AGNET\SNMP设备和其它外部设备通信超时设置,单位为秒;若采集数据不完整或网络繁忙,或从管理页面发现客户端状态变化频繁,可以考虑加大此数值。注意若此数值加大,应该考虑参数 StartPollers 是否有相应加大的必要。
  
401 Timeout=10
  
402 ### Option: TrapperTimeout
  
403 #    Specifies how many seconds trapper may spend processing new data.
  
404 #
  
405 # Mandatory: no
  
406 # Range: 1-300
  
407 # Default:
  
408 #说明:启用 trapper功能,用于进程等待超时设置。根据需要调整
  
409 TrapperTimeout=50
  
410 ### Option: UnreachablePeriod
  
411 #    After how many seconds of unreachability treat a host as unavailable.
  
412 #
  
413 # Mandatory: no
  
414 # Range: 1-3600
  
415 # Default:
  
416 #说明:当AGNET端处于不可用状态下,间隔多少秒后,尝试重新连接。建议根据具体情况设置。注意,若此数值过小,右agent端业务系统繁忙时,有可能造成报警信息误报
  
417 # UnreachablePeriod=45
  
418 ### Option: UnavailableDelay
  
419 #    How often host is checked for availability during the unavailability period, in seconds.
  
420 #
  
421 # Mandatory: no
  
422 # Range: 1-3600
  
423 # Default:
  
424 #说明:当AGENT端处于可用状态下,间隔多少秒后,进行状态检查。若出现可正常采集数据,但管理页面AGENT状态不正常;若在网络,端口等均通畅情况下,AGENT状态仍不正常,可以考虑加大此数值
  
425 # UnavailableDelay=60
  
426 ### Option: UnreachableDelay
  
427 #    How often host is checked for availability during the unreachability period, in seconds.
  
428 #
  
429 # Mandatory: no
  
430 # Range: 1-3600
  
431 # Default:
  
432 #说明:当agent端处于不可达状态下,延迟多少秒后,进行重新尝试,建议保持默认,在AGENT接入调试阶段,可考虑减少此数值
  
433 # UnreachableDelay=15
  
434 ### Option: AlertScriptsPath
  
435 #    Full path to location of custom alert scripts.
  
436 #    Default depends on compilation options.
  
437 #
  
438 # Mandatory: no
  
439 # Default:
  
440 #说明:监控报警脚本路径,非研发人员不建议修改此参数值
  
441 # AlertScriptsPath=${datadir}/zabbix/alertscripts
  
442 AlertScriptsPath=/home/zabbix/bin
  
443 ### Option: ExternalScripts
  
444 #    Full path to location of external scripts.
  
445 #    Default depends on compilation options.
  
446 #
  
447 # Mandatory: no
  
448 # Default:
  
449 #说明:自定义脚本存储路径,非研发人员不建议修改此参数值
  
450 # ExternalScripts=${datadir}/zabbix/externalscripts
  
451 ### Option: FpingLocation
  
452 #    Location of fping.
  
453 #    Make sure that fping binary has root ownership and SUID flag set.
  
454 #
  
455 # Mandatory: no
  
456 # Default:
  
457 #说明:IPv4 FPING命令路径,仅ROOT可用。注意使用此命令时,应该确认此命令是否存在
  
458 FpingLocation=/usr/sbin/fping
  
459 ### Option: Fping6Location
  
460 #    Location of fping6.
  
461 #    Make sure that fping6 binary has root ownership and SUID flag set.
  
462 #    Make empty if your fping utility is capable to process IPv6 addresses.
  
463 #
  
464 # Mandatory: no
  
465 # Default:
  
466 #说明:IPv6 FPING命令路径,仅ROOT可用。注意使用此命令时,应该确认此命令是否存在
  
467 # Fping6Location=/usr/sbin/fping6
  
468 ### Option: SSHKeyLocation
  
469 #    Location of public and private keys for SSH checks and actions.
  
470 #
  
471 # Mandatory: no
  
472 # Default:
  
473 #说明:在服务端需要SSH到AGENT端且采用用KEY验证方式时使用。非研发人员,不建议修改或设置
  
474 # SSHKeyLocation=
  
475 ### Option: LogSlowQueries
  
476 #    How long a database query may take before being logged (in milliseconds).
  
477 #    Only works if DebugLevel set to 3, 4 or 5.
  
478 #    0 - don't log slow queries.
  
479 #
  
480 # Mandatory: no
  
481 # Range: 1-3600000
  
482 # Default:
  
483 #说明:用于服务端数据库慢查询功能,单位是毫秒;1毫秒=0.001秒,若有服务端数据库监控慢查询的需求,可以视具体情况调整此数。
  
484 # LogSlowQueries=0
  
485 LogSlowQueries=3000
  
486 ### Option: TmpDir
  
487 #    Temporary directory.
  
488 #
  
489 # Mandatory: no
  
490 # Default:
  
491 #说明:zabbix服务端工作的临时目录
  
492 # TmpDir=/tmp
  
493 ### Option: StartProxyPollers
  
494 #    Number of pre-forked instances of pollers for passive proxies.
  
495 #
  
496 # Mandatory: no
  
497 # Range: 0-250
  
498 # Default:
  
499 #说明:启用多少子进程与代理端通信,若代理端较多可考虑加大此数值
  
500 # StartProxyPollers=1
  
501 ### Option: ProxyConfigFrequency
  
502 #    How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
  
503 #    This parameter is used only for proxies in the passive mode.
  
504 #
  
505 # Mandatory: no
  
506 # Range: 1-3600*24*7
  
507 # Default:
  
508 #说明:zabbix服务端将配置文件数据同步到代理端的频率,仅适用于代理端为被动模式情况下
  
509 # ProxyConfigFrequency=3600
  
510 ### Option: ProxyDataFrequency
  
511 #    How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
  
512 #    This parameter is used only for proxies in the passive mode.
  
513 #
  
514 # Mandatory: no
  
515 # Range: 1-3600
  
516 # Default:
  
517 #说明:zabbix服务端请求代理端采集的数据的频率,仅适用代理端为被动模式情况下
  
518 # ProxyDataFrequency=1
  
519 ### Option: AllowRoot
  
520 #    Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
  
521 #    will try to switch to the user specified by the User configuration option instead.
  
522 #    Has no effect if started under a regular user.
  
523 #   0 - do not allow 不允许
  
524 #   1 - allow 允许
  
525 #
  
526 # Mandatory: no
  
527 # Default:
  
528 #说明:是否允许以root身份运行服务端
  
529 AllowRoot=1
  
530 ### Option: User
  
531 #    Drop privileges to a specific, existing user on the system.
  
532 #    Only has effect if run as 'root' and AllowRoot is disabled.
  
533 #
  
534 # Mandatory: no
  
535 # Default:
  
536 #说明:非root运行的账号
  
537 # User=zabbix
  
538 ### Option: Include
  
539 #    You may include individual files or all files in a directory in the configuration file.
  
540 #    Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
  
541 #
  
542 # Mandatory: no
  
543 # Default:
  
544 #说明:在一些情况下,软件的参数配置文件很长,为了方便管理,将配置文件切割成N个配置文件,但为了主配置参数文件的简洁,便会启用INCLUDE参数,以方便程序读取指定目录下的所有配置文件
  
545 # Include=
  
546 # Include=/usr/local/etc/zabbix_server.general.conf
  
547 # Include=/usr/local/etc/zabbix_server.conf.d/
  
548 # Include=/usr/local/etc/zabbix_server.conf.d/*.conf
  
549 ### Option: SSLCertLocation
  
550 #    Location of SSL client certificates.
  
551 #    This parameter is used only in web monitoring.
  
552 #
  
553 # Mandatory: no
  
554 # Default:
  
555 #说明:SSL客户端认证文件,2.4开始支持
  
556 # SSLCertLocation=${datadir}/zabbix/ssl/certs
  
557 ### Option: SSLKeyLocation
  
558 #    Location of private keys for SSL client certificates.
  
559 #    This parameter is used only in web monitoring.
  
560 #
  
561 # Mandatory: no
  
562 # Default:
  
563 #说明:SSL私钥文件目录,2.4开始支持
  
564 # SSLKeyLocation=${datadir}/zabbix/ssl/keys
  
565 ### Option: SSLCALocation
  
566 #    Override the location of certificate authority (CA) files for SSL server certificate verification.
  
567 #    If not set, system-wide directory will be used.
  
568 #    This parameter is used only in web monitoring and SMTP authentication.
  
569 #
  
570 # Mandatory: no
  
571 # Default:
  
572 #说明:SSL CA钥文件目录,2.4开始支持
  
573 # SSLCALocation=
  
574 ####### LOADABLE MODULES #######
  
575 #可加载的模块
  
576 ### Option: LoadModulePath
  
577 #    Full path to location of server modules.
  
578 #    Default depends on compilation options.
  
579 #
  
580 # Mandatory: no
  
581 # Default:
  
582 #指定本地模块路径,非研发人员不建议修改
  
583 # LoadModulePath=${libdir}/modules
  
584 ### Option: LoadModule
  
585 #    Module to load at server startup. Modules are used to extend functionality of the server.
  
586 #    Format: LoadModule=<module.so>
  
587 #    The modules must be located in directory specified by LoadModulePath.
  
588 #    It is allowed to include multiple LoadModule parameters.
  
589 #
  
590 # Mandatory: no
  
591 # Default:
  
592 #指定本地模块路径,非研发人员不建议修改
  
593 # LoadModule=
  
594 ####### TLS-RELATED PARAMETERS #######
  
595 #TLS 相关参数
  
596 ### Option: TLSCAFile
  
597 #    Full pathname of a file containing the top-level CA(s) certificates for
  
598 #    peer certificate verification.
  
599 #
  
600 # Mandatory: no
  
601 # Default:
  
602 #说明:TLS证书文件
  
603 # TLSCAFile=
  
604 ### Option: TLSCRLFile
  
605 #    Full pathname of a file containing revoked certificates.
  
606 #
  
607 # Mandatory: no
  
608 # Default:
  
609 #说明:TLS证书文件
  
610 # TLSCRLFile=
  
611 ### Option: TLSCertFile
  
612 #    Full pathname of a file containing the server certificate or certificate chain.
  
613 #
  
614 # Mandatory: no
  
615 # Default:
  
616 #说明:TLS证书文件
  
617 # TLSCertFile=
  
618 ### Option: TLSKeyFile
  
619 #    Full pathname of a file containing the server private key.
  
620 #
  
621 # Mandatory: no
  
622 # Default:
  
623 #说明:TLS证书文件
  
624 # TLSKeyFile=
  
625
  
626
  
627 #参考配置文件见https://www.boheyan.cn/zabbix.htm

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-430541-1-1.html 上篇帖子: zabbix 监控web网站性能 下篇帖子: python增删改查zabbix主机等
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表