aboutsummaryrefslogtreecommitdiffstats
path: root/community/zabbix/zabbix_agent2.conf.patch
blob: 5e6441165a7e519e27cb01777122c0620a8e1736 (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/src/go/conf/zabbix_agent2.conf b/src/go/conf/zabbix_agent2.conf
index c635f2069d..d75b925d72 100644
--- a/src/go/conf/zabbix_agent2.conf
+++ b/src/go/conf/zabbix_agent2.conf
@@ -27,7 +27,7 @@
 # Default:
 # LogFile=
 
-LogFile=/tmp/zabbix_agent2.log
+LogFile=/var/log/zabbix/zabbix_agent2.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
@@ -124,7 +124,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.
@@ -132,7 +132,7 @@ Hostname=Zabbix server
 #
 # Mandatory: no
 # Default:
-# HostnameItem=system.hostname
+HostnameItem=system.hostname
 
 ### Option: HostMetadata
 #	Optional parameter that defines host metadata.
@@ -247,7 +247,7 @@ Hostname=Zabbix server
 # Default:
 # ControlSocket=
 
-ControlSocket=/tmp/agent.sock
+ControlSocket=/run/zabbix/zabbix_agent2.sock
 
 ####### TLS-RELATED PARAMETERS #######