|
|
a6f440 |
diff -urN zabbix-5.0.12/conf/zabbix_agentd.conf zabbix-5.0.12-patched/conf/zabbix_agentd.conf
|
|
|
a6f440 |
--- zabbix-5.0.12/conf/zabbix_agentd.conf 2021-05-24 11:21:12.000000000 +0300
|
|
|
a6f440 |
+++ zabbix-5.0.12-patched/conf/zabbix_agentd.conf 2021-06-09 13:38:19.561653415 +0300
|
|
|
a6f440 |
@@ -10,6 +10,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# PidFile=/tmp/zabbix_agentd.pid
|
|
|
a6f440 |
|
|
|
a6f440 |
+PidFile=/var/run/zabbix/zabbix_agentd.pid
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: LogType
|
|
|
a6f440 |
# Specifies where log messages are written to:
|
|
|
a6f440 |
# system - syslog
|
|
|
a6f440 |
@@ -27,7 +29,7 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFile=
|
|
|
a6f440 |
|
|
|
a6f440 |
-LogFile=/tmp/zabbix_agentd.log
|
|
|
a6f440 |
+LogFile=/var/log/zabbix/zabbix_agentd.log
|
|
|
a6f440 |
|
|
|
a6f440 |
### Option: LogFileSize
|
|
|
a6f440 |
# Maximum size of log file in MB.
|
|
|
a6f440 |
@@ -38,6 +40,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFileSize=1
|
|
|
a6f440 |
|
|
|
a6f440 |
+LogFileSize=0
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DebugLevel
|
|
|
a6f440 |
# Specifies debug level:
|
|
|
a6f440 |
# 0 - basic information about starting and stopping of Zabbix processes
|
|
|
a6f440 |
@@ -302,6 +306,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# Include=
|
|
|
a6f440 |
|
|
|
a6f440 |
+Include=/etc/zabbix/zabbix_agentd.d/*.conf
|
|
|
a6f440 |
+
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.userparams.conf
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.conf.d/
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
|
|
|
a6f440 |
diff -urN zabbix-5.0.12/conf/zabbix_proxy.conf zabbix-5.0.12-patched/conf/zabbix_proxy.conf
|
|
|
a6f440 |
--- zabbix-5.0.12/conf/zabbix_proxy.conf 2021-05-24 11:21:12.000000000 +0300
|
|
|
a6f440 |
+++ zabbix-5.0.12-patched/conf/zabbix_proxy.conf 2021-06-09 13:40:44.055884862 +0300
|
|
|
a6f440 |
@@ -88,7 +88,7 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFile=
|
|
|
a6f440 |
|
|
|
a6f440 |
-LogFile=/tmp/zabbix_proxy.log
|
|
|
a6f440 |
+LogFile=/var/log/zabbix/zabbix_proxy.log
|
|
|
a6f440 |
|
|
|
a6f440 |
### Option: LogFileSize
|
|
|
a6f440 |
# Maximum size of log file in MB.
|
|
|
a6f440 |
@@ -99,6 +99,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFileSize=1
|
|
|
a6f440 |
|
|
|
a6f440 |
+LogFileSize=0
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DebugLevel
|
|
|
a6f440 |
# Specifies debug level:
|
|
|
a6f440 |
# 0 - basic information about starting and stopping of Zabbix processes
|
|
|
a6f440 |
@@ -138,6 +140,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# PidFile=/tmp/zabbix_proxy.pid
|
|
|
a6f440 |
|
|
|
a6f440 |
+PidFile=/var/run/zabbix/zabbix_proxy.pid
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: SocketDir
|
|
|
a6f440 |
# IPC socket directory.
|
|
|
a6f440 |
# Directory to store IPC sockets used by internal Zabbix services.
|
|
|
a6f440 |
@@ -146,6 +150,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# SocketDir=/tmp
|
|
|
a6f440 |
|
|
|
a6f440 |
+SocketDir=/var/run/zabbix
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DBHost
|
|
|
a6f440 |
# Database host name.
|
|
|
a6f440 |
# If set to localhost, socket is used for MySQL.
|
|
|
a6f440 |
@@ -397,6 +403,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
|
|
|
a6f440 |
|
|
|
a6f440 |
+SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: StartSNMPTrapper
|
|
|
a6f440 |
# If 1, SNMP trapper process is started.
|
|
|
a6f440 |
#
|
|
|
a6f440 |
@@ -514,6 +522,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# ExternalScripts=${datadir}/zabbix/externalscripts
|
|
|
a6f440 |
|
|
|
a6f440 |
+ExternalScripts=/usr/lib/zabbix/externalscripts
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: FpingLocation
|
|
|
a6f440 |
# Location of fping.
|
|
|
a6f440 |
# Make sure that fping binary has root ownership and SUID flag set.
|
|
|
a6f440 |
diff -urN zabbix-5.0.12/conf/zabbix_server.conf zabbix-5.0.12-patched/conf/zabbix_server.conf
|
|
|
a6f440 |
--- zabbix-5.0.12/conf/zabbix_server.conf 2021-05-24 11:21:12.000000000 +0300
|
|
|
a6f440 |
+++ zabbix-5.0.12-patched/conf/zabbix_server.conf 2021-06-09 13:42:36.072497729 +0300
|
|
|
a6f440 |
@@ -35,7 +35,7 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFile=
|
|
|
a6f440 |
|
|
|
a6f440 |
-LogFile=/tmp/zabbix_server.log
|
|
|
a6f440 |
+LogFile=/var/log/zabbix/zabbix_server.log
|
|
|
a6f440 |
|
|
|
a6f440 |
### Option: LogFileSize
|
|
|
a6f440 |
# Maximum size of log file in MB.
|
|
|
a6f440 |
@@ -46,6 +46,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFileSize=1
|
|
|
a6f440 |
|
|
|
a6f440 |
+LogFileSize=0
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DebugLevel
|
|
|
a6f440 |
# Specifies debug level:
|
|
|
a6f440 |
# 0 - basic information about starting and stopping of Zabbix processes
|
|
|
a6f440 |
@@ -67,6 +69,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# PidFile=/tmp/zabbix_server.pid
|
|
|
a6f440 |
|
|
|
a6f440 |
+PidFile=/var/run/zabbix/zabbix_server.pid
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: SocketDir
|
|
|
a6f440 |
# IPC socket directory.
|
|
|
a6f440 |
# Directory to store IPC sockets used by internal Zabbix services.
|
|
|
a6f440 |
@@ -75,6 +79,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# SocketDir=/tmp
|
|
|
a6f440 |
|
|
|
a6f440 |
+SocketDir=/var/run/zabbix
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DBHost
|
|
|
a6f440 |
# Database host name.
|
|
|
a6f440 |
# If set to localhost, socket is used for MySQL.
|
|
|
a6f440 |
@@ -356,6 +362,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
|
|
|
a6f440 |
|
|
|
a6f440 |
+SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: StartSNMPTrapper
|
|
|
a6f440 |
# If 1, SNMP trapper process is started.
|
|
|
a6f440 |
#
|
|
|
a6f440 |
@@ -512,6 +520,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# AlertScriptsPath=${datadir}/zabbix/alertscripts
|
|
|
a6f440 |
|
|
|
a6f440 |
+AlertScriptsPath=/usr/lib/zabbix/alertscripts
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: ExternalScripts
|
|
|
a6f440 |
# Full path to location of external scripts.
|
|
|
a6f440 |
# Default depends on compilation options.
|
|
|
a6f440 |
@@ -521,6 +531,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# ExternalScripts=${datadir}/zabbix/externalscripts
|
|
|
a6f440 |
|
|
|
a6f440 |
+ExternalScripts=/usr/lib/zabbix/externalscripts
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: FpingLocation
|
|
|
a6f440 |
# Location of fping.
|
|
|
a6f440 |
# Make sure that fping binary has root ownership and SUID flag set.
|
|
|
a6f440 |
diff -urN zabbix-5.0.12/src/go/conf/zabbix_agent2.conf zabbix-5.0.12-patched/src/go/conf/zabbix_agent2.conf
|
|
|
a6f440 |
--- zabbix-5.0.12/src/go/conf/zabbix_agent2.conf 2021-05-24 11:21:13.000000000 +0300
|
|
|
a6f440 |
+++ zabbix-5.0.12-patched/src/go/conf/zabbix_agent2.conf 2021-06-09 13:39:45.320831681 +0300
|
|
|
a6f440 |
@@ -10,6 +10,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# PidFile=/tmp/zabbix_agent2.pid
|
|
|
a6f440 |
|
|
|
a6f440 |
+PidFile=/var/run/zabbix/zabbix_agent2.pid
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: LogType
|
|
|
a6f440 |
# Specifies where log messages are written to:
|
|
|
a6f440 |
# system - syslog
|
|
|
a6f440 |
@@ -27,7 +29,7 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFile=
|
|
|
a6f440 |
|
|
|
a6f440 |
-LogFile=/tmp/zabbix_agent2.log
|
|
|
a6f440 |
+LogFile=/var/log/zabbix/zabbix_agent2.log
|
|
|
a6f440 |
|
|
|
a6f440 |
### Option: LogFileSize
|
|
|
a6f440 |
# Maximum size of log file in MB.
|
|
|
a6f440 |
@@ -38,6 +40,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# LogFileSize=1
|
|
|
a6f440 |
|
|
|
a6f440 |
+LogFileSize=0
|
|
|
a6f440 |
+
|
|
|
a6f440 |
### Option: DebugLevel
|
|
|
a6f440 |
# Specifies debug level:
|
|
|
a6f440 |
# 0 - basic information about starting and stopping of Zabbix processes
|
|
|
a6f440 |
@@ -261,6 +265,8 @@
|
|
|
a6f440 |
# Default:
|
|
|
a6f440 |
# Include=
|
|
|
a6f440 |
|
|
|
a6f440 |
+Include=/etc/zabbix/zabbix_agent2.d/*.conf
|
|
|
a6f440 |
+
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.userparams.conf
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.conf.d/
|
|
|
a6f440 |
# Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
|