Merge pull request #19372 from cotequeiroz/libgd
[feed/packages.git] / admin / zabbix / patches / 010-change-agentd-config.patch
1 --- a/conf/zabbix_agentd.conf
2 +++ b/conf/zabbix_agentd.conf
3 @@ -3,12 +3,11 @@
4
5 ############ GENERAL PARAMETERS #################
6
7 -### Option: PidFile
8 -# Name of PID file.
9 -#
10 -# Mandatory: no
11 -# Default:
12 -# PidFile=/tmp/zabbix_agentd.pid
13 +# We do not need PidFile with procd
14 +# PidFile=/var/run/zabbix_agentd.pid
15 +
16 +# use syslog
17 +LogType=system
18
19 ### Option: LogType
20 # Specifies where log messages are written to:
21 @@ -27,8 +26,6 @@
22 # Default:
23 # LogFile=
24
25 -LogFile=/tmp/zabbix_agentd.log
26 -
27 ### Option: LogFileSize
28 # Maximum size of log file in MB.
29 # 0 - disable automatic log rotation.
30 @@ -136,6 +133,7 @@ Server=127.0.0.1
31 # Range: 0-100
32 # Default:
33 # StartAgents=3
34 +StartAgents=1
35
36 ##### Active checks related
37
38 @@ -164,8 +162,6 @@ Server=127.0.0.1
39 # Default:
40 # ServerActive=
41
42 -ServerActive=127.0.0.1
43 -
44 ### Option: Hostname
45 # List of comma delimited unique, case sensitive hostnames.
46 # Required for active checks and must match hostnames as configured on the server.
47 @@ -175,8 +171,6 @@ ServerActive=127.0.0.1
48 # Default:
49 # Hostname=
50
51 -Hostname=Zabbix server
52 -
53 ### Option: HostnameItem
54 # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
55 # Does not support UserParameters or aliases.
56 @@ -326,8 +320,8 @@ Hostname=Zabbix server
57 # Include=
58
59 # Include=/usr/local/etc/zabbix_agentd.userparams.conf
60 -# Include=/usr/local/etc/zabbix_agentd.conf.d/
61 # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
62 +Include=/etc/zabbix_agentd.conf.d/
63
64 ####### USER-DEFINED MONITORED PARAMETERS #######
65