aboutsummaryrefslogtreecommitdiffstats
path: root/community/zabbix/zabbix_agent2.conf.patch
blob: 566035c59f056a07544717812cd02704977f5052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/go/src/zabbix/conf/zabbix_agent2.conf b/go/src/zabbix/conf/zabbix_agent2.conf
index c635f2069d..d75b925d72 100644
--- a/go/src/zabbix/conf/zabbix_agent2.conf
+++ b/go/src/zabbix/conf/zabbix_agent2.conf
@@ -27,7 +27,7 @@
 # Default:
 # LogFile=
 
-LogFile=/tmp/zabbix_agentd.log
+LogFile=/var/log/zabbix/zabbix_agent2.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
@@ -142,7 +142,7 @@ ServerActive=127.0.0.1
 # Default:
 # Hostname=
 
-Hostname=Zabbix server
+# Hostname=Zabbix server
 
 ### Option: HostnameItem
 #	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
@@ -150,7 +150,7 @@ Hostname=Zabbix server
 #
 # Mandatory: no
 # Default:
-# HostnameItem=system.hostname
+HostnameItem=system.hostname
 
 ### Option: HostMetadata
 #	Optional parameter that defines host metadata.
@@ -276,7 +276,7 @@ Hostname=Zabbix server
 # Default:
 # ControlSocket=
 
-ControlSocket=/tmp/agent.sock
+ControlSocket=/run/zabbix/zabbix_agent2.sock
 
 ####### TLS-RELATED PARAMETERS #######