Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/zabbix/files/1.6.5/, net-analyzer/zabbix/files/1.6.5/init.d/, ...
Date: Mon, 21 Dec 2015 15:16:29
Message-Id: 1450710939.178b4659cf9e6b59383077fc6cddf905de620fef.patrick@gentoo
1 commit: 178b4659cf9e6b59383077fc6cddf905de620fef
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 21 15:15:39 2015 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 21 15:15:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178b4659
7
8 net-analyzer/zabbix: Clean out old files #562638
9
10 .../zabbix/files/1.4.6/init.d/zabbix-agentd | 22 -
11 .../zabbix/files/1.4.6/init.d/zabbix-server | 21 -
12 net-analyzer/zabbix/files/1.4.6/postinstall-en.txt | 8 -
13 net-analyzer/zabbix/files/1.4.6/zabbix_agent.conf | 25 --
14 net-analyzer/zabbix/files/1.4.6/zabbix_agentd.conf | 70 ----
15 net-analyzer/zabbix/files/1.4.6/zabbix_server.conf | 98 -----
16 .../zabbix/files/1.6.5/init.d/zabbix-agentd | 22 -
17 .../zabbix/files/1.6.5/init.d/zabbix-server | 21 -
18 net-analyzer/zabbix/files/1.6.5/postinstall-en.txt | 8 -
19 net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf | 27 --
20 net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf | 90 ----
21 net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf | 175 --------
22 net-analyzer/zabbix/files/1.6.5/zabbix_server.conf | 155 -------
23 .../zabbix/files/1.6.5/zabbix_trapper.conf | 44 --
24 .../zabbix/files/1.6.6/init.d/zabbix-agentd | 22 -
25 .../zabbix/files/1.6.6/init.d/zabbix-proxy | 21 -
26 .../zabbix/files/1.6.6/init.d/zabbix-server | 21 -
27 net-analyzer/zabbix/files/1.6.6/postinstall-en.txt | 8 -
28 net-analyzer/zabbix/files/1.6.6/zabbix_agent.conf | 27 --
29 net-analyzer/zabbix/files/1.6.6/zabbix_agentd.conf | 90 ----
30 net-analyzer/zabbix/files/1.6.6/zabbix_proxy.conf | 175 --------
31 net-analyzer/zabbix/files/1.6.6/zabbix_server.conf | 155 -------
32 .../zabbix/files/1.6.6/zabbix_trapper.conf | 44 --
33 net-analyzer/zabbix/files/2.0/init.d/zabbix-agentd | 29 --
34 net-analyzer/zabbix/files/2.0/init.d/zabbix-proxy | 28 --
35 net-analyzer/zabbix/files/2.0/init.d/zabbix-server | 27 --
36 net-analyzer/zabbix/files/2.0/patches/zbx282.patch | 182 --------
37 .../zabbix/files/2.0/patches/zbx6097.patch | 66 ---
38 .../zabbix/files/2.0/patches/zbx7479.patch | 83 ----
39 net-analyzer/zabbix/files/2.0/zabbix_proxy.conf | 463 ---------------------
40 30 files changed, 2227 deletions(-)
41
42 diff --git a/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-agentd b/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-agentd
43 deleted file mode 100644
44 index af8eaa5..0000000
45 --- a/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-agentd
46 +++ /dev/null
47 @@ -1,22 +0,0 @@
48 -#!/sbin/runscript
49 -# Copyright 1999-2011 Gentoo Foundation
50 -# Distributed under the terms of the GNU General Public License v2
51 -# $Id$
52 -
53 -depend() {
54 - need net
55 - provide zabbix-agent
56 - use zabbix-server
57 -}
58 -
59 -start() {
60 - ebegin "Starting Zabbix agent"
61 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd
62 - eend $?
63 -}
64 -
65 -stop() {
66 - ebegin "Stopping Zabbix agent"
67 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_agentd.pid
68 - eend $?
69 -}
70
71 diff --git a/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-server b/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-server
72 deleted file mode 100644
73 index 84c2adf..0000000
74 --- a/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-server
75 +++ /dev/null
76 @@ -1,21 +0,0 @@
77 -#!/sbin/runscript
78 -# Copyright 1999-2011 Gentoo Foundation
79 -# Distributed under the terms of the GNU General Public License v2
80 -# $Id$
81 -
82 -depend() {
83 - need net
84 - use mysql postgresql
85 -}
86 -
87 -start() {
88 - ebegin "Starting Zabbix server"
89 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_server
90 - eend $?
91 -}
92 -
93 -stop() {
94 - ebegin "Stopping Zabbix server"
95 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_server.pid
96 - eend $?
97 -}
98
99 diff --git a/net-analyzer/zabbix/files/1.4.6/postinstall-en.txt b/net-analyzer/zabbix/files/1.4.6/postinstall-en.txt
100 deleted file mode 100644
101 index 9d13a9f..0000000
102 --- a/net-analyzer/zabbix/files/1.4.6/postinstall-en.txt
103 +++ /dev/null
104 @@ -1,8 +0,0 @@
105 -Please change the values of the following variables in
106 -${MY_HTDOCSDIR}/include/db.inc.php:
107 -
108 - DB_TYPE
109 - DB_SERVER
110 - DB_DATABASE
111 - DB_USER
112 - DB_PASSWORD
113
114 diff --git a/net-analyzer/zabbix/files/1.4.6/zabbix_agent.conf b/net-analyzer/zabbix/files/1.4.6/zabbix_agent.conf
115 deleted file mode 100644
116 index 4299738..0000000
117 --- a/net-analyzer/zabbix/files/1.4.6/zabbix_agent.conf
118 +++ /dev/null
119 @@ -1,25 +0,0 @@
120 -# This is config file for zabbix_agent
121 -# To get more information about ZABBIX,
122 -# go http://www.zabbix.com
123 -
124 -# IP address of ZABBIX server
125 -# Connections from other hosts will be denied
126 -Server=127.0.0.1
127 -
128 -# Spend no more than Timeout seconds on processing
129 -# Must be between 1 and 30
130 -Timeout=3
131 -
132 -####### USER-DEFINED MONITORED PARAMETERS #######
133 -# Format: UserParameter=<key>,<shell command>
134 -# Note that shell command must not return empty string or EOL only
135 -#UserParameter=system.test,who|wc -l
136 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
137 -### Change -u<username> and add -p<password> if required
138 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
139 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
140 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
141 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
142 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
143 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
144 -#UserParameter=mysql.version,mysql -V
145
146 diff --git a/net-analyzer/zabbix/files/1.4.6/zabbix_agentd.conf b/net-analyzer/zabbix/files/1.4.6/zabbix_agentd.conf
147 deleted file mode 100644
148 index e040f17..0000000
149 --- a/net-analyzer/zabbix/files/1.4.6/zabbix_agentd.conf
150 +++ /dev/null
151 @@ -1,70 +0,0 @@
152 -# This is config file for zabbix_agentd
153 -# To get more information about ZABBIX, go http://www.zabbix.com
154 -
155 -############ GENERAL PARAMETERS #################
156 -
157 -# List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
158 -# No spaces allowed. First entry is used for sending active checks.
159 -# Note that hostnames must resolve hostname->IP address and
160 -# IP address->hostname.
161 -Server=127.0.0.1
162 -
163 -# Server port for sending active checks
164 -ServerPort=10051
165 -
166 -# Unique hostname. Required for active checks.
167 -Hostname=localhost
168 -
169 -# Listen port. Default is 10050
170 -ListenPort=10050
171 -
172 -# IP address to bind agent
173 -# If missing, bind to all available IPs
174 -ListenIP=127.0.0.1
175 -
176 -# Number of pre-forked instances of zabbix_agentd.
177 -# Default value is 5
178 -# This parameter must be between 1 and 16
179 -StartAgents=5
180 -
181 -# How often refresh list of active checks. 2 minutes by default.
182 -#RefreshActiveChecks=120
183 -
184 -# Disable active checks. The agent will work in passive mode listening server.
185 -#DisableActive=1
186 -
187 -# Enable remote commands for ZABBIX agent. By default remote commands disabled.
188 -#EnableRemoteCommands=1
189 -
190 -# Specifies debug level
191 -# 0 - debug is not created
192 -# 1 - critical information
193 -# 2 - error information
194 -# 3 - warnings (default)
195 -# 4 - for debugging (produces lots of information)
196 -DebugLevel=3
197 -
198 -# Name of PID file
199 -PidFile=/var/run/zabbix/zabbix_agentd.pid
200 -
201 -# Name of log file.
202 -# If not set, syslog will be used
203 -LogFile=/var/log/zabbix/zabbix_agentd.log
204 -
205 -# Spend no more than Timeout seconds on processing
206 -# Must be between 1 and 30
207 -Timeout=3
208 -
209 -####### USER-DEFINED MONITORED PARAMETERS #######
210 -# Format: UserParameter=<key>,<shell command>
211 -# Note that shell command must not return empty string or EOL only
212 -#UserParameter=system.test,who|wc -l
213 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
214 -### Change -u<username> and add -p<password> if required
215 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
216 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
217 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
218 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
219 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
220 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
221 -#UserParameter=mysql.version,mysql -V
222
223 diff --git a/net-analyzer/zabbix/files/1.4.6/zabbix_server.conf b/net-analyzer/zabbix/files/1.4.6/zabbix_server.conf
224 deleted file mode 100644
225 index 12490f8..0000000
226 --- a/net-analyzer/zabbix/files/1.4.6/zabbix_server.conf
227 +++ /dev/null
228 @@ -1,98 +0,0 @@
229 -# This is config file for ZABBIX server process
230 -# To get more information about ZABBIX,
231 -# go http://www.zabbix.com
232 -
233 -############ GENERAL PARAMETERS #################
234 -
235 -# This defines which server this is.
236 -# Default value 1
237 -# This parameter must be between 1 and 255
238 -Server=1
239 -
240 -# Number of pre-forked instances of pollers
241 -# Default value is 6
242 -# This parameter must be between 6 and 255
243 -StartPollers=6
244 -
245 -# Number of pre-forked instances of trappers
246 -# Default value is 5
247 -# This parameter must be between 2 and 255
248 -StartTrappers=5
249 -
250 -# Listen interface for trapper. Trapper will listen all network interfaces
251 -# if this parameter is missing.
252 -ListenIP=127.0.0.1
253 -
254 -# Listen port for trapping. Default port number is 10051. This parameter
255 -# must be between 1024 and 32767
256 -ListenPort=10051
257 -
258 -# How often ZABBIX will perform housekeeping procedure
259 -# (in hours)
260 -# Default value is 1 hour
261 -# Housekeeping is removing unnecessary information from
262 -# tables history, alert, and alarms
263 -# This parameter must be between 1 and 24
264 -HousekeepingFrequency=1
265 -
266 -# How often ZABBIX will try to send unsent alerts
267 -# (in seconds)
268 -# Default value is 30 seconds
269 -SenderFrequency=30
270 -
271 -# Uncomment this line to disable housekeeping procedure
272 -#DisableHousekeeping=1
273 -
274 -# Specifies debug level
275 -# 0 - debug is not created
276 -# 1 - critical information
277 -# 2 - error information
278 -# 3 - warnings (default)
279 -# 4 - for debugging (produces lots of information)
280 -DebugLevel=3
281 -
282 -# Specifies how long we wait for agent (in sec)
283 -# Must be between 1 and 30
284 -Timeout=5
285 -
286 -# After how many seconds of unreachability treat a host as unavailable
287 -UnreachablePeriod=45
288 -
289 -# How ofter check host for availability during the unreachability period
290 -UnavailableDelay=15
291 -
292 -# How ofter check host for availability during the unavailability period
293 -UnavailableDelay=60
294 -
295 -# Name of PID file
296 -PidFile=/var/run/zabbix/zabbix_server.pid
297 -
298 -# Name of log file
299 -# If not set, syslog is used
300 -LogFile=/var/log/zabbix/zabbix_server.log
301 -
302 -#Location for custom alert scripts
303 -AlertScriptsPath=/var/lib/zabbix/scripts
304 -
305 -#Location of 'fping. Default is /usr/sbin/fping
306 -FpingLocation=/usr/sbin/fping
307 -
308 -# Frequency of ICMP pings. Defauls is 30 second.
309 -PingerFrequency=30
310 -
311 -# Database host name
312 -# Default is localhost
313 -DBHost=localhost
314 -
315 -# Database name
316 -DBName=zabbix
317 -
318 -# Database user
319 -DBUser=zabbix
320 -
321 -# Database password
322 -# Comment this line if no password used
323 -DBPassword=zabbix
324 -
325 -# Connect to MySQL using Unix socket?
326 -#DBSocket=/var/run/mysqld/mysqld.sock
327
328 diff --git a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd
329 deleted file mode 100644
330 index af8eaa5..0000000
331 --- a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd
332 +++ /dev/null
333 @@ -1,22 +0,0 @@
334 -#!/sbin/runscript
335 -# Copyright 1999-2011 Gentoo Foundation
336 -# Distributed under the terms of the GNU General Public License v2
337 -# $Id$
338 -
339 -depend() {
340 - need net
341 - provide zabbix-agent
342 - use zabbix-server
343 -}
344 -
345 -start() {
346 - ebegin "Starting Zabbix agent"
347 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd
348 - eend $?
349 -}
350 -
351 -stop() {
352 - ebegin "Stopping Zabbix agent"
353 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_agentd.pid
354 - eend $?
355 -}
356
357 diff --git a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server
358 deleted file mode 100644
359 index 84c2adf..0000000
360 --- a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server
361 +++ /dev/null
362 @@ -1,21 +0,0 @@
363 -#!/sbin/runscript
364 -# Copyright 1999-2011 Gentoo Foundation
365 -# Distributed under the terms of the GNU General Public License v2
366 -# $Id$
367 -
368 -depend() {
369 - need net
370 - use mysql postgresql
371 -}
372 -
373 -start() {
374 - ebegin "Starting Zabbix server"
375 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_server
376 - eend $?
377 -}
378 -
379 -stop() {
380 - ebegin "Stopping Zabbix server"
381 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_server.pid
382 - eend $?
383 -}
384
385 diff --git a/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt b/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt
386 deleted file mode 100644
387 index 9d13a9f..0000000
388 --- a/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt
389 +++ /dev/null
390 @@ -1,8 +0,0 @@
391 -Please change the values of the following variables in
392 -${MY_HTDOCSDIR}/include/db.inc.php:
393 -
394 - DB_TYPE
395 - DB_SERVER
396 - DB_DATABASE
397 - DB_USER
398 - DB_PASSWORD
399
400 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf
401 deleted file mode 100644
402 index dfa5c1b..0000000
403 --- a/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf
404 +++ /dev/null
405 @@ -1,27 +0,0 @@
406 -# This is config file for zabbix_agent
407 -# To get more information about ZABBIX,
408 -# go http://www.zabbix.com
409 -
410 -# IP address of ZABBIX server
411 -# Connections from other hosts will be denied
412 -
413 -Server=127.0.0.1
414 -
415 -# Spend no more than Timeout seconds on processing
416 -# Must be between 1 and 30
417 -
418 -Timeout=3
419 -
420 -####### USER-DEFINED MONITORED PARAMETERS #######
421 -# Format: UserParameter=<key>,<shell command>
422 -# Note that shell command must not return empty string or EOL only
423 -#UserParameter=system.test,who|wc -l
424 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
425 -### Change -u<username> and add -p<password> if required
426 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
427 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
428 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
429 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
430 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
431 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
432 -#UserParameter=mysql.version,mysql -V
433
434 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf
435 deleted file mode 100644
436 index 44ce9d8..0000000
437 --- a/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf
438 +++ /dev/null
439 @@ -1,90 +0,0 @@
440 -# This is config file for zabbix_agentd
441 -# To get more information about ZABBIX, go http://www.zabbix.com
442 -
443 -############ GENERAL PARAMETERS #################
444 -
445 -# List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
446 -# No spaces allowed. First entry is used for sending active checks.
447 -# Note that hostnames must resolve hostname->IP address and
448 -# IP address->hostname.
449 -
450 -Server=127.0.0.1
451 -
452 -# Server port for sending active checks
453 -
454 -#ServerPort=10051
455 -
456 -# Unique hostname. Required for active checks.
457 -
458 -Hostname=ZABBIX Server
459 -
460 -# Listen port. Default is 10050
461 -
462 -#ListenPort=10050
463 -
464 -# IP address to bind agent
465 -# If missing, bind to all available IPs
466 -
467 -#ListenIP=127.0.0.1
468 -
469 -# Source IP address for outgouing connections
470 -#SourceIP=
471 -
472 -# Number of pre-forked instances of zabbix_agentd.
473 -# Default value is 5
474 -# This parameter must be between 1 and 16
475 -
476 -StartAgents=5
477 -
478 -# How often refresh list of active checks. 2 minutes by default.
479 -
480 -#RefreshActiveChecks=120
481 -
482 -# Disable active checks. The agent will work in passive mode listening server.
483 -
484 -#DisableActive=1
485 -
486 -# Enable remote commands for ZABBIX agent. By default remote commands disabled.
487 -
488 -#EnableRemoteCommands=1
489 -
490 -# Specifies debug level
491 -# 0 - debug is not created
492 -# 1 - critical information
493 -# 2 - error information
494 -# 3 - warnings (default)
495 -# 4 - for debugging (produces lots of information)
496 -
497 -DebugLevel=3
498 -
499 -# Name of PID file
500 -
501 -PidFile=/var/run/zabbix/zabbix_agentd.pid
502 -
503 -# Name of log file.
504 -# If not set, syslog will be used
505 -
506 -LogFile=/tmp/zabbix_agentd.log
507 -
508 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
509 -#LogFileSize=1
510 -
511 -# Spend no more than Timeout seconds on processing
512 -# Must be between 1 and 30
513 -
514 -Timeout=3
515 -
516 -####### USER-DEFINED MONITORED PARAMETERS #######
517 -# Format: UserParameter=<key>,<shell command>
518 -# Note that shell command must not return empty string or EOL only
519 -#UserParameter=system.test,who|wc -l
520 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
521 -### Change -u<username> and add -p<password> if required
522 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
523 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
524 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
525 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
526 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
527 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
528 -#UserParameter=mysql.version,mysql -V
529 -
530
531 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf
532 deleted file mode 100644
533 index a09a7b6..0000000
534 --- a/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf
535 +++ /dev/null
536 @@ -1,175 +0,0 @@
537 -# This is config file for ZABBIX server process
538 -# To get more information about ZABBIX,
539 -# go http://www.zabbix.com
540 -
541 -############ GENERAL PARAMETERS #################
542 -
543 -# IP address (or hostname) of ZABBIX servers.
544 -
545 -Server=127.0.0.1
546 -
547 -# Server port for sending active checks
548 -
549 -ServerPort=10051
550 -
551 -# Unique hostname.
552 -
553 -Hostname=proxy
554 -
555 -# Number of pre-forked instances of pollers
556 -# Default value is 5
557 -# This parameter must be between 0 and 255
558 -#StartPollers=5
559 -
560 -# Number of pre-forked instances of IPMI pollers
561 -# Default value is 0
562 -# This parameter must be between 0 and 255
563 -#StartIPMIPollers=0
564 -
565 -# Number of pre-forked instances of pollers for unreachable hosts
566 -# Default value is 1
567 -# This parameter must be between 0 and 255
568 -#StartPollersUnreachable=1
569 -
570 -# Number of pre-forked instances of trappers
571 -# Default value is 5
572 -# This parameter must be between 0 and 255
573 -#StartTrappers=5
574 -
575 -# Number of pre-forked instances of ICMP pingers
576 -# Default value is 1
577 -# This parameter must be between 0 and 255
578 -#StartPingers=1
579 -
580 -# Number of pre-forked instances of discoverers
581 -# Default value is 1
582 -# This parameter must be between 0 and 255
583 -#StartDiscoverers=1
584 -
585 -# Number of pre-forked instances of HTTP pollers
586 -# Default value is 1
587 -# This parameter must be between 0 and 255
588 -#StartHTTPPollers=1
589 -
590 -# Listen port for trapper. Default port number is 10051. This parameter
591 -# must be between 1024 and 32767
592 -#ListenPort=10051
593 -
594 -# Source IP address for outgouing connections
595 -#SourceIP=
596 -
597 -# Listen interface for trapper. Trapper will listen all network interfaces
598 -# if this parameter is missing.
599 -#ListenIP=127.0.0.1
600 -
601 -# How often ZABBIX will perform sending hearbeat message
602 -# (in seconds)
603 -# Default value is 60 seconds
604 -# Set to 0 to disable heartbeat messages
605 -# This parameter must be between 0 and 3600
606 -#HeartbeatFrequency=60
607 -
608 -# How often ZABBIX will perform sync configuration data
609 -# (in seconds)
610 -# Default value is 3600 seconds (1h)
611 -# This parameter must be between 1 and 604800 (1 week)
612 -#ConfigFrequency=3600
613 -
614 -# How often ZABBIX will perform housekeeping procedure
615 -# (in hours)
616 -# Default value is 1 hour
617 -# Housekeeping is removing unnecessary information from
618 -# tables history, alert, and alarms
619 -# This parameter must be between 1 and 24
620 -#HousekeepingFrequency=1
621 -
622 -# How often ZABBIX will try to send unsent alerts
623 -# (in seconds)
624 -# Default value is 30 seconds
625 -#SenderFrequency=30
626 -
627 -# Local bufer size in hours. Proxy will keep collected data N hours.
628 -# Default value is 0 hours
629 -#ProxyLocalBuffer=0
630 -
631 -# Offline buffer size in hours. It is used when server is not available.
632 -# Older data is removed.
633 -# Default value is 1 hours
634 -#ProxyOfflineBuffer=1
635 -
636 -# Specifies debug level
637 -# 0 - debug is not created
638 -# 1 - critical information
639 -# 2 - error information
640 -# 3 - warnings (default)
641 -# 4 - for debugging (produces lots of information)
642 -#DebugLevel=3
643 -
644 -# Specifies how long we wait for agent response (in sec)
645 -# Must be between 1 and 30
646 -Timeout=5
647 -
648 -# Specifies how many seconds trapper may spend processing new data
649 -# Must be between 1 and 30
650 -#TrapperTimeout=5
651 -
652 -# After how many seconds of unreachability treat a host as unavailable
653 -#UnreachablePeriod=45
654 -
655 -# How ofter check host for availability during the unreachability period
656 -#UnavailableDelay=15
657 -
658 -# How ofter check host for availability during the unavailability period
659 -#UnavailableDelay=60
660 -
661 -# Name of PID file
662 -PidFile=/var/tmp/zabbix_proxy.pid
663 -
664 -# Name of log file
665 -# If not set, syslog is used
666 -LogFile=/tmp/zabbix_proxy.log
667 -
668 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
669 -#LogFileSize=1
670 -
671 -# Location for custom alert scripts
672 -AlertScriptsPath=/home/zabbix/bin/
673 -
674 -# Location of external scripts
675 -#ExternalScripts=/etc/zabbix/externalscripts
676 -
677 -# Location of 'fping. Default is /usr/sbin/fping
678 -# Make sure that fping binary has root permissions and SUID flag set
679 -#FpingLocation=/usr/sbin/fping
680 -
681 -# Location of fping6. Default is /usr/sbin/fping6
682 -# Make sure that fping binary has root permissions and SUID flag set
683 -#Fping6Location=/usr/sbin/fping6
684 -
685 -# Temporary directory. Default is /tmp
686 -#TmpDir=/tmp
687 -
688 -# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
689 -#PingerFrequency=60
690 -
691 -# Database host name
692 -# Default is localhost
693 -
694 -#DBHost=localhost
695 -
696 -# Database name
697 -# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
698 -DBName=proxy
699 -
700 -# Database user
701 -
702 -DBUser=root
703 -
704 -# Database password
705 -# Comment this line if no password used
706 -
707 -#DBPassword=<password>
708 -
709 -# Connect to MySQL using Unix socket?
710 -
711 -#DBSocket=/tmp/mysql.sock
712
713 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf
714 deleted file mode 100644
715 index 2821ed2..0000000
716 --- a/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf
717 +++ /dev/null
718 @@ -1,155 +0,0 @@
719 -# This is config file for ZABBIX server process
720 -# To get more information about ZABBIX,
721 -# go http://www.zabbix.com
722 -
723 -############ GENERAL PARAMETERS #################
724 -
725 -# This defines unique NodeID in distributed setup,
726 -# Default value 0 (standalone server)
727 -# This parameter must be between 0 and 999
728 -#NodeID=0
729 -
730 -# Number of pre-forked instances of pollers
731 -# Default value is 5
732 -# This parameter must be between 0 and 255
733 -#StartPollers=5
734 -
735 -# Number of pre-forked instances of IPMI pollers
736 -# Default value is 0
737 -# This parameter must be between 0 and 255
738 -#StartIPMIPollers=0
739 -
740 -# Number of pre-forked instances of pollers for unreachable hosts
741 -# Default value is 1
742 -# This parameter must be between 0 and 255
743 -#StartPollersUnreachable=1
744 -
745 -# Number of pre-forked instances of trappers
746 -# Default value is 5
747 -# This parameter must be between 0 and 255
748 -#StartTrappers=5
749 -
750 -# Number of pre-forked instances of ICMP pingers
751 -# Default value is 1
752 -# This parameter must be between 0 and 255
753 -#StartPingers=1
754 -
755 -# Number of pre-forked instances of discoverers
756 -# Default value is 1
757 -# This parameter must be between 0 and 255
758 -#StartDiscoverers=1
759 -
760 -# Number of pre-forked instances of HTTP pollers
761 -# Default value is 1
762 -# This parameter must be between 0 and 255
763 -#StartHTTPPollers=1
764 -
765 -# Listen port for trapper. Default port number is 10051. This parameter
766 -# must be between 1024 and 32767
767 -
768 -#ListenPort=10051
769 -
770 -# Source IP address for outgouing connections
771 -#SourceIP=
772 -
773 -# Listen interface for trapper. Trapper will listen all network interfaces
774 -# if this parameter is missing.
775 -
776 -#ListenIP=127.0.0.1
777 -
778 -# How often ZABBIX will perform housekeeping procedure
779 -# (in hours)
780 -# Default value is 1 hour
781 -# Housekeeping is removing unnecessary information from
782 -# tables history, alert, and alarms
783 -# This parameter must be between 1 and 24
784 -
785 -#HousekeepingFrequency=1
786 -
787 -# How often ZABBIX will try to send unsent alerts
788 -# (in seconds)
789 -# Default value is 30 seconds
790 -SenderFrequency=30
791 -
792 -# Uncomment this line to disable housekeeping procedure
793 -#DisableHousekeeping=1
794 -
795 -# Specifies debug level
796 -# 0 - debug is not created
797 -# 1 - critical information
798 -# 2 - error information
799 -# 3 - warnings (default)
800 -# 4 - for debugging (produces lots of information)
801 -
802 -DebugLevel=3
803 -
804 -# Specifies how long we wait for agent response (in sec)
805 -# Must be between 1 and 30
806 -Timeout=5
807 -
808 -# Specifies how many seconds trapper may spend processing new data
809 -# Must be between 1 and 30
810 -#TrapperTimeout=5
811 -
812 -# After how many seconds of unreachability treat a host as unavailable
813 -#UnreachablePeriod=45
814 -
815 -# How ofter check host for availability during the unreachability period
816 -#UnavailableDelay=15
817 -
818 -# How ofter check host for availability during the unavailability period
819 -#UnavailableDelay=60
820 -
821 -# Name of PID file
822 -
823 -PidFile=/var/run/zabbix/zabbix_server.pid
824 -
825 -# Name of log file
826 -# If not set, syslog is used
827 -
828 -LogFile=/tmp/zabbix_server.log
829 -
830 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
831 -#LogFileSize=1
832 -
833 -# Location for custom alert scripts
834 -AlertScriptsPath=/home/zabbix/bin/
835 -
836 -# Location of external scripts
837 -#ExternalScripts=/etc/zabbix/externalscripts
838 -
839 -# Location of fping. Default is /usr/sbin/fping
840 -# Make sure that fping binary has root permissions and SUID flag set
841 -#FpingLocation=/usr/sbin/fping
842 -
843 -# Location of fping6. Default is /usr/sbin/fping6
844 -# Make sure that fping binary has root permissions and SUID flag set
845 -#Fping6Location=/usr/sbin/fping6
846 -
847 -# Temporary directory. Default is /tmp
848 -#TmpDir=/tmp
849 -
850 -# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
851 -#PingerFrequency=60
852 -
853 -# Database host name
854 -# Default is localhost
855 -
856 -#DBHost=localhost
857 -
858 -# Database name
859 -# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
860 -DBName=zabbix
861 -
862 -# Database user
863 -
864 -DBUser=root
865 -
866 -# Database password
867 -# Comment this line if no password used
868 -
869 -#DBPassword=<password>
870 -
871 -# Connect to MySQL using Unix socket?
872 -
873 -#DBSocket=/tmp/mysql.sock
874
875 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf
876 deleted file mode 100644
877 index 2022295..0000000
878 --- a/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf
879 +++ /dev/null
880 @@ -1,44 +0,0 @@
881 -# This is config file for zabbix_trapper
882 -# To get more information about ZABBIX,
883 -# go http://www.zabbix.com
884 -
885 -############ GENERAL PARAMETERS #################
886 -
887 -# Specifies debug level
888 -# 1 - critical information
889 -# 2 - warnings (default)
890 -# 3 - for debugging (produces lots of information)
891 -
892 -DebugLevel=2
893 -
894 -# Spend no more than Timeout seconds on processing
895 -# Must be between 1 and 30
896 -
897 -Timeout=3
898 -
899 -# Name of log file
900 -# If not set, syslog will be used
901 -
902 -LogFile=/tmp/zabbix_trapper.log
903 -
904 -# Database host name
905 -# Default is localhost
906 -
907 -#DBHost=localhost
908 -
909 -# Database name
910 -
911 -DBName=zabbix
912 -
913 -# Database user
914 -
915 -DBUser=root
916 -
917 -# Database password
918 -# Comment this line if no password used
919 -
920 -#DBPassword=<password>
921 -
922 -# Connect to MySQL usig Unix socket?
923 -
924 -#DBSocket=/tmp/mysql.sock
925
926 diff --git a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd b/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd
927 deleted file mode 100644
928 index af8eaa5..0000000
929 --- a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd
930 +++ /dev/null
931 @@ -1,22 +0,0 @@
932 -#!/sbin/runscript
933 -# Copyright 1999-2011 Gentoo Foundation
934 -# Distributed under the terms of the GNU General Public License v2
935 -# $Id$
936 -
937 -depend() {
938 - need net
939 - provide zabbix-agent
940 - use zabbix-server
941 -}
942 -
943 -start() {
944 - ebegin "Starting Zabbix agent"
945 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd
946 - eend $?
947 -}
948 -
949 -stop() {
950 - ebegin "Stopping Zabbix agent"
951 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_agentd.pid
952 - eend $?
953 -}
954
955 diff --git a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-proxy b/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-proxy
956 deleted file mode 100644
957 index 4a007b1..0000000
958 --- a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-proxy
959 +++ /dev/null
960 @@ -1,21 +0,0 @@
961 -#!/sbin/runscript
962 -# Copyright 1999-2011 Gentoo Foundation
963 -# Distributed under the terms of the GNU General Public License v2
964 -# $Id$
965 -
966 -depend() {
967 - need net
968 - #use mysql postgresql
969 -}
970 -
971 -start() {
972 - ebegin "Starting Zabbix proxy"
973 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_proxy
974 - eend $?
975 -}
976 -
977 -stop() {
978 - ebegin "Stopping Zabbix proxy"
979 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_proxy.pid
980 - eend $?
981 -}
982
983 diff --git a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server b/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server
984 deleted file mode 100644
985 index 84c2adf..0000000
986 --- a/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server
987 +++ /dev/null
988 @@ -1,21 +0,0 @@
989 -#!/sbin/runscript
990 -# Copyright 1999-2011 Gentoo Foundation
991 -# Distributed under the terms of the GNU General Public License v2
992 -# $Id$
993 -
994 -depend() {
995 - need net
996 - use mysql postgresql
997 -}
998 -
999 -start() {
1000 - ebegin "Starting Zabbix server"
1001 - start-stop-daemon --start --user zabbix --group zabbix --exec /usr/sbin/zabbix_server
1002 - eend $?
1003 -}
1004 -
1005 -stop() {
1006 - ebegin "Stopping Zabbix server"
1007 - start-stop-daemon --stop --pidfile /var/run/zabbix/zabbix_server.pid
1008 - eend $?
1009 -}
1010
1011 diff --git a/net-analyzer/zabbix/files/1.6.6/postinstall-en.txt b/net-analyzer/zabbix/files/1.6.6/postinstall-en.txt
1012 deleted file mode 100644
1013 index 9d13a9f..0000000
1014 --- a/net-analyzer/zabbix/files/1.6.6/postinstall-en.txt
1015 +++ /dev/null
1016 @@ -1,8 +0,0 @@
1017 -Please change the values of the following variables in
1018 -${MY_HTDOCSDIR}/include/db.inc.php:
1019 -
1020 - DB_TYPE
1021 - DB_SERVER
1022 - DB_DATABASE
1023 - DB_USER
1024 - DB_PASSWORD
1025
1026 diff --git a/net-analyzer/zabbix/files/1.6.6/zabbix_agent.conf b/net-analyzer/zabbix/files/1.6.6/zabbix_agent.conf
1027 deleted file mode 100644
1028 index dfa5c1b..0000000
1029 --- a/net-analyzer/zabbix/files/1.6.6/zabbix_agent.conf
1030 +++ /dev/null
1031 @@ -1,27 +0,0 @@
1032 -# This is config file for zabbix_agent
1033 -# To get more information about ZABBIX,
1034 -# go http://www.zabbix.com
1035 -
1036 -# IP address of ZABBIX server
1037 -# Connections from other hosts will be denied
1038 -
1039 -Server=127.0.0.1
1040 -
1041 -# Spend no more than Timeout seconds on processing
1042 -# Must be between 1 and 30
1043 -
1044 -Timeout=3
1045 -
1046 -####### USER-DEFINED MONITORED PARAMETERS #######
1047 -# Format: UserParameter=<key>,<shell command>
1048 -# Note that shell command must not return empty string or EOL only
1049 -#UserParameter=system.test,who|wc -l
1050 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
1051 -### Change -u<username> and add -p<password> if required
1052 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
1053 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
1054 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
1055 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
1056 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
1057 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
1058 -#UserParameter=mysql.version,mysql -V
1059
1060 diff --git a/net-analyzer/zabbix/files/1.6.6/zabbix_agentd.conf b/net-analyzer/zabbix/files/1.6.6/zabbix_agentd.conf
1061 deleted file mode 100644
1062 index aac55ee..0000000
1063 --- a/net-analyzer/zabbix/files/1.6.6/zabbix_agentd.conf
1064 +++ /dev/null
1065 @@ -1,90 +0,0 @@
1066 -# This is config file for zabbix_agentd
1067 -# To get more information about ZABBIX, go http://www.zabbix.com
1068 -
1069 -############ GENERAL PARAMETERS #################
1070 -
1071 -# List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
1072 -# No spaces allowed. First entry is used for sending active checks.
1073 -# Note that hostnames must resolve hostname->IP address and
1074 -# IP address->hostname.
1075 -
1076 -Server=127.0.0.1
1077 -
1078 -# Server port for sending active checks
1079 -
1080 -#ServerPort=10051
1081 -
1082 -# Unique hostname. Required for active checks.
1083 -
1084 -Hostname=ZABBIX Server
1085 -
1086 -# Listen port. Default is 10050
1087 -
1088 -#ListenPort=10050
1089 -
1090 -# IP address to bind agent
1091 -# If missing, bind to all available IPs
1092 -
1093 -#ListenIP=127.0.0.1
1094 -
1095 -# Source IP address for outgouing connections
1096 -#SourceIP=
1097 -
1098 -# Number of pre-forked instances of zabbix_agentd.
1099 -# Default value is 5
1100 -# This parameter must be between 1 and 16
1101 -
1102 -StartAgents=5
1103 -
1104 -# How often refresh list of active checks. 2 minutes by default.
1105 -
1106 -#RefreshActiveChecks=120
1107 -
1108 -# Disable active checks. The agent will work in passive mode listening server.
1109 -
1110 -#DisableActive=1
1111 -
1112 -# Enable remote commands for ZABBIX agent. By default remote commands disabled.
1113 -
1114 -#EnableRemoteCommands=1
1115 -
1116 -# Specifies debug level
1117 -# 0 - debug is not created
1118 -# 1 - critical information
1119 -# 2 - error information
1120 -# 3 - warnings (default)
1121 -# 4 - for debugging (produces lots of information)
1122 -
1123 -DebugLevel=3
1124 -
1125 -# Name of PID file
1126 -
1127 -PidFile=/var/run/zabbix/zabbix_agentd.pid
1128 -
1129 -# Name of log file.
1130 -# If not set, syslog will be used
1131 -
1132 -LogFile=/var/log/zabbix/zabbix_agentd.log
1133 -
1134 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
1135 -#LogFileSize=1
1136 -
1137 -# Spend no more than Timeout seconds on processing
1138 -# Must be between 1 and 30
1139 -
1140 -Timeout=3
1141 -
1142 -####### USER-DEFINED MONITORED PARAMETERS #######
1143 -# Format: UserParameter=<key>,<shell command>
1144 -# Note that shell command must not return empty string or EOL only
1145 -#UserParameter=system.test,who|wc -l
1146 -### Set of parameter for monitoring MySQL server (v3.23.42 and later)
1147 -### Change -u<username> and add -p<password> if required
1148 -#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
1149 -#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
1150 -#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
1151 -#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
1152 -#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
1153 -#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
1154 -#UserParameter=mysql.version,mysql -V
1155 -
1156
1157 diff --git a/net-analyzer/zabbix/files/1.6.6/zabbix_proxy.conf b/net-analyzer/zabbix/files/1.6.6/zabbix_proxy.conf
1158 deleted file mode 100644
1159 index e0380d4..0000000
1160 --- a/net-analyzer/zabbix/files/1.6.6/zabbix_proxy.conf
1161 +++ /dev/null
1162 @@ -1,175 +0,0 @@
1163 -# This is config file for ZABBIX server process
1164 -# To get more information about ZABBIX,
1165 -# go http://www.zabbix.com
1166 -
1167 -############ GENERAL PARAMETERS #################
1168 -
1169 -# IP address (or hostname) of ZABBIX servers.
1170 -
1171 -Server=127.0.0.1
1172 -
1173 -# Server port for sending active checks
1174 -
1175 -ServerPort=10051
1176 -
1177 -# Unique hostname.
1178 -
1179 -Hostname=proxy
1180 -
1181 -# Number of pre-forked instances of pollers
1182 -# Default value is 5
1183 -# This parameter must be between 0 and 255
1184 -#StartPollers=5
1185 -
1186 -# Number of pre-forked instances of IPMI pollers
1187 -# Default value is 0
1188 -# This parameter must be between 0 and 255
1189 -#StartIPMIPollers=0
1190 -
1191 -# Number of pre-forked instances of pollers for unreachable hosts
1192 -# Default value is 1
1193 -# This parameter must be between 0 and 255
1194 -#StartPollersUnreachable=1
1195 -
1196 -# Number of pre-forked instances of trappers
1197 -# Default value is 5
1198 -# This parameter must be between 0 and 255
1199 -#StartTrappers=5
1200 -
1201 -# Number of pre-forked instances of ICMP pingers
1202 -# Default value is 1
1203 -# This parameter must be between 0 and 255
1204 -#StartPingers=1
1205 -
1206 -# Number of pre-forked instances of discoverers
1207 -# Default value is 1
1208 -# This parameter must be between 0 and 255
1209 -#StartDiscoverers=1
1210 -
1211 -# Number of pre-forked instances of HTTP pollers
1212 -# Default value is 1
1213 -# This parameter must be between 0 and 255
1214 -#StartHTTPPollers=1
1215 -
1216 -# Listen port for trapper. Default port number is 10051. This parameter
1217 -# must be between 1024 and 32767
1218 -#ListenPort=10051
1219 -
1220 -# Source IP address for outgouing connections
1221 -#SourceIP=
1222 -
1223 -# Listen interface for trapper. Trapper will listen all network interfaces
1224 -# if this parameter is missing.
1225 -#ListenIP=127.0.0.1
1226 -
1227 -# How often ZABBIX will perform sending hearbeat message
1228 -# (in seconds)
1229 -# Default value is 60 seconds
1230 -# Set to 0 to disable heartbeat messages
1231 -# This parameter must be between 0 and 3600
1232 -#HeartbeatFrequency=60
1233 -
1234 -# How often ZABBIX will perform sync configuration data
1235 -# (in seconds)
1236 -# Default value is 3600 seconds (1h)
1237 -# This parameter must be between 1 and 604800 (1 week)
1238 -#ConfigFrequency=3600
1239 -
1240 -# How often ZABBIX will perform housekeeping procedure
1241 -# (in hours)
1242 -# Default value is 1 hour
1243 -# Housekeeping is removing unnecessary information from
1244 -# tables history, alert, and alarms
1245 -# This parameter must be between 1 and 24
1246 -#HousekeepingFrequency=1
1247 -
1248 -# How often ZABBIX will try to send unsent alerts
1249 -# (in seconds)
1250 -# Default value is 30 seconds
1251 -#SenderFrequency=30
1252 -
1253 -# Local bufer size in hours. Proxy will keep collected data N hours.
1254 -# Default value is 0 hours
1255 -#ProxyLocalBuffer=0
1256 -
1257 -# Offline buffer size in hours. It is used when server is not available.
1258 -# Older data is removed.
1259 -# Default value is 1 hours
1260 -#ProxyOfflineBuffer=1
1261 -
1262 -# Specifies debug level
1263 -# 0 - debug is not created
1264 -# 1 - critical information
1265 -# 2 - error information
1266 -# 3 - warnings (default)
1267 -# 4 - for debugging (produces lots of information)
1268 -#DebugLevel=3
1269 -
1270 -# Specifies how long we wait for agent response (in sec)
1271 -# Must be between 1 and 30
1272 -Timeout=5
1273 -
1274 -# Specifies how many seconds trapper may spend processing new data
1275 -# Must be between 1 and 30
1276 -#TrapperTimeout=5
1277 -
1278 -# After how many seconds of unreachability treat a host as unavailable
1279 -#UnreachablePeriod=45
1280 -
1281 -# How ofter check host for availability during the unreachability period
1282 -#UnavailableDelay=15
1283 -
1284 -# How ofter check host for availability during the unavailability period
1285 -#UnavailableDelay=60
1286 -
1287 -# Name of PID file
1288 -PidFile=/var/run/zabbix/zabbix_proxy.pid
1289 -
1290 -# Name of log file
1291 -# If not set, syslog is used
1292 -LogFile=/var/log/zabbix/zabbix_proxy.log
1293 -
1294 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
1295 -#LogFileSize=1
1296 -
1297 -# Location for custom alert scripts
1298 -AlertScriptsPath=/home/zabbix/bin/
1299 -
1300 -# Location of external scripts
1301 -#ExternalScripts=/etc/zabbix/externalscripts
1302 -
1303 -# Location of 'fping. Default is /usr/sbin/fping
1304 -# Make sure that fping binary has root permissions and SUID flag set
1305 -#FpingLocation=/usr/sbin/fping
1306 -
1307 -# Location of fping6. Default is /usr/sbin/fping6
1308 -# Make sure that fping binary has root permissions and SUID flag set
1309 -#Fping6Location=/usr/sbin/fping6
1310 -
1311 -# Temporary directory. Default is /tmp
1312 -#TmpDir=/tmp
1313 -
1314 -# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
1315 -#PingerFrequency=60
1316 -
1317 -# Database host name
1318 -# Default is localhost
1319 -
1320 -#DBHost=localhost
1321 -
1322 -# Database name
1323 -# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
1324 -DBName=proxy
1325 -
1326 -# Database user
1327 -
1328 -DBUser=root
1329 -
1330 -# Database password
1331 -# Comment this line if no password used
1332 -
1333 -#DBPassword=<password>
1334 -
1335 -# Connect to MySQL using Unix socket?
1336 -
1337 -#DBSocket=/var/run/mysqld/mysqld.sock
1338
1339 diff --git a/net-analyzer/zabbix/files/1.6.6/zabbix_server.conf b/net-analyzer/zabbix/files/1.6.6/zabbix_server.conf
1340 deleted file mode 100644
1341 index 63f14c5..0000000
1342 --- a/net-analyzer/zabbix/files/1.6.6/zabbix_server.conf
1343 +++ /dev/null
1344 @@ -1,155 +0,0 @@
1345 -# This is config file for ZABBIX server process
1346 -# To get more information about ZABBIX,
1347 -# go http://www.zabbix.com
1348 -
1349 -############ GENERAL PARAMETERS #################
1350 -
1351 -# This defines unique NodeID in distributed setup,
1352 -# Default value 0 (standalone server)
1353 -# This parameter must be between 0 and 999
1354 -#NodeID=0
1355 -
1356 -# Number of pre-forked instances of pollers
1357 -# Default value is 5
1358 -# This parameter must be between 0 and 255
1359 -#StartPollers=5
1360 -
1361 -# Number of pre-forked instances of IPMI pollers
1362 -# Default value is 0
1363 -# This parameter must be between 0 and 255
1364 -#StartIPMIPollers=0
1365 -
1366 -# Number of pre-forked instances of pollers for unreachable hosts
1367 -# Default value is 1
1368 -# This parameter must be between 0 and 255
1369 -#StartPollersUnreachable=1
1370 -
1371 -# Number of pre-forked instances of trappers
1372 -# Default value is 5
1373 -# This parameter must be between 0 and 255
1374 -#StartTrappers=5
1375 -
1376 -# Number of pre-forked instances of ICMP pingers
1377 -# Default value is 1
1378 -# This parameter must be between 0 and 255
1379 -#StartPingers=1
1380 -
1381 -# Number of pre-forked instances of discoverers
1382 -# Default value is 1
1383 -# This parameter must be between 0 and 255
1384 -#StartDiscoverers=1
1385 -
1386 -# Number of pre-forked instances of HTTP pollers
1387 -# Default value is 1
1388 -# This parameter must be between 0 and 255
1389 -#StartHTTPPollers=1
1390 -
1391 -# Listen port for trapper. Default port number is 10051. This parameter
1392 -# must be between 1024 and 32767
1393 -
1394 -#ListenPort=10051
1395 -
1396 -# Source IP address for outgouing connections
1397 -#SourceIP=
1398 -
1399 -# Listen interface for trapper. Trapper will listen all network interfaces
1400 -# if this parameter is missing.
1401 -
1402 -#ListenIP=127.0.0.1
1403 -
1404 -# How often ZABBIX will perform housekeeping procedure
1405 -# (in hours)
1406 -# Default value is 1 hour
1407 -# Housekeeping is removing unnecessary information from
1408 -# tables history, alert, and alarms
1409 -# This parameter must be between 1 and 24
1410 -
1411 -#HousekeepingFrequency=1
1412 -
1413 -# How often ZABBIX will try to send unsent alerts
1414 -# (in seconds)
1415 -# Default value is 30 seconds
1416 -SenderFrequency=30
1417 -
1418 -# Uncomment this line to disable housekeeping procedure
1419 -#DisableHousekeeping=1
1420 -
1421 -# Specifies debug level
1422 -# 0 - debug is not created
1423 -# 1 - critical information
1424 -# 2 - error information
1425 -# 3 - warnings (default)
1426 -# 4 - for debugging (produces lots of information)
1427 -
1428 -DebugLevel=3
1429 -
1430 -# Specifies how long we wait for agent response (in sec)
1431 -# Must be between 1 and 30
1432 -Timeout=5
1433 -
1434 -# Specifies how many seconds trapper may spend processing new data
1435 -# Must be between 1 and 30
1436 -#TrapperTimeout=5
1437 -
1438 -# After how many seconds of unreachability treat a host as unavailable
1439 -#UnreachablePeriod=45
1440 -
1441 -# How ofter check host for availability during the unreachability period
1442 -#UnavailableDelay=15
1443 -
1444 -# How ofter check host for availability during the unavailability period
1445 -#UnavailableDelay=60
1446 -
1447 -# Name of PID file
1448 -
1449 -PidFile=/var/run/zabbix/zabbix_server.pid
1450 -
1451 -# Name of log file
1452 -# If not set, syslog is used
1453 -
1454 -LogFile=/var/log/zabbix/zabbix_server.log
1455 -
1456 -# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
1457 -#LogFileSize=1
1458 -
1459 -# Location for custom alert scripts
1460 -AlertScriptsPath=/home/zabbix/bin/
1461 -
1462 -# Location of external scripts
1463 -#ExternalScripts=/etc/zabbix/externalscripts
1464 -
1465 -# Location of fping. Default is /usr/sbin/fping
1466 -# Make sure that fping binary has root permissions and SUID flag set
1467 -#FpingLocation=/usr/sbin/fping
1468 -
1469 -# Location of fping6. Default is /usr/sbin/fping6
1470 -# Make sure that fping binary has root permissions and SUID flag set
1471 -#Fping6Location=/usr/sbin/fping6
1472 -
1473 -# Temporary directory. Default is /tmp
1474 -#TmpDir=/tmp
1475 -
1476 -# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
1477 -#PingerFrequency=60
1478 -
1479 -# Database host name
1480 -# Default is localhost
1481 -
1482 -#DBHost=localhost
1483 -
1484 -# Database name
1485 -# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
1486 -DBName=zabbix
1487 -
1488 -# Database user
1489 -
1490 -DBUser=root
1491 -
1492 -# Database password
1493 -# Comment this line if no password used
1494 -
1495 -#DBPassword=<password>
1496 -
1497 -# Connect to MySQL using Unix socket?
1498 -
1499 -#DBSocket=/var/run/mysqld/mysqld.sock
1500
1501 diff --git a/net-analyzer/zabbix/files/1.6.6/zabbix_trapper.conf b/net-analyzer/zabbix/files/1.6.6/zabbix_trapper.conf
1502 deleted file mode 100644
1503 index 8bbe0f9..0000000
1504 --- a/net-analyzer/zabbix/files/1.6.6/zabbix_trapper.conf
1505 +++ /dev/null
1506 @@ -1,44 +0,0 @@
1507 -# This is config file for zabbix_trapper
1508 -# To get more information about ZABBIX,
1509 -# go http://www.zabbix.com
1510 -
1511 -############ GENERAL PARAMETERS #################
1512 -
1513 -# Specifies debug level
1514 -# 1 - critical information
1515 -# 2 - warnings (default)
1516 -# 3 - for debugging (produces lots of information)
1517 -
1518 -DebugLevel=2
1519 -
1520 -# Spend no more than Timeout seconds on processing
1521 -# Must be between 1 and 30
1522 -
1523 -Timeout=3
1524 -
1525 -# Name of log file
1526 -# If not set, syslog will be used
1527 -
1528 -LogFile=/tmp/zabbix_trapper.log
1529 -
1530 -# Database host name
1531 -# Default is localhost
1532 -
1533 -#DBHost=localhost
1534 -
1535 -# Database name
1536 -
1537 -DBName=zabbix
1538 -
1539 -# Database user
1540 -
1541 -DBUser=root
1542 -
1543 -# Database password
1544 -# Comment this line if no password used
1545 -
1546 -#DBPassword=<password>
1547 -
1548 -# Connect to MySQL usig Unix socket?
1549 -
1550 -#DBSocket=/var/run/mysqld/mysqld.sock
1551
1552 diff --git a/net-analyzer/zabbix/files/2.0/init.d/zabbix-agentd b/net-analyzer/zabbix/files/2.0/init.d/zabbix-agentd
1553 deleted file mode 100644
1554 index fc21ec9..0000000
1555 --- a/net-analyzer/zabbix/files/2.0/init.d/zabbix-agentd
1556 +++ /dev/null
1557 @@ -1,29 +0,0 @@
1558 -#!/sbin/runscript
1559 -# Copyright 1999-2013 Gentoo Foundation
1560 -# Distributed under the terms of the GNU General Public License v2
1561 -# $Id$
1562 -
1563 -pid_file="/var/run/zabbix/zabbix_agentd.pid"
1564 -
1565 -depend() {
1566 - need net
1567 - provide zabbix-agent
1568 - use zabbix-server
1569 -}
1570 -
1571 -start_pre() {
1572 - checkpath -d -m 0775 -o zabbix:zabbix /var/run/zabbix
1573 -}
1574 -
1575 -start() {
1576 - ebegin "Starting Zabbix agent"
1577 - start-stop-daemon --start --pidfile ${pid_file} \
1578 - --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd -- -c /etc/zabbix/zabbix_agentd.conf
1579 - eend $?
1580 -}
1581 -
1582 -stop() {
1583 - ebegin "Stopping Zabbix agent"
1584 - start-stop-daemon --stop --pidfile ${pid_file}
1585 - eend $?
1586 -}
1587
1588 diff --git a/net-analyzer/zabbix/files/2.0/init.d/zabbix-proxy b/net-analyzer/zabbix/files/2.0/init.d/zabbix-proxy
1589 deleted file mode 100644
1590 index a16d391..0000000
1591 --- a/net-analyzer/zabbix/files/2.0/init.d/zabbix-proxy
1592 +++ /dev/null
1593 @@ -1,28 +0,0 @@
1594 -#!/sbin/runscript
1595 -# Copyright 1999-2013 Gentoo Foundation
1596 -# Distributed under the terms of the GNU General Public License v2
1597 -# $Id$
1598 -
1599 -pid_file="/var/run/zabbix/zabbix_proxy.pid"
1600 -
1601 -depend() {
1602 - need net
1603 - provide zabbix-proxy
1604 -}
1605 -
1606 -start_pre() {
1607 - checkpath -d -m 0775 -o zabbix:zabbix /var/run/zabbix
1608 -}
1609 -
1610 -start() {
1611 - ebegin "Starting Zabbix proxy"
1612 - start-stop-daemon --start --pidfile ${pid_file} \
1613 - --user zabbix --group zabbix --exec /usr/sbin/zabbix_proxy -- -c /etc/zabbix/zabbix_proxy.conf
1614 - eend $?
1615 -}
1616 -
1617 -stop() {
1618 - ebegin "Stopping Zabbix proxy"
1619 - start-stop-daemon --stop --pidfile ${pid_file}
1620 - eend $?
1621 -}
1622
1623 diff --git a/net-analyzer/zabbix/files/2.0/init.d/zabbix-server b/net-analyzer/zabbix/files/2.0/init.d/zabbix-server
1624 deleted file mode 100644
1625 index 0a3096e..0000000
1626 --- a/net-analyzer/zabbix/files/2.0/init.d/zabbix-server
1627 +++ /dev/null
1628 @@ -1,27 +0,0 @@
1629 -#!/sbin/runscript
1630 -# Copyright 1999-2013 Gentoo Foundation
1631 -# Distributed under the terms of the GNU General Public License v2
1632 -# $Id$
1633 -
1634 -pid_file="/var/run/zabbix/zabbix_server.pid"
1635 -
1636 -depend() {
1637 - need net
1638 - use mysql postgresql
1639 -}
1640 -start_pre() {
1641 - checkpath -d -m 0775 -o zabbix:zabbix /var/run/zabbix
1642 -}
1643 -
1644 -start() {
1645 - ebegin "Starting Zabbix server"
1646 - start-stop-daemon --start --user zabbix --group zabbix --pidfile ${pid_file} \
1647 - --exec /usr/sbin/zabbix_server -- -c /etc/zabbix/zabbix_server.conf
1648 - eend $?
1649 -}
1650 -
1651 -stop() {
1652 - ebegin "Stopping Zabbix server"
1653 - start-stop-daemon --stop --pidfile ${pid_file}
1654 - eend $?
1655 -}
1656
1657 diff --git a/net-analyzer/zabbix/files/2.0/patches/zbx282.patch b/net-analyzer/zabbix/files/2.0/patches/zbx282.patch
1658 deleted file mode 100644
1659 index 4f8ed94..0000000
1660 --- a/net-analyzer/zabbix/files/2.0/patches/zbx282.patch
1661 +++ /dev/null
1662 @@ -1,182 +0,0 @@
1663 ---- configure.in 2013-02-12 04:27:27.000000000 -0700
1664 -+++ configure.in 2013-05-03 07:59:46.318882346 -0600
1665 -@@ -903,19 +903,32 @@
1666 - AC_MSG_CHECKING([for the linux kernel version])
1667 -
1668 - kernel=`uname -r`
1669 -+ kernel_major=`uname -r|cut -d. -f1`
1670 -+ kernel_minor=`uname -r|cut -d. -f2`
1671 -
1672 -- case "${kernel}" in
1673 -- 2.6.*)
1674 -- AC_MSG_RESULT([2.6 family (${kernel})])
1675 -- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you are using Linux 2.6.x])
1676 -- ;;
1677 -- 2.4.*)
1678 -- AC_MSG_RESULT([2.4 family (${kernel})])
1679 -- AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you are using Linux 2.4.x])
1680 -- ;;
1681 -- *)
1682 -- AC_MSG_RESULT([unknown family (${kernel})])
1683 -- ;;
1684 -+ case "${kernel_major}" in
1685 -+ 2)
1686 -+ case "${$kernel_minor}" in
1687 -+ 6)
1688 -+ AC_MSG_RESULT([Linux Kernel >= 2.6.x family (${kernel})])
1689 -+ AC_DEFINE([KERNEL_2_6_Xplus], 1, [Define to 1 if you are using Linux >= 2.6.x])
1690 -+ ;;
1691 -+ 4)
1692 -+ AC_MSG_RESULT([2.4 family (${kernel})])
1693 -+ AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you are using Linux 2.4.x])
1694 -+ ;;
1695 -+ esac
1696 -+ ;;
1697 -+ 1)
1698 -+ echo
1699 -+ ;;
1700 -+ 0)
1701 -+ echo
1702 -+ ;;
1703 -+ *)
1704 -+ AC_MSG_RESULT([Linux Kernel >= 2.6.x family (${kernel})])
1705 -+ AC_DEFINE([KERNEL_2_6_Xplus], 1, [Define to 1 if you are using Linux >= 2.6.x])
1706 -+ ;;
1707 - esac
1708 - fi
1709 -
1710 ---- include/config.h.in 2013-02-12 04:27:41.000000000 -0700
1711 -+++ include/config.h.in 2013-05-03 07:47:39.658588709 -0600
1712 -@@ -507,8 +507,8 @@
1713 - /* Define to 1 if you are using Linux 2.4.x */
1714 - #undef KERNEL_2_4
1715 -
1716 --/* Define to 1 if you are using Linux 2.6.x */
1717 --#undef KERNEL_2_6
1718 -+/* Define to 1 if you are using Linux >= 2.6.x */
1719 -+#undef KERNEL_2_6_Xplus
1720 -
1721 - /* Define to 1 if LDAP depricated functions is used. */
1722 - #undef LDAP_DEPRECATED
1723 -
1724 ---- src/libs/zbxsysinfo/linux/sensors.c 2013-02-12 04:27:22.000000000 -0700
1725 -+++ src/libs/zbxsysinfo/linux/sensors.c 2013-05-03 07:47:39.658588709 -0600
1726 -@@ -20,14 +20,21 @@
1727 - #include "common.h"
1728 - #include "sysinfo.h"
1729 -
1730 --#ifdef KERNEL_2_4
1731 -+#if defined(KERNEL_2_4) || defined(KERNEL_2_6_Xplus)
1732 -
1733 - #define DO_ONE 0
1734 - #define DO_AVG 1
1735 - #define DO_MAX 2
1736 - #define DO_MIN 3
1737 -
1738 -+#if defined(KERNEL_2_4)
1739 - #define DEVICE_DIR "/proc/sys/dev/sensors"
1740 -+#endif
1741 -+
1742 -+#if defined(KERNEL_2_6_Xplus)
1743 -+#define DEVICE_DIR "/sys/class/hwmon"
1744 -+#define EXTRA "device"
1745 -+#endif
1746 -
1747 - static void count_sensor(int do_task, const char *filename, double *aggr, int *cnt)
1748 - {
1749 -@@ -46,9 +53,17 @@
1750 -
1751 - zbx_fclose(f);
1752 -
1753 -- if (1 == sscanf(line, "%*f\t%*f\t%lf\n", &value))
1754 -+#if defined(KERNEL_2_6_Xplus)
1755 -+ if (1 == sscanf(line, "%lf", &value))
1756 -+#else
1757 -+ if (1 == sscanf(line, "%*lf\t%*lf\t%lf\n", &value))
1758 -+#endif
1759 - {
1760 - (*cnt)++;
1761 -+#if defined(KERNEL_2_6_Xplus)
1762 -+ if(NULL == strstr(filename, "fan"))
1763 -+ value = value / 1000;
1764 -+#endif
1765 -
1766 - switch (do_task)
1767 - {
1768 -@@ -70,11 +85,35 @@
1769 -
1770 - static void get_device_sensors(int do_task, const char *device, const char *name, double *aggr, int *cnt)
1771 - {
1772 -+#if defined(KERNEL_2_6_Xplus)
1773 -+ struct stat buffer;
1774 -+ int use_extra = 0;
1775 -+#endif
1776 - char sensorname[MAX_STRING_LEN];
1777 -+ char sensortest[MAX_STRING_LEN];
1778 -+
1779 -+#if defined(KERNEL_2_6_Xplus)
1780 -+ zbx_snprintf(sensortest, sizeof(sensortest), "%s/%s/name", DEVICE_DIR, device);
1781 -+ if(stat(sensortest, &buffer) != 0)
1782 -+ {
1783 -+ zbx_snprintf(sensortest, sizeof(sensortest), "%s/%s/device/name", DEVICE_DIR, device);
1784 -+ if(stat(sensortest, &buffer) == 0)
1785 -+ {
1786 -+ use_extra = 1;
1787 -+ }
1788 -+ }
1789 -+#endif
1790 -
1791 - if (DO_ONE == do_task)
1792 - {
1793 -+#if defined(KERNEL_2_6_Xplus)
1794 -+ if(use_extra)
1795 -+ zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s/%s/%s_input", DEVICE_DIR, device, EXTRA, name);
1796 -+ else
1797 -+ zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s/%s_input", DEVICE_DIR, device, name);
1798 -+#else
1799 - zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s/%s", DEVICE_DIR, device, name);
1800 -+#endif
1801 - count_sensor(do_task, sensorname, aggr, cnt);
1802 - }
1803 - else
1804 -@@ -94,7 +133,14 @@
1805 - if (NULL == zbx_regexp_match(deviceent->d_name, device, NULL))
1806 - continue;
1807 -
1808 -+#if defined(KERNEL_2_6_Xplus)
1809 -+ if(use_extra)
1810 -+ zbx_snprintf(devicename, sizeof(devicename), "%s/%s/%s", DEVICE_DIR, deviceent->d_name, EXTRA);
1811 -+ else
1812 -+ zbx_snprintf(devicename, sizeof(devicename), "%s/%s", DEVICE_DIR, deviceent->d_name);
1813 -+#else
1814 - zbx_snprintf(devicename, sizeof(devicename), "%s/%s", DEVICE_DIR, deviceent->d_name);
1815 -+#endif
1816 -
1817 - if (NULL == (sensordir = opendir(devicename)))
1818 - continue;
1819 -@@ -107,7 +153,19 @@
1820 - if (NULL == zbx_regexp_match(sensorent->d_name, name, NULL))
1821 - continue;
1822 -
1823 -+#if defined(KERNEL_2_6_Xplus)
1824 -+ if (0 != strcmp(sensorent->d_name + strlen(sensorent->d_name) - 6, "_input"))
1825 -+ continue;
1826 -+#endif
1827 -+
1828 -+#if defined(KERNEL_2_6_Xplus)
1829 -+ if(use_extra)
1830 -+ zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s/%s", devicename, sensorent->d_name, EXTRA);
1831 -+ else
1832 -+ zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s", devicename, sensorent->d_name);
1833 -+#else
1834 - zbx_snprintf(sensorname, sizeof(sensorname), "%s/%s", devicename, sensorent->d_name);
1835 -+#endif
1836 - count_sensor(do_task, sensorname, aggr, cnt);
1837 - }
1838 - closedir(sensordir);
1839 -@@ -162,4 +220,4 @@
1840 - return SYSINFO_RET_FAIL;
1841 - }
1842 -
1843 --#endif /* KERNEL_2_4 */
1844 -+#endif /* KERNEL_2_4 || KERNEL_2_6_Xplus */
1845
1846 diff --git a/net-analyzer/zabbix/files/2.0/patches/zbx6097.patch b/net-analyzer/zabbix/files/2.0/patches/zbx6097.patch
1847 deleted file mode 100644
1848 index 65d92a8..0000000
1849 --- a/net-analyzer/zabbix/files/2.0/patches/zbx6097.patch
1850 +++ /dev/null
1851 @@ -1,66 +0,0 @@
1852 -Index: frontends/php/authentication.php
1853 -===================================================================
1854 ---- frontends/php/authentication.php (revision 32376)
1855 -+++ frontends/php/authentication.php (revision 32393)
1856 -@@ -101,12 +101,11 @@
1857 - $config['authentication_type'] = $_REQUEST['config'];
1858 -
1859 - // check login/password
1860 -- $login = API::User()->ldapLogin(array(
1861 -- 'user' => get_request('user', $USER_DETAILS['alias']),
1862 -- 'password' => get_request('user_password', ''),
1863 -- 'cnf' => $ldap_cnf
1864 -- ));
1865 -+ $ldap = new CLdap($ldap_cnf);
1866 -+ $ldap->connect();
1867 -+ $login = $ldap->checkPass(get_request('user', $USER_DETAILS['alias']), get_request('user_password', ''));
1868 - if (!$login) {
1869 -+ error(_('Login name or password is incorrect'));
1870 - throw new Exception();
1871 - }
1872 -
1873 -@@ -129,12 +128,13 @@
1874 - }
1875 - elseif (isset($_REQUEST['test'])) {
1876 - // check login/password
1877 -- $result = API::User()->ldapLogin(array(
1878 -- 'user' => get_request('user', $USER_DETAILS['alias']),
1879 -- 'password' => get_request('user_password', ''),
1880 -- 'cnf' => $ldap_cnf
1881 -- ));
1882 -+ $ldap = new CLdap($ldap_cnf);
1883 -+ $ldap->connect();
1884 -+ $result = $ldap->checkPass(get_request('user', $USER_DETAILS['alias']), get_request('user_password', ''));
1885 -
1886 -+ if (!$result)
1887 -+ error(_('Login name or password is incorrect'));{
1888 -+ }
1889 - show_messages($result, _('LDAP login successful'), _('LDAP login was not successful'));
1890 - }
1891 - }
1892 -Index: frontends/php/api/classes/CUser.php
1893 -===================================================================
1894 ---- frontends/php/api/classes/CUser.php (revision 32376)
1895 -+++ frontends/php/api/classes/CUser.php (revision 32393)
1896 -@@ -822,15 +822,12 @@
1897 - // ******************************************************************************
1898 - // LOGIN Methods
1899 - // ******************************************************************************
1900 -- public function ldapLogin($user) {
1901 -- $cnf = isset($user['cnf']) ? $user['cnf'] : null;
1902 --
1903 -- if (is_null($cnf)) {
1904 -- $config = select_config();
1905 -- foreach ($config as $id => $value) {
1906 -- if (zbx_strpos($id, 'ldap_') !== false) {
1907 -- $cnf[str_replace('ldap_', '', $id)] = $config[$id];
1908 -- }
1909 -+ protected function ldapLogin($user) {
1910 -+ $config = select_config();
1911 -+ $cnf = array();
1912 -+ foreach ($config as $id => $value) {
1913 -+ if (zbx_strpos($id, 'ldap_') !== false) {
1914 -+ $cnf[str_replace('ldap_', '', $id)] = $config[$id];
1915 - }
1916 - }
1917 -
1918
1919 diff --git a/net-analyzer/zabbix/files/2.0/patches/zbx7479.patch b/net-analyzer/zabbix/files/2.0/patches/zbx7479.patch
1920 deleted file mode 100644
1921 index 52cabd4..0000000
1922 --- a/net-analyzer/zabbix/files/2.0/patches/zbx7479.patch
1923 +++ /dev/null
1924 @@ -1,83 +0,0 @@
1925 -Index: src/libs/zbxsysinfo/sysinfo.c
1926 -===================================================================
1927 ---- src/libs/zbxsysinfo/sysinfo.c (revision 40346)
1928 -+++ src/libs/zbxsysinfo/sysinfo.c (working copy)
1929 -@@ -267,13 +267,49 @@
1930 - test_parameter(commands[i].key, PROCESS_TEST | PROCESS_USE_TEST_PARAM);
1931 - }
1932 -
1933 -+static int zbx_check_user_parameter(const char *param, char *error, int max_error_len)
1934 -+{
1935 -+ const char suppressed_chars[] = "\\'\"`*?[]{}~$!&;()<>|#@\n", *c;
1936 -+ char *buf = NULL;
1937 -+ size_t buf_alloc = 128, buf_offset = 0;
1938 -+
1939 -+ if (0 != CONFIG_UNSAFE_USER_PARAMETERS)
1940 -+ return SUCCEED;
1941 -+
1942 -+ for (c = suppressed_chars; '\0' != *c; c++)
1943 -+ {
1944 -+ if (NULL == strchr(param, *c))
1945 -+ continue;
1946 -+
1947 -+ buf = zbx_malloc(buf, buf_alloc);
1948 -+
1949 -+ for (c = suppressed_chars; '\0' != *c; c++)
1950 -+ {
1951 -+ if (c != suppressed_chars)
1952 -+ zbx_strcpy_alloc(&buf, &buf_alloc, &buf_offset, ", ");
1953 -+
1954 -+ if (0 != isprint(*c))
1955 -+ zbx_chrcpy_alloc(&buf, &buf_alloc, &buf_offset, *c);
1956 -+ else
1957 -+ zbx_snprintf_alloc(&buf, &buf_alloc, &buf_offset, "0x%02x", *c);
1958 -+ }
1959 -+
1960 -+ zbx_snprintf(error, max_error_len, "special characters \"%s\" are not allowed in the parameters", buf);
1961 -+
1962 -+ zbx_free(buf);
1963 -+
1964 -+ return FAIL;
1965 -+ }
1966 -+
1967 -+ return SUCCEED;
1968 -+}
1969 -+
1970 - static int replace_param(const char *cmd, const char *param, char *out, int outlen, char *error, int max_error_len)
1971 - {
1972 - int ret = SUCCEED;
1973 - char buf[MAX_STRING_LEN];
1974 - char command[MAX_STRING_LEN];
1975 - char *pl, *pr;
1976 -- const char suppressed_chars[] = "\\'\"`*?[]{}~$!&;()<>|#@", *c;
1977 -
1978 - assert(out);
1979 -
1980 -@@ -305,25 +341,10 @@
1981 - {
1982 - get_param(param, (int)(pr[1] - '0'), buf, sizeof(buf));
1983 -
1984 -- if (0 == CONFIG_UNSAFE_USER_PARAMETERS)
1985 -- {
1986 -- for (c = suppressed_chars; '\0' != *c; c++)
1987 -- {
1988 -- if (NULL != strchr(buf, *c))
1989 -- {
1990 -- zbx_snprintf(error, max_error_len, "Special characters '%s'"
1991 -- " are not allowed in the parameters",
1992 -- suppressed_chars);
1993 -- ret = FAIL;
1994 -- break;
1995 -- }
1996 -- }
1997 -- }
1998 -+ if (SUCCEED != (ret = zbx_check_user_parameter(buf, error, max_error_len)))
1999 -+ break;
2000 - }
2001 -
2002 -- if (FAIL == ret)
2003 -- break;
2004 --
2005 - zbx_strlcat(out, buf, outlen);
2006 - outlen -= MIN((int)strlen(buf), (int)outlen);
2007 -
2008
2009 diff --git a/net-analyzer/zabbix/files/2.0/zabbix_proxy.conf b/net-analyzer/zabbix/files/2.0/zabbix_proxy.conf
2010 deleted file mode 100644
2011 index 21eed90..0000000
2012 --- a/net-analyzer/zabbix/files/2.0/zabbix_proxy.conf
2013 +++ /dev/null
2014 @@ -1,463 +0,0 @@
2015 -# This is a configuration file for Zabbix Proxy process
2016 -# To get more information about Zabbix,
2017 -# visit http://www.zabbix.com
2018 -
2019 -############ GENERAL PARAMETERS #################
2020 -
2021 -### Option: ProxyMode
2022 -# Proxy operating mode
2023 -# 0 - proxy in the active mode
2024 -# 1 - proxy in the passive mode
2025 -#
2026 -# Mandatory: no
2027 -# Default:
2028 -# ProxyMode=0
2029 -
2030 -### Option: Server
2031 -# IP address (or hostname) of Zabbix server.
2032 -# Active proxy will get configuration data from the server.
2033 -# For a proxy in the passive mode this parameter will be ignored.
2034 -#
2035 -# Mandatory: yes (if ProxyMode is set to 0)
2036 -# Default:
2037 -# Server=
2038 -
2039 -Server=127.0.0.1
2040 -
2041 -### Option: ServerPort
2042 -# Port of Zabbix trapper on Zabbix server.
2043 -# For a proxy in the passive mode this parameter will be ignored.
2044 -#
2045 -# Mandatory: no
2046 -# Range: 1024-32767
2047 -# Default:
2048 -# ServerPort=10051
2049 -
2050 -### Option: Hostname
2051 -# Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
2052 -# Value is acquired from HostnameItem if undefined.
2053 -#
2054 -# Mandatory: no
2055 -# Default:
2056 -# Hostname=
2057 -
2058 -Hostname=proxy
2059 -
2060 -### Option: HostnameItem
2061 -# Item used for generating Hostname if it is undefined.
2062 -# Ignored if Hostname is defined.
2063 -#
2064 -# Mandatory: no
2065 -# Default:
2066 -# HostnameItem=system.hostname
2067 -
2068 -### Option: ListenPort
2069 -# Listen port for trapper.
2070 -#
2071 -# Mandatory: no
2072 -# Range: 1024-32767
2073 -# Default:
2074 -# ListenPort=10051
2075 -
2076 -### Option: SourceIP
2077 -# Source IP address for outgoing connections.
2078 -#
2079 -# Mandatory: no
2080 -# Default:
2081 -# SourceIP=
2082 -
2083 -### Option: LogFile
2084 -# Name of log file.
2085 -# If not set, syslog is used.
2086 -#
2087 -# Mandatory: no
2088 -# Default:
2089 -# LogFile=
2090 -
2091 -LogFile=/var/log/zabbix/zabbix_proxy.log
2092 -
2093 -### Option: LogFileSize
2094 -# Maximum size of log file in MB.
2095 -# 0 - disable automatic log rotation.
2096 -#
2097 -# Mandatory: no
2098 -# Range: 0-1024
2099 -# Default:
2100 -# LogFileSize=1
2101 -
2102 -### Option: DebugLevel
2103 -# Specifies debug level
2104 -# 0 - no debug
2105 -# 1 - critical information
2106 -# 2 - error information
2107 -# 3 - warnings
2108 -# 4 - for debugging (produces lots of information)
2109 -#
2110 -# Mandatory: no
2111 -# Range: 0-4
2112 -# Default:
2113 -# DebugLevel=3
2114 -
2115 -### Option: PidFile
2116 -# Name of PID file.
2117 -#
2118 -# Mandatory: no
2119 -# Default:
2120 -# PidFile=/tmp/zabbix_proxy.pid
2121 -
2122 -### Option: DBHost
2123 -# Database host name.
2124 -# If set to localhost, socket is used for MySQL.
2125 -# If set to empty string, socket is used for PostgreSQL.
2126 -#
2127 -# Mandatory: no
2128 -# Default:
2129 -# DBHost=localhost
2130 -
2131 -### Option: DBName
2132 -# Database name.
2133 -# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
2134 -# Warning: do not attempt to use the same database Zabbix server is using.
2135 -#
2136 -# Mandatory: yes
2137 -# Default:
2138 -# DBName=
2139 -
2140 -DBName=zabbix_proxy
2141 -
2142 -### Option: DBSchema
2143 -# Schema name. Used for IBM DB2.
2144 -#
2145 -# Mandatory: no
2146 -# Default:
2147 -# DBSchema=
2148 -
2149 -### Option: DBUser
2150 -# Database user. Ignored for SQLite.
2151 -#
2152 -# Default:
2153 -# DBUser=
2154 -
2155 -DBUser=zabbix
2156 -
2157 -### Option: DBPassword
2158 -# Database password. Ignored for SQLite.
2159 -# Comment this line if no password is used.
2160 -#
2161 -# Mandatory: no
2162 -# Default:
2163 -# DBPassword=
2164 -
2165 -### Option: DBSocket
2166 -# Path to MySQL socket.
2167 -#
2168 -# Mandatory: no
2169 -# Default:
2170 -# DBSocket=/tmp/mysql.sock
2171 -
2172 -# Option: DBPort
2173 -# Database port when not using local socket. Ignored for SQLite.
2174 -#
2175 -# Mandatory: no
2176 -# Default (for MySQL):
2177 -# DBPort=3306
2178 -
2179 -######### PROXY SPECIFIC PARAMETERS #############
2180 -
2181 -### Option: ProxyLocalBuffer
2182 -# Proxy will keep data locally for N hours, even if the data have already been synced with the server.
2183 -# This parameter may be used if local data will be used by third party applications.
2184 -#
2185 -# Mandatory: no
2186 -# Range: 0-720
2187 -# Default:
2188 -# ProxyLocalBuffer=0
2189 -
2190 -### Option: ProxyOfflineBuffer
2191 -# Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
2192 -# Older data will be lost.
2193 -#
2194 -# Mandatory: no
2195 -# Range: 1-720
2196 -# Default:
2197 -# ProxyOfflineBuffer=1
2198 -
2199 -### Option: HeartbeatFrequency
2200 -# Frequency of heartbeat messages in seconds.
2201 -# Used for monitoring availability of Proxy on server side.
2202 -# 0 - heartbeat messages disabled.
2203 -# For a proxy in the passive mode this parameter will be ignored.
2204 -#
2205 -# Mandatory: no
2206 -# Range: 0-3600
2207 -# Default:
2208 -# HeartbeatFrequency=60
2209 -
2210 -### Option: ConfigFrequency
2211 -# How often proxy retrieves configuration data from Zabbix Server in seconds.
2212 -# For a proxy in the passive mode this parameter will be ignored.
2213 -#
2214 -# Mandatory: no
2215 -# Range: 1-3600*24*7
2216 -# Default:
2217 -# ConfigFrequency=3600
2218 -
2219 -### Option: DataSenderFrequency
2220 -# Proxy will send collected data to the Server every N seconds.
2221 -# For a proxy in the passive mode this parameter will be ignored.
2222 -#
2223 -# Mandatory: no
2224 -# Range: 1-3600
2225 -# Default:
2226 -# DataSenderFrequency=1
2227 -
2228 -############ ADVANCED PARAMETERS ################
2229 -
2230 -### Option: StartPollers
2231 -# Number of pre-forked instances of pollers.
2232 -#
2233 -# Mandatory: no
2234 -# Range: 0-1000
2235 -# Default:
2236 -# StartPollers=5
2237 -
2238 -### Option: StartIPMIPollers
2239 -# Number of pre-forked instances of IPMI pollers.
2240 -#
2241 -# Mandatory: no
2242 -# Range: 0-1000
2243 -# Default:
2244 -# StartIPMIPollers=0
2245 -
2246 -### Option: StartPollersUnreachable
2247 -# Number of pre-forked instances of pollers for unreachable hosts (including IPMI).
2248 -#
2249 -# Mandatory: no
2250 -# Range: 0-1000
2251 -# Default:
2252 -# StartPollersUnreachable=1
2253 -
2254 -### Option: StartTrappers
2255 -# Number of pre-forked instances of trappers.
2256 -# Trappers accept incoming connections from Zabbix sender and active agents.
2257 -#
2258 -# Mandatory: no
2259 -# Range: 0-1000
2260 -# Default:
2261 -# StartTrappers=5
2262 -
2263 -### Option: StartPingers
2264 -# Number of pre-forked instances of ICMP pingers.
2265 -#
2266 -# Mandatory: no
2267 -# Range: 0-1000
2268 -# Default:
2269 -# StartPingers=1
2270 -
2271 -### Option: StartDiscoverers
2272 -# Number of pre-forked instances of discoverers.
2273 -#
2274 -# Mandatory: no
2275 -# Range: 0-250
2276 -# Default:
2277 -# StartDiscoverers=1
2278 -
2279 -### Option: StartHTTPPollers
2280 -# Number of pre-forked instances of HTTP pollers.
2281 -#
2282 -# Mandatory: no
2283 -# Range: 0-1000
2284 -# Default:
2285 -# StartHTTPPollers=1
2286 -
2287 -### Option: JavaGateway
2288 -# IP address (or hostname) of Zabbix Java gateway.
2289 -# Only required if Java pollers are started.
2290 -#
2291 -# Mandatory: no
2292 -# Default:
2293 -# JavaGateway=
2294 -
2295 -### Option: JavaGatewayPort
2296 -# Port that Zabbix Java gateway listens on.
2297 -#
2298 -# Mandatory: no
2299 -# Range: 1024-32767
2300 -# Default:
2301 -# JavaGatewayPort=10052
2302 -
2303 -### Option: StartJavaPollers
2304 -# Number of pre-forked instances of Java pollers.
2305 -#
2306 -# Mandatory: no
2307 -# Range: 0-1000
2308 -# Default:
2309 -# StartJavaPollers=0
2310 -
2311 -### Option: SNMPTrapperFile
2312 -# Temporary file used for passing data from SNMP trap daemon to the proxy.
2313 -# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
2314 -#
2315 -# Mandatory: no
2316 -# Default:
2317 -# SNMPTrapperFile=/tmp/zabbix_traps.tmp
2318 -
2319 -### Option: StartSNMPTrapper
2320 -# If 1, SNMP trapper process is started.
2321 -#
2322 -# Mandatory: no
2323 -# Range: 0-1
2324 -# Default:
2325 -# StartSNMPTrapper=0
2326 -
2327 -### Option: ListenIP
2328 -# List of comma delimited IP addresses that the trapper should listen on.
2329 -# Trapper will listen on all network interfaces if this parameter is missing.
2330 -#
2331 -# Mandatory: no
2332 -# Default:
2333 -# ListenIP=0.0.0.0
2334 -
2335 -### Option: HousekeepingFrequency
2336 -# How often Zabbix will perform housekeeping procedure (in hours).
2337 -# Housekeeping is removing unnecessary information from history, alert, and alarms tables.
2338 -#
2339 -# Mandatory: no
2340 -# Range: 1-24
2341 -# Default:
2342 -# HousekeepingFrequency=1
2343 -
2344 -### Option: CacheSize
2345 -# Size of configuration cache, in bytes.
2346 -# Shared memory size, for storing hosts and items data.
2347 -#
2348 -# Mandatory: no
2349 -# Range: 128K-2G
2350 -# Default:
2351 -# CacheSize=8M
2352 -
2353 -### Option: StartDBSyncers
2354 -# Number of pre-forked instances of DB Syncers
2355 -#
2356 -# Mandatory: no
2357 -# Range: 1-100
2358 -# Default:
2359 -# StartDBSyncers=4
2360 -
2361 -### Option: HistoryCacheSize
2362 -# Size of history cache, in bytes.
2363 -# Shared memory size for storing history data.
2364 -#
2365 -# Mandatory: no
2366 -# Range: 128K-2G
2367 -# Default:
2368 -# HistoryCacheSize=8M
2369 -
2370 -### Option: HistoryTextCacheSize
2371 -# Size of text history cache, in bytes.
2372 -# Shared memory size for storing character, text or log history data.
2373 -#
2374 -# Mandatory: no
2375 -# Range: 128K-2G
2376 -# Default:
2377 -# HistoryTextCacheSize=16M
2378 -
2379 -### Option: Timeout
2380 -# Specifies how long we wait for agent, SNMP device or external check (in seconds).
2381 -#
2382 -# Mandatory: no
2383 -# Range: 1-30
2384 -# Default:
2385 -# Timeout=3
2386 -
2387 -### Option: TrapperTimeout
2388 -# Specifies how many seconds trapper may spend processing new data.
2389 -#
2390 -# Mandatory: no
2391 -# Range: 1-300
2392 -# Default:
2393 -# TrapperTimeout=300
2394 -
2395 -### Option: UnreachablePeriod
2396 -# After how many seconds of unreachability treat a host as unavailable.
2397 -#
2398 -# Mandatory: no
2399 -# Range: 1-3600
2400 -# Default:
2401 -# UnreachablePeriod=45
2402 -
2403 -### Option: UnavailableDelay
2404 -# How often host is checked for availability during the unavailability period, in seconds.
2405 -#
2406 -# Mandatory: no
2407 -# Range: 1-3600
2408 -# Default:
2409 -# UnavailableDelay=60
2410 -
2411 -### Option: UnreachableDelay
2412 -# How often host is checked for availability during the unreachability period, in seconds.
2413 -#
2414 -# Mandatory: no
2415 -# Range: 1-3600
2416 -# Default:
2417 -# UnreachableDelay=15
2418 -
2419 -### Option: ExternalScripts
2420 -# Full path to location of external scripts.
2421 -# Default depends on compilation options.
2422 -#
2423 -# Mandatory: no
2424 -# Default:
2425 -# ExternalScripts=${datadir}/zabbix/externalscripts
2426 -
2427 -### Option: FpingLocation
2428 -# Location of fping.
2429 -# Make sure that fping binary has root ownership and SUID flag set.
2430 -#
2431 -# Mandatory: no
2432 -# Default:
2433 -# FpingLocation=/usr/sbin/fping
2434 -
2435 -### Option: Fping6Location
2436 -# Location of fping6.
2437 -# Make sure that fping6 binary has root ownership and SUID flag set.
2438 -# Make empty if your fping utility is capable to process IPv6 addresses.
2439 -#
2440 -# Mandatory: no
2441 -# Default:
2442 -# Fping6Location=/usr/sbin/fping6
2443 -
2444 -### Option: SSHKeyLocation
2445 -# Location of public and private keys for SSH checks and actions
2446 -#
2447 -# Mandatory: no
2448 -# Default:
2449 -# SSHKeyLocation=
2450 -
2451 -### Option: LogSlowQueries
2452 -# How long a database query may take before being logged (in milliseconds).
2453 -# Only works if DebugLevel set to 3 or 4.
2454 -# 0 - don't log slow queries.
2455 -#
2456 -# Mandatory: no
2457 -# Range: 1-3600000
2458 -# Default:
2459 -# LogSlowQueries=0
2460 -
2461 -### Option: TmpDir
2462 -# Temporary directory.
2463 -#
2464 -# Mandatory: no
2465 -# Default:
2466 -# TmpDir=/tmp
2467 -
2468 -### Option: Include
2469 -# You may include individual files or all files in a directory in the configuration file.
2470 -# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
2471 -#
2472 -# Mandatory: no
2473 -# Default:
2474 -# Include=
2475 -
2476 -# Include=/usr/local/etc/zabbix_proxy.general.conf
2477 -# Include=/usr/local/etc/zabbix_proxy.conf.d/