ports/net/zabbix/patches/patch-conf_zabbix_proxy_conf

54 lines
1.3 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: conf/zabbix_proxy.conf
--- conf/zabbix_proxy.conf.orig
+++ conf/zabbix_proxy.conf
@@ -81,7 +81,7 @@ Hostname=Zabbix proxy
# Default:
# LogFile=
-LogFile=/tmp/zabbix_proxy.log
+LogFile=/var/log/zabbix/proxy.log
### Option: LogFileSize
# Maximum size of log file in MB.
@@ -129,7 +129,7 @@ LogFile=/tmp/zabbix_proxy.log
#
# Mandatory: no
# Default:
-# PidFile=/tmp/zabbix_proxy.pid
+PidFile=/var/run/zabbix/zabbix_proxy.pid
### Option: SocketDir
# IPC socket directory.
@@ -193,6 +193,7 @@ DBUser=zabbix
# Mandatory: no
# Default:
# DBSocket=
+DBSocket=/var/www/var/run/mysql/mysql.sock
# Option: DBPort
# Database port when not using local socket. Ignored for SQLite.
@@ -523,6 +524,7 @@ Timeout=4
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -531,6 +533,7 @@ Timeout=4
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -540,6 +543,7 @@ Timeout=4
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
### Option: SSHKeyLocation
# Location of public and private keys for SSH checks and actions.