Remove zabbix (moved to new feed)
[openwrt.org/packages.git] / admin / 010-change-agentd-config.patch
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
--- a/conf/zabbix_agentd.conf
+++ b/conf/zabbix_agentd.conf
@@ -3,12 +3,8 @@
 
 ############ GENERAL PARAMETERS #################
 
-### Option: PidFile
-#      Name of PID file.
-#
-# Mandatory: no
-# Default:
-# PidFile=/tmp/zabbix_agentd.pid
+# Only /var/run/zabbix_agentd.pid supported
+PidFile=/var/run/zabbix_agentd.pid
 
 ### Option: LogFile
 #      Name of log file.
@@ -18,8 +14,6 @@
 # Default:
 # LogFile=
 
-LogFile=/tmp/zabbix_agentd.log
-
 ### Option: LogFileSize
 #      Maximum size of log file in MB.
 #      0 - disable automatic log rotation.
@@ -104,6 +98,7 @@ Server=127.0.0.1
 # Range: 0-100
 # Default:
 # StartAgents=3
+StartAgents=1
 
 ##### Active checks related
 
@@ -119,8 +114,6 @@ Server=127.0.0.1
 # Default:
 # ServerActive=
 
-ServerActive=127.0.0.1
-
 ### Option: Hostname
 #      Unique, case sensitive hostname.
 #      Required for active checks and must match hostname as configured on the server.
@@ -130,8 +123,6 @@ ServerActive=127.0.0.1
 # Default:
 # Hostname=
 
-Hostname=Zabbix server
-
 ### Option: HostnameItem
 #      Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
 #      Does not support UserParameters or aliases.
@@ -240,7 +231,7 @@ Hostname=Zabbix server
 # Include=
 
 # Include=/usr/local/etc/zabbix_agentd.userparams.conf
-# Include=/usr/local/etc/zabbix_agentd.conf.d/
+Include=/etc/zabbix_agentd.conf.d/
 
 ####### USER-DEFINED MONITORED PARAMETERS #######
 
 
comments