1 |
mattm 14/10/29 22:38:37 |
2 |
|
3 |
Added: zabbix_agent.conf zabbix_server.conf |
4 |
zabbix_agentd.conf zabbix_proxy.conf |
5 |
Log: |
6 |
Major version bump 2.4.1, totally experimental, has not been tested. Package masked. Do not install unless you are using a non-production system and can contribute to improving gentoo support for 2.4 and comment on bug 524010. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 786037A7) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-analyzer/zabbix/files/2.4/zabbix_agent.conf |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_agent.conf?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_agent.conf?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: zabbix_agent.conf |
17 |
=================================================================== |
18 |
# This is a config file for Zabbix internet service daemon agent |
19 |
# To get more information about Zabbix visit http://www.zabbix.com |
20 |
|
21 |
### Option: Server |
22 |
# IP address of Zabbix server |
23 |
# Connections from other hosts will be denied |
24 |
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally. |
25 |
# |
26 |
# Mandatory: yes |
27 |
# Default: |
28 |
# Server= |
29 |
|
30 |
Server=127.0.0.1 |
31 |
|
32 |
############ ADVANCED PARAMETERS ################# |
33 |
|
34 |
### Option: Alias |
35 |
# Sets an alias for parameter. It can be useful to substitute long and complex parameter name with a smaller and simpler one. |
36 |
# |
37 |
# Mandatory: no |
38 |
# Range: |
39 |
# Default: |
40 |
|
41 |
### Option: Timeout |
42 |
# Spend no more than Timeout seconds on processing |
43 |
# |
44 |
# Mandatory: no |
45 |
# Range: 1-30 |
46 |
# Default: |
47 |
# Timeout=3 |
48 |
|
49 |
### Option: Include |
50 |
# You may include individual files or all files in a directory in the configuration file. |
51 |
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. |
52 |
# |
53 |
# Mandatory: no |
54 |
# Default: |
55 |
# Include= |
56 |
|
57 |
# Include=/usr/local/etc/zabbix_agent.userparams.conf |
58 |
# Include=/usr/local/etc/zabbix_agent.conf.d/ |
59 |
|
60 |
####### USER-DEFINED MONITORED PARAMETERS ####### |
61 |
|
62 |
### Option: UnsafeUserParameters |
63 |
# Allow all characters to be passed in arguments to user-defined parameters. |
64 |
# 0 - do not allow |
65 |
# 1 - allow |
66 |
# |
67 |
# Mandatory: no |
68 |
# Default: |
69 |
# UnsafeUserParameters=0 |
70 |
|
71 |
### Option: UserParameter |
72 |
# User-defined parameter to monitor. There can be several user-defined parameters. |
73 |
# Format: UserParameter=<key>,<shell command> |
74 |
# See 'zabbix_agentd' directory for examples. |
75 |
# |
76 |
# Mandatory: no |
77 |
# Default: |
78 |
# UserParameter= |
79 |
|
80 |
####### LOADABLE MODULES ####### |
81 |
|
82 |
### Option: LoadModulePath |
83 |
# Full path to location of agent modules. |
84 |
# Default depends on compilation options. |
85 |
# |
86 |
# Mandatory: no |
87 |
# Default: |
88 |
# LoadModulePath=${libdir}/modules |
89 |
|
90 |
### Option: LoadModule |
91 |
# Module to load at agent startup. Modules are used to extend functionality of the agent. |
92 |
# Format: LoadModule=<module.so> |
93 |
# The modules must be located in directory specified by LoadModulePath. |
94 |
# It is allowed to include multiple LoadModule parameters. |
95 |
# |
96 |
# Mandatory: no |
97 |
# Default: |
98 |
# LoadModule= |
99 |
|
100 |
|
101 |
|
102 |
1.1 net-analyzer/zabbix/files/2.4/zabbix_server.conf |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_server.conf?rev=1.1&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_server.conf?rev=1.1&content-type=text/plain |
106 |
|
107 |
Index: zabbix_server.conf |
108 |
=================================================================== |
109 |
# This is a configuration file for Zabbix Server process |
110 |
# To get more information about Zabbix, |
111 |
# visit http://www.zabbix.com |
112 |
|
113 |
############ GENERAL PARAMETERS ################# |
114 |
|
115 |
### Option: NodeID |
116 |
# Unique NodeID in distributed setup. |
117 |
# 0 - standalone server |
118 |
# |
119 |
# Mandatory: no |
120 |
# Range: 0-999 |
121 |
# Default: |
122 |
# NodeID=0 |
123 |
|
124 |
### Option: ListenPort |
125 |
# Listen port for trapper. |
126 |
# |
127 |
# Mandatory: no |
128 |
# Range: 1024-32767 |
129 |
# Default: |
130 |
# ListenPort=10051 |
131 |
|
132 |
### Option: SourceIP |
133 |
# Source IP address for outgoing connections. |
134 |
# |
135 |
# Mandatory: no |
136 |
# Default: |
137 |
# SourceIP= |
138 |
|
139 |
### Option: LogFile |
140 |
# Name of log file. |
141 |
# If not set, syslog is used. |
142 |
# |
143 |
# Mandatory: no |
144 |
# Default: |
145 |
# LogFile= |
146 |
|
147 |
LogFile=/var/log/zabbix/zabbix_server.log |
148 |
|
149 |
### Option: LogFileSize |
150 |
# Maximum size of log file in MB. |
151 |
# 0 - disable automatic log rotation. |
152 |
# |
153 |
# Mandatory: no |
154 |
# Range: 0-1024 |
155 |
# Default: |
156 |
LogFileSize=128 |
157 |
|
158 |
### Option: DebugLevel |
159 |
# Specifies debug level |
160 |
# 0 - no debug |
161 |
# 1 - critical information |
162 |
# 2 - error information |
163 |
# 3 - warnings |
164 |
# 4 - for debugging (produces lots of information) |
165 |
# |
166 |
# Mandatory: no |
167 |
# Range: 0-4 |
168 |
# Default: |
169 |
# DebugLevel=3 |
170 |
|
171 |
### Option: PidFile |
172 |
# Name of PID file. |
173 |
# |
174 |
# Mandatory: no |
175 |
# Default: |
176 |
PidFile=/run/zabbix/zabbix_server.pid |
177 |
|
178 |
### Option: DBHost |
179 |
# Database host name. |
180 |
# If set to localhost, socket is used for MySQL. |
181 |
# If set to empty string, socket is used for PostgreSQL. |
182 |
# |
183 |
# Mandatory: no |
184 |
# Default: |
185 |
# DBHost=localhost |
186 |
|
187 |
### Option: DBName |
188 |
# Database name. |
189 |
# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored. |
190 |
# |
191 |
# Mandatory: yes |
192 |
# Default: |
193 |
# DBName= |
194 |
|
195 |
DBName=zabbix |
196 |
|
197 |
### Option: DBSchema |
198 |
# Schema name. Used for IBM DB2. |
199 |
# |
200 |
# Mandatory: no |
201 |
# Default: |
202 |
# DBSchema= |
203 |
|
204 |
### Option: DBUser |
205 |
# Database user. Ignored for SQLite. |
206 |
# |
207 |
# Mandatory: no |
208 |
# Default: |
209 |
# DBUser= |
210 |
|
211 |
DBUser=root |
212 |
|
213 |
### Option: DBPassword |
214 |
# Database password. Ignored for SQLite. |
215 |
# Comment this line if no password is used. |
216 |
# |
217 |
# Mandatory: no |
218 |
# Default: |
219 |
# DBPassword= |
220 |
|
221 |
### Option: DBSocket |
222 |
# Path to MySQL socket. |
223 |
# |
224 |
# Mandatory: no |
225 |
# Default: |
226 |
# DBSocket=/tmp/mysql.sock |
227 |
|
228 |
### Option: DBPort |
229 |
# Database port when not using local socket. Ignored for SQLite. |
230 |
# |
231 |
# Mandatory: no |
232 |
# Range: 1024-65535 |
233 |
# Default (for MySQL): |
234 |
# DBPort=3306 |
235 |
|
236 |
############ ADVANCED PARAMETERS ################ |
237 |
|
238 |
### Option: StartPollers |
239 |
# Number of pre-forked instances of pollers. |
240 |
# |
241 |
# Mandatory: no |
242 |
# Range: 0-1000 |
243 |
# Default: |
244 |
# StartPollers=5 |
245 |
|
246 |
### Option: StartIPMIPollers |
247 |
# Number of pre-forked instances of IPMI pollers. |
248 |
# |
249 |
# Mandatory: no |
250 |
# Range: 0-1000 |
251 |
# Default: |
252 |
# StartIPMIPollers=0 |
253 |
|
254 |
### Option: StartPollersUnreachable |
255 |
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI). |
256 |
# |
257 |
# Mandatory: no |
258 |
# Range: 0-1000 |
259 |
# Default: |
260 |
# StartPollersUnreachable=1 |
261 |
|
262 |
### Option: StartTrappers |
263 |
# Number of pre-forked instances of trappers. |
264 |
# Trappers accept incoming connections from Zabbix sender, active agents, active proxies and child nodes. |
265 |
# At least one trapper process must be running to display server availability in the frontend. |
266 |
# |
267 |
# Mandatory: no |
268 |
# Range: 0-1000 |
269 |
# Default: |
270 |
# StartTrappers=5 |
271 |
|
272 |
### Option: StartPingers |
273 |
# Number of pre-forked instances of ICMP pingers. |
274 |
# |
275 |
# Mandatory: no |
276 |
# Range: 0-1000 |
277 |
# Default: |
278 |
# StartPingers=1 |
279 |
|
280 |
### Option: StartDiscoverers |
281 |
# Number of pre-forked instances of discoverers. |
282 |
# |
283 |
# Mandatory: no |
284 |
# Range: 0-250 |
285 |
# Default: |
286 |
# StartDiscoverers=1 |
287 |
|
288 |
### Option: StartHTTPPollers |
289 |
# Number of pre-forked instances of HTTP pollers. |
290 |
# |
291 |
# Mandatory: no |
292 |
# Range: 0-1000 |
293 |
# Default: |
294 |
# StartHTTPPollers=1 |
295 |
|
296 |
### Option: StartTimers |
297 |
# Number of pre-forked instances of timers. |
298 |
# Timers process time-based trigger functions and maintenance periods. |
299 |
# Only the first timer process handles the maintenance periods. |
300 |
# |
301 |
# Mandatory: no |
302 |
# Range: 1-1000 |
303 |
# Default: |
304 |
# StartTimers=1 |
305 |
|
306 |
### Option: JavaGateway |
307 |
# IP address (or hostname) of Zabbix Java gateway. |
308 |
# Only required if Java pollers are started. |
309 |
# |
310 |
# Mandatory: no |
311 |
# Default: |
312 |
# JavaGateway= |
313 |
|
314 |
### Option: JavaGatewayPort |
315 |
# Port that Zabbix Java gateway listens on. |
316 |
# |
317 |
# Mandatory: no |
318 |
# Range: 1024-32767 |
319 |
# Default: |
320 |
# JavaGatewayPort=10052 |
321 |
|
322 |
### Option: StartJavaPollers |
323 |
# Number of pre-forked instances of Java pollers. |
324 |
# |
325 |
# Mandatory: no |
326 |
# Range: 0-1000 |
327 |
# Default: |
328 |
# StartJavaPollers=0 |
329 |
|
330 |
### Option: StartVMwareCollectors |
331 |
# Number of pre-forked vmware collector instances. |
332 |
# |
333 |
# Mandatory: no |
334 |
# Range: 0-250 |
335 |
# Default: |
336 |
# StartVMwareCollectors=0 |
337 |
|
338 |
### Option: VMwareFrequency |
339 |
# How often Zabbix will connect to VMware service to obtain a new data. |
340 |
# |
341 |
# Mandatory: no |
342 |
# Range: 10-86400 |
343 |
# Default: |
344 |
# VMwareFrequency=60 |
345 |
|
346 |
### Option: VMwareCacheSize |
347 |
# Size of VMware cache, in bytes. |
348 |
# Shared memory size for storing VMware data. |
349 |
# Only used if VMware collectors are started. |
350 |
# |
351 |
# Mandatory: no |
352 |
# Range: 256K-2G |
353 |
# Default: |
354 |
# VMwareCacheSize=8M |
355 |
|
356 |
### Option: SNMPTrapperFile |
357 |
# Temporary file used for passing data from SNMP trap daemon to the server. |
358 |
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file. |
359 |
# |
360 |
# Mandatory: no |
361 |
# Default: |
362 |
# SNMPTrapperFile=/tmp/zabbix_traps.tmp |
363 |
|
364 |
### Option: StartSNMPTrapper |
365 |
# If 1, SNMP trapper process is started. |
366 |
# |
367 |
# Mandatory: no |
368 |
# Range: 0-1 |
369 |
# Default: |
370 |
# StartSNMPTrapper=0 |
371 |
|
372 |
### Option: ListenIP |
373 |
# List of comma delimited IP addresses that the trapper should listen on. |
374 |
# Trapper will listen on all network interfaces if this parameter is missing. |
375 |
# |
376 |
# Mandatory: no |
377 |
# Default: |
378 |
# ListenIP=0.0.0.0 |
379 |
|
380 |
# ListenIP=127.0.0.1 |
381 |
|
382 |
### Option: HousekeepingFrequency |
383 |
# How often Zabbix will perform housekeeping procedure (in hours). |
384 |
# Housekeeping is removing unnecessary information from history, alert, and alarms tables. |
385 |
# |
386 |
# Mandatory: no |
387 |
# Range: 1-24 |
388 |
# Default: |
389 |
# HousekeepingFrequency=1 |
390 |
|
391 |
### Option: MaxHousekeeperDelete |
392 |
# The table "housekeeper" contains "tasks" for housekeeping procedure in the format: |
393 |
# [housekeeperid], [tablename], [field], [value]. |
394 |
# No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value]) |
395 |
# will be deleted per one task in one housekeeping cycle. |
396 |
# SQLite3 does not use this parameter, deletes all corresponding rows without a limit. |
397 |
# If set to 0 then no limit is used at all. In this case you must know what you are doing! |
398 |
# |
399 |
# Mandatory: no |
400 |
# Range: 0-1000000 |
401 |
# Default: |
402 |
# MaxHousekeeperDelete=500 |
403 |
|
404 |
### Option: SenderFrequency |
405 |
# How often Zabbix will try to send unsent alerts (in seconds). |
406 |
# |
407 |
# Mandatory: no |
408 |
# Range: 5-3600 |
409 |
# Default: |
410 |
# SenderFrequency=30 |
411 |
|
412 |
### Option: CacheSize |
413 |
# Size of configuration cache, in bytes. |
414 |
# Shared memory size for storing host, item and trigger data. |
415 |
# |
416 |
# Mandatory: no |
417 |
# Range: 128K-2G |
418 |
# Default: |
419 |
# CacheSize=8M |
420 |
|
421 |
### Option: CacheUpdateFrequency |
422 |
# How often Zabbix will perform update of configuration cache, in seconds. |
423 |
# |
424 |
# Mandatory: no |
425 |
# Range: 1-3600 |
426 |
# Default: |
427 |
# CacheUpdateFrequency=60 |
428 |
|
429 |
### Option: StartDBSyncers |
430 |
# Number of pre-forked instances of DB Syncers |
431 |
# |
432 |
# Mandatory: no |
433 |
# Range: 1-100 |
434 |
# Default: |
435 |
# StartDBSyncers=4 |
436 |
|
437 |
### Option: HistoryCacheSize |
438 |
# Size of history cache, in bytes. |
439 |
# Shared memory size for storing history data. |
440 |
# |
441 |
# Mandatory: no |
442 |
# Range: 128K-2G |
443 |
# Default: |
444 |
# HistoryCacheSize=8M |
445 |
|
446 |
### Option: TrendCacheSize |
447 |
# Size of trend cache, in bytes. |
448 |
# Shared memory size for storing trends data. |
449 |
# |
450 |
# Mandatory: no |
451 |
# Range: 128K-2G |
452 |
# Default: |
453 |
# TrendCacheSize=4M |
454 |
|
455 |
### Option: HistoryTextCacheSize |
456 |
# Size of text history cache, in bytes. |
457 |
# Shared memory size for storing character, text or log history data. |
458 |
# |
459 |
# Mandatory: no |
460 |
# Range: 128K-2G |
461 |
# Default: |
462 |
# HistoryTextCacheSize=16M |
463 |
|
464 |
### Option: ValueCacheSize |
465 |
# Size of history value cache, in bytes. |
466 |
# Shared memory size for caching item history data requests |
467 |
# Setting to 0 disables value cache. |
468 |
# |
469 |
# Mandatory: no |
470 |
# Range: 0,128K-64G |
471 |
# Default: |
472 |
# ValueCacheSize=8M |
473 |
|
474 |
### Option: NodeNoEvents |
475 |
# If set to '1' local events won't be sent to master node. |
476 |
# This won't impact ability of this node to propagate events from its child nodes. |
477 |
# |
478 |
# Mandatory: no |
479 |
# Range: 0-1 |
480 |
# Default: |
481 |
# NodeNoEvents=0 |
482 |
|
483 |
### Option: NodeNoHistory |
484 |
# If set to '1' local history won't be sent to master node. |
485 |
# This won't impact ability of this node to propagate history from its child nodes. |
486 |
# |
487 |
# Mandatory: no |
488 |
# Range: 0-1 |
489 |
# Default: |
490 |
# NodeNoHistory=0 |
491 |
|
492 |
### Option: Timeout |
493 |
# Specifies how long we wait for agent, SNMP device or external check (in seconds). |
494 |
# |
495 |
# Mandatory: no |
496 |
# Range: 1-30 |
497 |
# Default: |
498 |
# Timeout=3 |
499 |
|
500 |
### Option: TrapperTimeout |
501 |
# Specifies how many seconds trapper may spend processing new data. |
502 |
# |
503 |
# Mandatory: no |
504 |
# Range: 1-300 |
505 |
# Default: |
506 |
# TrapperTimeout=300 |
507 |
|
508 |
### Option: UnreachablePeriod |
509 |
# After how many seconds of unreachability treat a host as unavailable. |
510 |
# |
511 |
# Mandatory: no |
512 |
# Range: 1-3600 |
513 |
# Default: |
514 |
# UnreachablePeriod=45 |
515 |
|
516 |
### Option: UnavailableDelay |
517 |
# How often host is checked for availability during the unavailability period, in seconds. |
518 |
# |
519 |
# Mandatory: no |
520 |
# Range: 1-3600 |
521 |
# Default: |
522 |
# UnavailableDelay=60 |
523 |
|
524 |
### Option: UnreachableDelay |
525 |
# How often host is checked for availability during the unreachability period, in seconds. |
526 |
# |
527 |
# Mandatory: no |
528 |
# Range: 1-3600 |
529 |
# Default: |
530 |
# UnreachableDelay=15 |
531 |
|
532 |
### Option: AlertScriptsPath |
533 |
# Full path to location of custom alert scripts. |
534 |
# Default depends on compilation options. |
535 |
# |
536 |
# Mandatory: no |
537 |
# Default: |
538 |
AlertScriptsPath=/var/lib/zabbix/alertscripts |
539 |
|
540 |
### Option: ExternalScripts |
541 |
# Full path to location of external scripts. |
542 |
# Default depends on compilation options. |
543 |
# |
544 |
# Mandatory: no |
545 |
# Default: |
546 |
ExternalScripts=/var/lib/zabbix/externalscripts |
547 |
|
548 |
### Option: FpingLocation |
549 |
# Location of fping. |
550 |
# Make sure that fping binary has root ownership and SUID flag set. |
551 |
# |
552 |
# Mandatory: no |
553 |
# Default: |
554 |
# FpingLocation=/usr/sbin/fping |
555 |
|
556 |
### Option: Fping6Location |
557 |
# Location of fping6. |
558 |
# Make sure that fping6 binary has root ownership and SUID flag set. |
559 |
# Make empty if your fping utility is capable to process IPv6 addresses. |
560 |
# |
561 |
# Mandatory: no |
562 |
# Default: |
563 |
# Fping6Location=/usr/sbin/fping6 |
564 |
|
565 |
### Option: SSHKeyLocation |
566 |
# Location of public and private keys for SSH checks and actions. |
567 |
# |
568 |
# Mandatory: no |
569 |
# Default: |
570 |
# SSHKeyLocation= |
571 |
|
572 |
### Option: LogSlowQueries |
573 |
# How long a database query may take before being logged (in milliseconds). |
574 |
# Only works if DebugLevel set to 3 or 4. |
575 |
# 0 - don't log slow queries. |
576 |
# |
577 |
# Mandatory: no |
578 |
# Range: 1-3600000 |
579 |
# Default: |
580 |
# LogSlowQueries=0 |
581 |
|
582 |
### Option: TmpDir |
583 |
# Temporary directory. |
584 |
# |
585 |
# Mandatory: no |
586 |
# Default: |
587 |
# TmpDir=/tmp |
588 |
|
589 |
### Option: StartProxyPollers |
590 |
# Number of pre-forked instances of pollers for passive proxies. |
591 |
# |
592 |
# Mandatory: no |
593 |
# Range: 0-250 |
594 |
# Default: |
595 |
# StartProxyPollers=1 |
596 |
|
597 |
### Option: ProxyConfigFrequency |
598 |
# How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds. |
599 |
# This parameter is used only for proxies in the passive mode. |
600 |
# |
601 |
# Mandatory: no |
602 |
# Range: 1-3600*24*7 |
603 |
# Default: |
604 |
# ProxyConfigFrequency=3600 |
605 |
|
606 |
### Option: ProxyDataFrequency |
607 |
# How often Zabbix Server requests history data from a Zabbix Proxy in seconds. |
608 |
# This parameter is used only for proxies in the passive mode. |
609 |
# |
610 |
# Mandatory: no |
611 |
# Range: 1-3600 |
612 |
# Default: |
613 |
# ProxyDataFrequency=1 |
614 |
|
615 |
### Option: AllowRoot |
616 |
# Allow the server to run as 'root'. If disabled and the server is started by 'root', the server |
617 |
# will try to switch to user 'zabbix' instead. Has no effect if started under a regular user. |
618 |
# 0 - do not allow |
619 |
# 1 - allow |
620 |
# |
621 |
# Mandatory: no |
622 |
# Default: |
623 |
# AllowRoot=0 |
624 |
|
625 |
### Option: Include |
626 |
# You may include individual files or all files in a directory in the configuration file. |
627 |
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. |
628 |
# |
629 |
# Mandatory: no |
630 |
# Default: |
631 |
# Include= |
632 |
|
633 |
# Include=/usr/local/etc/zabbix_server.general.conf |
634 |
#Include=/etc/zabbix/zabbix_server.conf.d/ |
635 |
|
636 |
####### LOADABLE MODULES ####### |
637 |
|
638 |
### Option: LoadModulePath |
639 |
# Full path to location of server modules. |
640 |
# Default depends on compilation options. |
641 |
# |
642 |
# Mandatory: no |
643 |
# Default: |
644 |
# LoadModulePath=${libdir}/modules |
645 |
|
646 |
### Option: LoadModule |
647 |
# Module to load at server startup. Modules are used to extend functionality of the server. |
648 |
# Format: LoadModule=<module.so> |
649 |
# The modules must be located in directory specified by LoadModulePath. |
650 |
# It is allowed to include multiple LoadModule parameters. |
651 |
# |
652 |
# Mandatory: no |
653 |
# Default: |
654 |
# LoadModule= |
655 |
|
656 |
|
657 |
|
658 |
1.1 net-analyzer/zabbix/files/2.4/zabbix_agentd.conf |
659 |
|
660 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_agentd.conf?rev=1.1&view=markup |
661 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_agentd.conf?rev=1.1&content-type=text/plain |
662 |
|
663 |
Index: zabbix_agentd.conf |
664 |
=================================================================== |
665 |
# This is a config file for the Zabbix agent daemon (Unix) |
666 |
# To get more information about Zabbix, visit http://www.zabbix.com |
667 |
|
668 |
############ GENERAL PARAMETERS ################# |
669 |
|
670 |
### Option: PidFile |
671 |
# Name of PID file. |
672 |
# |
673 |
# Mandatory: no |
674 |
# Default: |
675 |
PidFile=/run/zabbix/zabbix_agentd.pid |
676 |
|
677 |
### Option: LogFile |
678 |
# Name of log file. |
679 |
# If not set, syslog is used. |
680 |
# |
681 |
# Mandatory: no |
682 |
# Default: |
683 |
# LogFile= |
684 |
|
685 |
LogFile=/var/log/zabbix/zabbix_agentd.log |
686 |
|
687 |
### Option: LogFileSize |
688 |
# Maximum size of log file in MB. |
689 |
# 0 - disable automatic log rotation. |
690 |
# |
691 |
# Mandatory: no |
692 |
# Range: 0-1024 |
693 |
# Default: |
694 |
LogFileSize=128 |
695 |
|
696 |
### Option: DebugLevel |
697 |
# Specifies debug level |
698 |
# 0 - no debug |
699 |
# 1 - critical information |
700 |
# 2 - error information |
701 |
# 3 - warnings |
702 |
# 4 - for debugging (produces lots of information) |
703 |
# |
704 |
# Mandatory: no |
705 |
# Range: 0-4 |
706 |
# Default: |
707 |
# DebugLevel=3 |
708 |
|
709 |
### Option: SourceIP |
710 |
# Source IP address for outgoing connections. |
711 |
# |
712 |
# Mandatory: no |
713 |
# Default: |
714 |
# SourceIP= |
715 |
|
716 |
### Option: EnableRemoteCommands |
717 |
# Whether remote commands from Zabbix server are allowed. |
718 |
# 0 - not allowed |
719 |
# 1 - allowed |
720 |
# |
721 |
# Mandatory: no |
722 |
# Default: |
723 |
# EnableRemoteCommands=0 |
724 |
|
725 |
### Option: LogRemoteCommands |
726 |
# Enable logging of executed shell commands as warnings. |
727 |
# 0 - disabled |
728 |
# 1 - enabled |
729 |
# |
730 |
# Mandatory: no |
731 |
# Default: |
732 |
# LogRemoteCommands=0 |
733 |
|
734 |
##### Passive checks related |
735 |
|
736 |
### Option: Server |
737 |
# List of comma delimited IP addresses (or hostnames) of Zabbix servers. |
738 |
# Incoming connections will be accepted only from the hosts listed here. |
739 |
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally. |
740 |
# |
741 |
# Mandatory: no |
742 |
# Default: |
743 |
# Server= |
744 |
|
745 |
Server=127.0.0.1 |
746 |
|
747 |
### Option: ListenPort |
748 |
# Agent will listen on this port for connections from the server. |
749 |
# |
750 |
# Mandatory: no |
751 |
# Range: 1024-32767 |
752 |
# Default: |
753 |
# ListenPort=10050 |
754 |
|
755 |
### Option: ListenIP |
756 |
# List of comma delimited IP addresses that the agent should listen on. |
757 |
# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. |
758 |
# |
759 |
# Mandatory: no |
760 |
# Default: |
761 |
# ListenIP=0.0.0.0 |
762 |
|
763 |
### Option: StartAgents |
764 |
# Number of pre-forked instances of zabbix_agentd that process passive checks. |
765 |
# If set to 0, disables passive checks and the agent will not listen on any TCP port. |
766 |
# |
767 |
# Mandatory: no |
768 |
# Range: 0-100 |
769 |
# Default: |
770 |
# StartAgents=3 |
771 |
|
772 |
##### Active checks related |
773 |
|
774 |
### Option: ServerActive |
775 |
# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks. |
776 |
# If port is not specified, default port is used. |
777 |
# IPv6 addresses must be enclosed in square brackets if port for that host is specified. |
778 |
# If port is not specified, square brackets for IPv6 addresses are optional. |
779 |
# If this parameter is not specified, active checks are disabled. |
780 |
# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1] |
781 |
# |
782 |
# Mandatory: no |
783 |
# Default: |
784 |
# ServerActive= |
785 |
|
786 |
ServerActive=127.0.0.1 |
787 |
|
788 |
### Option: Hostname |
789 |
# Unique, case sensitive hostname. |
790 |
# Required for active checks and must match hostname as configured on the server. |
791 |
# Value is acquired from HostnameItem if undefined. |
792 |
# |
793 |
# Mandatory: no |
794 |
# Default: |
795 |
# Hostname= |
796 |
|
797 |
Hostname=Zabbix server |
798 |
|
799 |
### Option: HostnameItem |
800 |
# Item used for generating Hostname if it is undefined. |
801 |
# Ignored if Hostname is defined. |
802 |
# |
803 |
# Mandatory: no |
804 |
# Default: |
805 |
# HostnameItem=system.hostname |
806 |
|
807 |
### Option: HostMetadata |
808 |
# Optional parameter that defines host metadata. |
809 |
# Host metadata is used at host auto-registration process. |
810 |
# An agent will issue an error and not start if the value is over limit of 255 characters. |
811 |
# If not defined, value will be acquired from HostMetadataItem. |
812 |
# |
813 |
# Mandatory: no |
814 |
# Range: 0-255 characters |
815 |
# Default: |
816 |
# HostMetadata= |
817 |
|
818 |
### Option: HostMetadataItem |
819 |
# Optional parameter that defines an item used for getting host metadata. |
820 |
# Host metadata is used at host auto-registration process. |
821 |
# During an auto-registration request an agent will log a warning message if |
822 |
# the value returned by specified item is over limit of 255 characters. |
823 |
# This option is only used when HostMetadata is not defined. |
824 |
# |
825 |
# Mandatory: no |
826 |
# Default: |
827 |
# HostMetadataItem= |
828 |
|
829 |
### Option: RefreshActiveChecks |
830 |
# How often list of active checks is refreshed, in seconds. |
831 |
# |
832 |
# Mandatory: no |
833 |
# Range: 60-3600 |
834 |
# Default: |
835 |
# RefreshActiveChecks=120 |
836 |
|
837 |
### Option: BufferSend |
838 |
# Do not keep data longer than N seconds in buffer. |
839 |
# |
840 |
# Mandatory: no |
841 |
# Range: 1-3600 |
842 |
# Default: |
843 |
# BufferSend=5 |
844 |
|
845 |
### Option: BufferSize |
846 |
# Maximum number of values in a memory buffer. The agent will send |
847 |
# all collected data to Zabbix Server or Proxy if the buffer is full. |
848 |
# |
849 |
# Mandatory: no |
850 |
# Range: 2-65535 |
851 |
# Default: |
852 |
# BufferSize=100 |
853 |
|
854 |
### Option: MaxLinesPerSecond |
855 |
# Maximum number of new lines the agent will send per second to Zabbix Server |
856 |
# or Proxy processing 'log' and 'logrt' active checks. |
857 |
# The provided value will be overridden by the parameter 'maxlines', |
858 |
# provided in 'log' or 'logrt' item keys. |
859 |
# |
860 |
# Mandatory: no |
861 |
# Range: 1-1000 |
862 |
# Default: |
863 |
# MaxLinesPerSecond=100 |
864 |
|
865 |
############ ADVANCED PARAMETERS ################# |
866 |
|
867 |
### Option: Alias |
868 |
# Sets an alias for parameter. It can be useful to substitute long and complex parameter name with a smaller and simpler one. |
869 |
# |
870 |
# Mandatory: no |
871 |
# Range: |
872 |
# Default: |
873 |
|
874 |
### Option: Timeout |
875 |
# Spend no more than Timeout seconds on processing |
876 |
# |
877 |
# Mandatory: no |
878 |
# Range: 1-30 |
879 |
# Default: |
880 |
# Timeout=3 |
881 |
|
882 |
### Option: AllowRoot |
883 |
# Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent |
884 |
# will try to switch to user 'zabbix' instead. Has no effect if started under a regular user. |
885 |
# 0 - do not allow |
886 |
# 1 - allow |
887 |
# |
888 |
# Mandatory: no |
889 |
# Default: |
890 |
# AllowRoot=0 |
891 |
|
892 |
### Option: Include |
893 |
# You may include individual files or all files in a directory in the configuration file. |
894 |
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. |
895 |
# |
896 |
# Mandatory: no |
897 |
# Default: |
898 |
# Include= |
899 |
|
900 |
# Include=/usr/local/etc/zabbix_agentd.userparams.conf |
901 |
# Include=/usr/local/etc/zabbix_agentd.conf.d/ |
902 |
|
903 |
####### USER-DEFINED MONITORED PARAMETERS ####### |
904 |
|
905 |
### Option: UnsafeUserParameters |
906 |
# Allow all characters to be passed in arguments to user-defined parameters. |
907 |
# 0 - do not allow |
908 |
# 1 - allow |
909 |
# |
910 |
# Mandatory: no |
911 |
# Range: 0-1 |
912 |
# Default: |
913 |
# UnsafeUserParameters=0 |
914 |
|
915 |
### Option: UserParameter |
916 |
# User-defined parameter to monitor. There can be several user-defined parameters. |
917 |
# Format: UserParameter=<key>,<shell command> |
918 |
# See 'zabbix_agentd' directory for examples. |
919 |
# |
920 |
# Mandatory: no |
921 |
# Default: |
922 |
# UserParameter= |
923 |
|
924 |
####### LOADABLE MODULES ####### |
925 |
|
926 |
### Option: LoadModulePath |
927 |
# Full path to location of agent modules. |
928 |
# Default depends on compilation options. |
929 |
# |
930 |
# Mandatory: no |
931 |
# Default: |
932 |
# LoadModulePath=${libdir}/modules |
933 |
|
934 |
### Option: LoadModule |
935 |
# Module to load at agent startup. Modules are used to extend functionality of the agent. |
936 |
# Format: LoadModule=<module.so> |
937 |
# The modules must be located in directory specified by LoadModulePath. |
938 |
# It is allowed to include multiple LoadModule parameters. |
939 |
# |
940 |
# Mandatory: no |
941 |
# Default: |
942 |
# LoadModule= |
943 |
|
944 |
|
945 |
|
946 |
1.1 net-analyzer/zabbix/files/2.4/zabbix_proxy.conf |
947 |
|
948 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_proxy.conf?rev=1.1&view=markup |
949 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/zabbix_proxy.conf?rev=1.1&content-type=text/plain |
950 |
|
951 |
Index: zabbix_proxy.conf |
952 |
=================================================================== |
953 |
# This is a configuration file for Zabbix Proxy process |
954 |
# To get more information about Zabbix, |
955 |
# visit http://www.zabbix.com |
956 |
|
957 |
############ GENERAL PARAMETERS ################# |
958 |
|
959 |
### Option: ProxyMode |
960 |
# Proxy operating mode |
961 |
# 0 - proxy in the active mode |
962 |
# 1 - proxy in the passive mode |
963 |
# |
964 |
# Mandatory: no |
965 |
# Default: |
966 |
# ProxyMode=0 |
967 |
|
968 |
### Option: Server |
969 |
# IP address (or hostname) of Zabbix server. |
970 |
# Active proxy will get configuration data from the server. |
971 |
# For a proxy in the passive mode this parameter will be ignored. |
972 |
# |
973 |
# Mandatory: yes (if ProxyMode is set to 0) |
974 |
# Default: |
975 |
# Server= |
976 |
|
977 |
Server=127.0.0.1 |
978 |
|
979 |
### Option: ServerPort |
980 |
# Port of Zabbix trapper on Zabbix server. |
981 |
# For a proxy in the passive mode this parameter will be ignored. |
982 |
# |
983 |
# Mandatory: no |
984 |
# Range: 1024-32767 |
985 |
# Default: |
986 |
# ServerPort=10051 |
987 |
|
988 |
### Option: Hostname |
989 |
# Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server! |
990 |
# Value is acquired from HostnameItem if undefined. |
991 |
# |
992 |
# Mandatory: no |
993 |
# Default: |
994 |
# Hostname= |
995 |
|
996 |
Hostname=Zabbix proxy |
997 |
|
998 |
### Option: HostnameItem |
999 |
# Item used for generating Hostname if it is undefined. |
1000 |
# Ignored if Hostname is defined. |
1001 |
# |
1002 |
# Mandatory: no |
1003 |
# Default: |
1004 |
# HostnameItem=system.hostname |
1005 |
|
1006 |
### Option: ListenPort |
1007 |
# Listen port for trapper. |
1008 |
# |
1009 |
# Mandatory: no |
1010 |
# Range: 1024-32767 |
1011 |
# Default: |
1012 |
# ListenPort=10051 |
1013 |
|
1014 |
### Option: SourceIP |
1015 |
# Source IP address for outgoing connections. |
1016 |
# |
1017 |
# Mandatory: no |
1018 |
# Default: |
1019 |
# SourceIP= |
1020 |
|
1021 |
### Option: LogFile |
1022 |
# Name of log file. |
1023 |
# If not set, syslog is used. |
1024 |
# |
1025 |
# Mandatory: no |
1026 |
# Default: |
1027 |
# LogFile= |
1028 |
|
1029 |
LogFile=/var/log/zabbix/zabbix_proxy.log |
1030 |
|
1031 |
### Option: LogFileSize |
1032 |
# Maximum size of log file in MB. |
1033 |
# 0 - disable automatic log rotation. |
1034 |
# |
1035 |
# Mandatory: no |
1036 |
# Range: 0-1024 |
1037 |
# Default: |
1038 |
LogFileSize=128 |
1039 |
|
1040 |
### Option: DebugLevel |
1041 |
# Specifies debug level |
1042 |
# 0 - no debug |
1043 |
# 1 - critical information |
1044 |
# 2 - error information |
1045 |
# 3 - warnings |
1046 |
# 4 - for debugging (produces lots of information) |
1047 |
# |
1048 |
# Mandatory: no |
1049 |
# Range: 0-4 |
1050 |
# Default: |
1051 |
# DebugLevel=3 |
1052 |
|
1053 |
### Option: PidFile |
1054 |
# Name of PID file. |
1055 |
# |
1056 |
# Mandatory: no |
1057 |
# Default: |
1058 |
PidFile=/run/zabbix/zabbix_proxy.pid |
1059 |
|
1060 |
### Option: DBHost |
1061 |
# Database host name. |
1062 |
# If set to localhost, socket is used for MySQL. |
1063 |
# If set to empty string, socket is used for PostgreSQL. |
1064 |
# |
1065 |
# Mandatory: no |
1066 |
# Default: |
1067 |
# DBHost=localhost |
1068 |
|
1069 |
### Option: DBName |
1070 |
# Database name. |
1071 |
# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored. |
1072 |
# Warning: do not attempt to use the same database Zabbix server is using. |
1073 |
# |
1074 |
# Mandatory: yes |
1075 |
# Default: |
1076 |
# DBName= |
1077 |
|
1078 |
DBName=zabbix_proxy |
1079 |
|
1080 |
### Option: DBSchema |
1081 |
# Schema name. Used for IBM DB2. |
1082 |
# |
1083 |
# Mandatory: no |
1084 |
# Default: |
1085 |
# DBSchema= |
1086 |
|
1087 |
### Option: DBUser |
1088 |
# Database user. Ignored for SQLite. |
1089 |
# |
1090 |
# Default: |
1091 |
# DBUser= |
1092 |
|
1093 |
DBUser=root |
1094 |
|
1095 |
### Option: DBPassword |
1096 |
# Database password. Ignored for SQLite. |
1097 |
# Comment this line if no password is used. |
1098 |
# |
1099 |
# Mandatory: no |
1100 |
# Default: |
1101 |
# DBPassword= |
1102 |
|
1103 |
### Option: DBSocket |
1104 |
# Path to MySQL socket. |
1105 |
# |
1106 |
# Mandatory: no |
1107 |
# Default: |
1108 |
# DBSocket=/tmp/mysql.sock |
1109 |
|
1110 |
# Option: DBPort |
1111 |
# Database port when not using local socket. Ignored for SQLite. |
1112 |
# |
1113 |
# Mandatory: no |
1114 |
# Default (for MySQL): |
1115 |
# DBPort=3306 |
1116 |
|
1117 |
######### PROXY SPECIFIC PARAMETERS ############# |
1118 |
|
1119 |
### Option: ProxyLocalBuffer |
1120 |
# Proxy will keep data locally for N hours, even if the data have already been synced with the server. |
1121 |
# This parameter may be used if local data will be used by third party applications. |
1122 |
# |
1123 |
# Mandatory: no |
1124 |
# Range: 0-720 |
1125 |
# Default: |
1126 |
# ProxyLocalBuffer=0 |
1127 |
|
1128 |
### Option: ProxyOfflineBuffer |
1129 |
# Proxy will keep data for N hours in case if no connectivity with Zabbix Server. |
1130 |
# Older data will be lost. |
1131 |
# |
1132 |
# Mandatory: no |
1133 |
# Range: 1-720 |
1134 |
# Default: |
1135 |
# ProxyOfflineBuffer=1 |
1136 |
|
1137 |
### Option: HeartbeatFrequency |
1138 |
# Frequency of heartbeat messages in seconds. |
1139 |
# Used for monitoring availability of Proxy on server side. |
1140 |
# 0 - heartbeat messages disabled. |
1141 |
# For a proxy in the passive mode this parameter will be ignored. |
1142 |
# |
1143 |
# Mandatory: no |
1144 |
# Range: 0-3600 |
1145 |
# Default: |
1146 |
# HeartbeatFrequency=60 |
1147 |
|
1148 |
### Option: ConfigFrequency |
1149 |
# How often proxy retrieves configuration data from Zabbix Server in seconds. |
1150 |
# For a proxy in the passive mode this parameter will be ignored. |
1151 |
# |
1152 |
# Mandatory: no |
1153 |
# Range: 1-3600*24*7 |
1154 |
# Default: |
1155 |
# ConfigFrequency=3600 |
1156 |
|
1157 |
### Option: DataSenderFrequency |
1158 |
# Proxy will send collected data to the Server every N seconds. |
1159 |
# For a proxy in the passive mode this parameter will be ignored. |
1160 |
# |
1161 |
# Mandatory: no |
1162 |
# Range: 1-3600 |
1163 |
# Default: |
1164 |
# DataSenderFrequency=1 |
1165 |
|
1166 |
############ ADVANCED PARAMETERS ################ |
1167 |
|
1168 |
### Option: StartPollers |
1169 |
# Number of pre-forked instances of pollers. |
1170 |
# |
1171 |
# Mandatory: no |
1172 |
# Range: 0-1000 |
1173 |
# Default: |
1174 |
# StartPollers=5 |
1175 |
|
1176 |
### Option: StartIPMIPollers |
1177 |
# Number of pre-forked instances of IPMI pollers. |
1178 |
# |
1179 |
# Mandatory: no |
1180 |
# Range: 0-1000 |
1181 |
# Default: |
1182 |
# StartIPMIPollers=0 |
1183 |
|
1184 |
### Option: StartPollersUnreachable |
1185 |
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI). |
1186 |
# |
1187 |
# Mandatory: no |
1188 |
# Range: 0-1000 |
1189 |
# Default: |
1190 |
# StartPollersUnreachable=1 |
1191 |
|
1192 |
### Option: StartTrappers |
1193 |
# Number of pre-forked instances of trappers. |
1194 |
# Trappers accept incoming connections from Zabbix sender and active agents. |
1195 |
# |
1196 |
# Mandatory: no |
1197 |
# Range: 0-1000 |
1198 |
# Default: |
1199 |
# StartTrappers=5 |
1200 |
|
1201 |
### Option: StartPingers |
1202 |
# Number of pre-forked instances of ICMP pingers. |
1203 |
# |
1204 |
# Mandatory: no |
1205 |
# Range: 0-1000 |
1206 |
# Default: |
1207 |
# StartPingers=1 |
1208 |
|
1209 |
### Option: StartDiscoverers |
1210 |
# Number of pre-forked instances of discoverers. |
1211 |
# |
1212 |
# Mandatory: no |
1213 |
# Range: 0-250 |
1214 |
# Default: |
1215 |
# StartDiscoverers=1 |
1216 |
|
1217 |
### Option: StartHTTPPollers |
1218 |
# Number of pre-forked instances of HTTP pollers. |
1219 |
# |
1220 |
# Mandatory: no |
1221 |
# Range: 0-1000 |
1222 |
# Default: |
1223 |
# StartHTTPPollers=1 |
1224 |
|
1225 |
### Option: JavaGateway |
1226 |
# IP address (or hostname) of Zabbix Java gateway. |
1227 |
# Only required if Java pollers are started. |
1228 |
# |
1229 |
# Mandatory: no |
1230 |
# Default: |
1231 |
# JavaGateway= |
1232 |
|
1233 |
### Option: JavaGatewayPort |
1234 |
# Port that Zabbix Java gateway listens on. |
1235 |
# |
1236 |
# Mandatory: no |
1237 |
# Range: 1024-32767 |
1238 |
# Default: |
1239 |
# JavaGatewayPort=10052 |
1240 |
|
1241 |
### Option: StartJavaPollers |
1242 |
# Number of pre-forked instances of Java pollers. |
1243 |
# |
1244 |
# Mandatory: no |
1245 |
# Range: 0-1000 |
1246 |
# Default: |
1247 |
# StartJavaPollers=0 |
1248 |
|
1249 |
### Option: StartVMwareCollectors |
1250 |
# Number of pre-forked vmware collector instances. |
1251 |
# |
1252 |
# Mandatory: no |
1253 |
# Range: 0-250 |
1254 |
# Default: |
1255 |
# StartVMwareCollectors=0 |
1256 |
|
1257 |
### Option: VMwareFrequency |
1258 |
# How often Zabbix will connect to VMware service to obtain a new data. |
1259 |
# |
1260 |
# Mandatory: no |
1261 |
# Range: 10-86400 |
1262 |
# Default: |
1263 |
# VMwareFrequency=60 |
1264 |
|
1265 |
### Option: VMwareCacheSize |
1266 |
# Size of VMware cache, in bytes. |
1267 |
# Shared memory size for storing VMware data. |
1268 |
# Only used if VMware collectors are started. |
1269 |
# |
1270 |
# Mandatory: no |
1271 |
# Range: 256K-2G |
1272 |
# Default: |
1273 |
# VMwareCacheSize=8M |
1274 |
|
1275 |
### Option: SNMPTrapperFile |
1276 |
# Temporary file used for passing data from SNMP trap daemon to the proxy. |
1277 |
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file. |
1278 |
# |
1279 |
# Mandatory: no |
1280 |
# Default: |
1281 |
# SNMPTrapperFile=/tmp/zabbix_traps.tmp |
1282 |
|
1283 |
### Option: StartSNMPTrapper |
1284 |
# If 1, SNMP trapper process is started. |
1285 |
# |
1286 |
# Mandatory: no |
1287 |
# Range: 0-1 |
1288 |
# Default: |
1289 |
# StartSNMPTrapper=0 |
1290 |
|
1291 |
### Option: ListenIP |
1292 |
# List of comma delimited IP addresses that the trapper should listen on. |
1293 |
# Trapper will listen on all network interfaces if this parameter is missing. |
1294 |
# |
1295 |
# Mandatory: no |
1296 |
# Default: |
1297 |
# ListenIP=0.0.0.0 |
1298 |
|
1299 |
### Option: HousekeepingFrequency |
1300 |
# How often Zabbix will perform housekeeping procedure (in hours). |
1301 |
# Housekeeping is removing unnecessary information from history, alert, and alarms tables. |
1302 |
# |
1303 |
# Mandatory: no |
1304 |
# Range: 1-24 |
1305 |
# Default: |
1306 |
# HousekeepingFrequency=1 |
1307 |
|
1308 |
### Option: CacheSize |
1309 |
# Size of configuration cache, in bytes. |
1310 |
# Shared memory size, for storing hosts and items data. |
1311 |
# |
1312 |
# Mandatory: no |
1313 |
# Range: 128K-2G |
1314 |
# Default: |
1315 |
# CacheSize=8M |
1316 |
|
1317 |
### Option: StartDBSyncers |
1318 |
# Number of pre-forked instances of DB Syncers |
1319 |
# |
1320 |
# Mandatory: no |
1321 |
# Range: 1-100 |
1322 |
# Default: |
1323 |
# StartDBSyncers=4 |
1324 |
|
1325 |
### Option: HistoryCacheSize |
1326 |
# Size of history cache, in bytes. |
1327 |
# Shared memory size for storing history data. |
1328 |
# |
1329 |
# Mandatory: no |
1330 |
# Range: 128K-2G |
1331 |
# Default: |
1332 |
# HistoryCacheSize=8M |
1333 |
|
1334 |
### Option: HistoryTextCacheSize |
1335 |
# Size of text history cache, in bytes. |
1336 |
# Shared memory size for storing character, text or log history data. |
1337 |
# |
1338 |
# Mandatory: no |
1339 |
# Range: 128K-2G |
1340 |
# Default: |
1341 |
# HistoryTextCacheSize=16M |
1342 |
|
1343 |
### Option: Timeout |
1344 |
# Specifies how long we wait for agent, SNMP device or external check (in seconds). |
1345 |
# |
1346 |
# Mandatory: no |
1347 |
# Range: 1-30 |
1348 |
# Default: |
1349 |
# Timeout=3 |
1350 |
|
1351 |
### Option: TrapperTimeout |
1352 |
# Specifies how many seconds trapper may spend processing new data. |
1353 |
# |
1354 |
# Mandatory: no |
1355 |
# Range: 1-300 |
1356 |
# Default: |
1357 |
# TrapperTimeout=300 |
1358 |
|
1359 |
### Option: UnreachablePeriod |
1360 |
# After how many seconds of unreachability treat a host as unavailable. |
1361 |
# |
1362 |
# Mandatory: no |
1363 |
# Range: 1-3600 |
1364 |
# Default: |
1365 |
# UnreachablePeriod=45 |
1366 |
|
1367 |
### Option: UnavailableDelay |
1368 |
# How often host is checked for availability during the unavailability period, in seconds. |
1369 |
# |
1370 |
# Mandatory: no |
1371 |
# Range: 1-3600 |
1372 |
# Default: |
1373 |
# UnavailableDelay=60 |
1374 |
|
1375 |
### Option: UnreachableDelay |
1376 |
# How often host is checked for availability during the unreachability period, in seconds. |
1377 |
# |
1378 |
# Mandatory: no |
1379 |
# Range: 1-3600 |
1380 |
# Default: |
1381 |
# UnreachableDelay=15 |
1382 |
|
1383 |
### Option: ExternalScripts |
1384 |
# Full path to location of external scripts. |
1385 |
# Default depends on compilation options. |
1386 |
# |
1387 |
# Mandatory: no |
1388 |
# Default: |
1389 |
# ExternalScripts=${datadir}/zabbix/externalscripts |
1390 |
|
1391 |
### Option: FpingLocation |
1392 |
# Location of fping. |
1393 |
# Make sure that fping binary has root ownership and SUID flag set. |
1394 |
# |
1395 |
# Mandatory: no |
1396 |
# Default: |
1397 |
# FpingLocation=/usr/sbin/fping |
1398 |
|
1399 |
### Option: Fping6Location |
1400 |
# Location of fping6. |
1401 |
# Make sure that fping6 binary has root ownership and SUID flag set. |
1402 |
# Make empty if your fping utility is capable to process IPv6 addresses. |
1403 |
# |
1404 |
# Mandatory: no |
1405 |
# Default: |
1406 |
# Fping6Location=/usr/sbin/fping6 |
1407 |
|
1408 |
### Option: SSHKeyLocation |
1409 |
# Location of public and private keys for SSH checks and actions. |
1410 |
# |
1411 |
# Mandatory: no |
1412 |
# Default: |
1413 |
# SSHKeyLocation= |
1414 |
|
1415 |
### Option: LogSlowQueries |
1416 |
# How long a database query may take before being logged (in milliseconds). |
1417 |
# Only works if DebugLevel set to 3 or 4. |
1418 |
# 0 - don't log slow queries. |
1419 |
# |
1420 |
# Mandatory: no |
1421 |
# Range: 1-3600000 |
1422 |
# Default: |
1423 |
# LogSlowQueries=0 |
1424 |
|
1425 |
### Option: TmpDir |
1426 |
# Temporary directory. |
1427 |
# |
1428 |
# Mandatory: no |
1429 |
# Default: |
1430 |
# TmpDir=/tmp |
1431 |
|
1432 |
### Option: AllowRoot |
1433 |
# Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy |
1434 |
# will try to switch to user 'zabbix' instead. Has no effect if started under a regular user. |
1435 |
# 0 - do not allow |
1436 |
# 1 - allow |
1437 |
# |
1438 |
# Mandatory: no |
1439 |
# Default: |
1440 |
# AllowRoot=0 |
1441 |
|
1442 |
### Option: Include |
1443 |
# You may include individual files or all files in a directory in the configuration file. |
1444 |
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. |
1445 |
# |
1446 |
# Mandatory: no |
1447 |
# Default: |
1448 |
# Include= |
1449 |
|
1450 |
# Include=/usr/local/etc/zabbix_proxy.general.conf |
1451 |
# Include=/usr/local/etc/zabbix_proxy.conf.d/ |
1452 |
|
1453 |
####### LOADABLE MODULES ####### |
1454 |
|
1455 |
### Option: LoadModulePath |
1456 |
# Full path to location of proxy modules. |
1457 |
# Default depends on compilation options. |
1458 |
# |
1459 |
# Mandatory: no |
1460 |
# Default: |
1461 |
# LoadModulePath=${libdir}/modules |
1462 |
|
1463 |
### Option: LoadModule |
1464 |
# Module to load at proxy startup. Modules are used to extend functionality of the proxy. |
1465 |
# Format: LoadModule=<module.so> |
1466 |
# The modules must be located in directory specified by LoadModulePath. |
1467 |
# It is allowed to include multiple LoadModule parameters. |
1468 |
# |
1469 |
# Mandatory: no |
1470 |
# Default: |
1471 |
# LoadModule= |