e4812f6ef97de80bdc6292509f44e5ca3fa28c84
[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,8 @@
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 ### Option: LogFile
17 # Name of log file.
18 @@ -18,8 +14,6 @@
19 # Default:
20 # LogFile=
21
22 -LogFile=/tmp/zabbix_agentd.log
23 -
24 ### Option: LogFileSize
25 # Maximum size of log file in MB.
26 # 0 - disable automatic log rotation.
27 @@ -104,6 +98,7 @@ Server=127.0.0.1
28 # Range: 0-100
29 # Default:
30 # StartAgents=3
31 +StartAgents=1
32
33 ##### Active checks related
34
35 @@ -119,8 +114,6 @@ Server=127.0.0.1
36 # Default:
37 # ServerActive=
38
39 -ServerActive=127.0.0.1
40 -
41 ### Option: Hostname
42 # Unique, case sensitive hostname.
43 # Required for active checks and must match hostname as configured on the server.
44 @@ -130,8 +123,6 @@ ServerActive=127.0.0.1
45 # Default:
46 # Hostname=
47
48 -Hostname=Zabbix server
49 -
50 ### Option: HostnameItem
51 # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
52 # Does not support UserParameters or aliases.
53 @@ -249,8 +240,8 @@ Hostname=Zabbix server
54 # Include=
55
56 # Include=/usr/local/etc/zabbix_agentd.userparams.conf
57 -# Include=/usr/local/etc/zabbix_agentd.conf.d/
58 # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
59 +Include=/etc/zabbix_agentd.conf.d/
60
61 ####### USER-DEFINED MONITORED PARAMETERS #######
62