1 | #SYN-3 zabbix config file - WILL BE OVERWRITTEN WHEN UPDATED |
---|
2 | #Put your overrides in a file in /etc/zabbix/zabbix_agentd.conf.d/ |
---|
3 | |
---|
4 | # This is a config file for the Zabbix agent daemon (Unix) |
---|
5 | # To get more information about Zabbix, visit http://www.zabbix.com |
---|
6 | |
---|
7 | ############ GENERAL PARAMETERS ################# |
---|
8 | |
---|
9 | ### Option: PidFile |
---|
10 | # Name of PID file. |
---|
11 | # |
---|
12 | # Mandatory: no |
---|
13 | # Default: |
---|
14 | # PidFile=/var/run/zabbix_agentd.pid |
---|
15 | |
---|
16 | ### Option: LogFile |
---|
17 | # Name of log file. |
---|
18 | # If not set, syslog is used. |
---|
19 | # |
---|
20 | # Mandatory: no |
---|
21 | # Default: |
---|
22 | # LogFile= |
---|
23 | |
---|
24 | LogFile=/var/log/zabbix_agentd.log |
---|
25 | |
---|
26 | ### Option: LogFileSize |
---|
27 | # Maximum size of log file in MB. |
---|
28 | # 0 - disable automatic log rotation. |
---|
29 | # |
---|
30 | # Mandatory: no |
---|
31 | # Range: 0-1024 |
---|
32 | # Default: |
---|
33 | # LogFileSize=1 |
---|
34 | |
---|
35 | ### Option: DebugLevel |
---|
36 | # Specifies debug level |
---|
37 | # 0 - no debug |
---|
38 | # 1 - critical information |
---|
39 | # 2 - error information |
---|
40 | # 3 - warnings |
---|
41 | # 4 - for debugging (produces lots of information) |
---|
42 | # |
---|
43 | # Mandatory: no |
---|
44 | # Range: 0-4 |
---|
45 | # Default: |
---|
46 | # DebugLevel=3 |
---|
47 | |
---|
48 | ### Option: SourceIP |
---|
49 | # Source IP address for outgoing connections. |
---|
50 | # |
---|
51 | # Mandatory: no |
---|
52 | # Default: |
---|
53 | # SourceIP= |
---|
54 | |
---|
55 | ### Option: EnableRemoteCommands |
---|
56 | # Whether remote commands from Zabbix server are allowed. |
---|
57 | # 0 - not allowed |
---|
58 | # 1 - allowed |
---|
59 | # |
---|
60 | # Mandatory: no |
---|
61 | # Default: |
---|
62 | # EnableRemoteCommands=0 |
---|
63 | |
---|
64 | ### Option: LogRemoteCommands |
---|
65 | # Enable logging of executed shell commands as warnings. |
---|
66 | # 0 - disabled |
---|
67 | # 1 - enabled |
---|
68 | # |
---|
69 | # Mandatory: no |
---|
70 | # Default: |
---|
71 | # LogRemoteCommands=0 |
---|
72 | |
---|
73 | ##### Passive checks related |
---|
74 | |
---|
75 | ### Option: Server |
---|
76 | # List of comma delimited IP addresses (or hostnames) of Zabbix servers. |
---|
77 | # Incoming connections will be accepted only from the hosts listed here. |
---|
78 | # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally. |
---|
79 | # |
---|
80 | # Mandatory: no |
---|
81 | # Default: |
---|
82 | #Server=127.0.0.1 |
---|
83 | |
---|
84 | ### Option: ListenPort |
---|
85 | # Agent will listen on this port for connections from the server. |
---|
86 | # |
---|
87 | # Mandatory: no |
---|
88 | # Range: 1024-32767 |
---|
89 | # Default: |
---|
90 | # ListenPort=10050 |
---|
91 | |
---|
92 | ### Option: ListenIP |
---|
93 | # List of comma delimited IP addresses that the agent should listen on. |
---|
94 | # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. |
---|
95 | # |
---|
96 | # Mandatory: no |
---|
97 | # Default: |
---|
98 | # ListenIP=0.0.0.0 |
---|
99 | |
---|
100 | ### Option: StartAgents |
---|
101 | # Number of pre-forked instances of zabbix_agentd that process passive checks. |
---|
102 | # If set to 0, disables passive checks and the agent will not listen on any TCP port. |
---|
103 | # |
---|
104 | # Mandatory: no |
---|
105 | # Range: 0-100 |
---|
106 | # Default: |
---|
107 | StartAgents=0 |
---|
108 | |
---|
109 | ##### Active checks related |
---|
110 | |
---|
111 | |
---|
112 | ### Option: ServerActive |
---|
113 | # List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks. |
---|
114 | # If port is not specified, default port is used. |
---|
115 | # IPv6 addresses must be enclosed in square brackets if port for that host is specified. |
---|
116 | # If port is not specified, square brackets for IPv6 addresses are optional. |
---|
117 | # If this parameter is not specified, active checks are disabled. |
---|
118 | # Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1] |
---|
119 | # |
---|
120 | # Mandatory: no |
---|
121 | #SYN-3 NOTE: Dont change this, it will be overwritten by updates. Create a file in /etc/zabbix/zabbix_agentd.conf.d/ instead. |
---|
122 | ServerActive=zabbix1.datux.nl:10002 |
---|
123 | |
---|
124 | ### Option: Hostname |
---|
125 | # Unique, case sensitive hostname. |
---|
126 | # Required for active checks and must match hostname as configured on the server. |
---|
127 | # Value is acquired from HostnameItem if undefined. |
---|
128 | # |
---|
129 | # Mandatory: no |
---|
130 | #SYN-3 NOTE: This is set automaticly via /etc/zabbix/zabbix_agentd.conf.d/hostname.conf |
---|
131 | |
---|
132 | ### Option: HostnameItem |
---|
133 | # Item used for generating Hostname if it is undefined. |
---|
134 | # Ignored if Hostname is defined. |
---|
135 | # |
---|
136 | # Mandatory: no |
---|
137 | # Default: |
---|
138 | # HostnameItem=system.hostname |
---|
139 | |
---|
140 | ### Option: HostMetadata |
---|
141 | # Optional parameter that defines host metadata. |
---|
142 | # Host metadata is used at host auto-registration process. |
---|
143 | # An agent will issue an error and not start if the value is over limit of 255 characters. |
---|
144 | # If not defined, value will be acquired from HostMetadataItem. |
---|
145 | # |
---|
146 | # Mandatory: no |
---|
147 | # Range: 0-255 characters |
---|
148 | # Default: |
---|
149 | HostMetadata=syn3_server |
---|
150 | |
---|
151 | ### Option: HostMetadataItem |
---|
152 | # Optional parameter that defines an item used for getting host metadata. |
---|
153 | # Host metadata is used at host auto-registration process. |
---|
154 | # During an auto-registration request an agent will log a warning message if |
---|
155 | # the value returned by specified item is over limit of 255 characters. |
---|
156 | # This option is only used when HostMetadata is not defined. |
---|
157 | # |
---|
158 | # Mandatory: no |
---|
159 | # Default: |
---|
160 | # HostMetadataItem= |
---|
161 | |
---|
162 | ### Option: RefreshActiveChecks |
---|
163 | # How often list of active checks is refreshed, in seconds. |
---|
164 | # |
---|
165 | # Mandatory: no |
---|
166 | # Range: 60-3600 |
---|
167 | # Default: |
---|
168 | RefreshActiveChecks=120 |
---|
169 | |
---|
170 | ### Option: BufferSend |
---|
171 | # Do not keep data longer than N seconds in buffer. |
---|
172 | # |
---|
173 | # Mandatory: no |
---|
174 | # Range: 1-3600 |
---|
175 | # Default: |
---|
176 | # BufferSend=5 |
---|
177 | |
---|
178 | ### Option: BufferSize |
---|
179 | # Maximum number of values in a memory buffer. The agent will send |
---|
180 | # all collected data to Zabbix Server or Proxy if the buffer is full. |
---|
181 | # |
---|
182 | # Mandatory: no |
---|
183 | # Range: 2-65535 |
---|
184 | # Default: |
---|
185 | BufferSize=1000 |
---|
186 | |
---|
187 | ### Option: MaxLinesPerSecond |
---|
188 | # Maximum number of new lines the agent will send per second to Zabbix Server |
---|
189 | # or Proxy processing 'log' and 'logrt' active checks. |
---|
190 | # The provided value will be overridden by the parameter 'maxlines', |
---|
191 | # provided in 'log' or 'logrt' item keys. |
---|
192 | # |
---|
193 | # Mandatory: no |
---|
194 | # Range: 1-1000 |
---|
195 | # Default: |
---|
196 | # MaxLinesPerSecond=100 |
---|
197 | |
---|
198 | ############ ADVANCED PARAMETERS ################# |
---|
199 | |
---|
200 | ### Option: Alias |
---|
201 | # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. |
---|
202 | # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. |
---|
203 | # Different Alias keys may reference the same item key. |
---|
204 | # For example, to retrieve the ID of user 'zabbix': |
---|
205 | # Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] |
---|
206 | # Now shorthand key zabbix.userid may be used to retrieve data. |
---|
207 | # Aliases can be used in HostMetadataItem but not in HostnameItem parameters. |
---|
208 | # |
---|
209 | # Mandatory: no |
---|
210 | # Range: |
---|
211 | # Default: |
---|
212 | |
---|
213 | ### Option: Timeout |
---|
214 | # Spend no more than Timeout seconds on processing |
---|
215 | # |
---|
216 | # Mandatory: no |
---|
217 | # Range: 1-30 |
---|
218 | # Default: |
---|
219 | # Timeout=3 |
---|
220 | |
---|
221 | ### Option: AllowRoot |
---|
222 | # Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent |
---|
223 | # will try to switch to user 'zabbix' instead. Has no effect if started under a regular user. |
---|
224 | # 0 - do not allow |
---|
225 | # 1 - allow |
---|
226 | # |
---|
227 | # Mandatory: no |
---|
228 | # Default: |
---|
229 | # AllowRoot=0 |
---|
230 | |
---|
231 | |
---|
232 | ####### USER-DEFINED MONITORED PARAMETERS ####### |
---|
233 | |
---|
234 | ### Option: UnsafeUserParameters |
---|
235 | # Allow all characters to be passed in arguments to user-defined parameters. |
---|
236 | # 0 - do not allow |
---|
237 | # 1 - allow |
---|
238 | # |
---|
239 | # Mandatory: no |
---|
240 | # Range: 0-1 |
---|
241 | # Default: |
---|
242 | # UnsafeUserParameters=0 |
---|
243 | |
---|
244 | ### Option: UserParameter |
---|
245 | # User-defined parameter to monitor. There can be several user-defined parameters. |
---|
246 | # Format: UserParameter=<key>,<shell command> |
---|
247 | # See 'zabbix_agentd' directory for examples. |
---|
248 | # |
---|
249 | # Mandatory: no |
---|
250 | # Default: |
---|
251 | # UserParameter= |
---|
252 | |
---|
253 | ####### LOADABLE MODULES ####### |
---|
254 | |
---|
255 | ### Option: LoadModulePath |
---|
256 | # Full path to location of agent modules. |
---|
257 | # Default depends on compilation options. |
---|
258 | # |
---|
259 | # Mandatory: no |
---|
260 | # Default: |
---|
261 | # LoadModulePath=${libdir}/modules |
---|
262 | |
---|
263 | ### Option: LoadModule |
---|
264 | # Module to load at agent startup. Modules are used to extend functionality of the agent. |
---|
265 | # Format: LoadModule=<module.so> |
---|
266 | # The modules must be located in directory specified by LoadModulePath. |
---|
267 | # It is allowed to include multiple LoadModule parameters. |
---|
268 | # |
---|
269 | # Mandatory: no |
---|
270 | # Default: |
---|
271 | # LoadModule= |
---|
272 | |
---|
273 | |
---|
274 | |
---|
275 | #SYN-3 NOTE: put your overrides or enhancements in a file in this directory: |
---|
276 | Include=/etc/zabbix/zabbix_agentd.conf.d/ |
---|