$OpenBSD: patch-conf_zabbix_server_conf,v 1.13 2021/07/02 10:53:06 robert Exp $

Index: conf/zabbix_server.conf
--- conf/zabbix_server.conf.orig
+++ conf/zabbix_server.conf
@@ -35,7 +35,7 @@
 # Default:
 # LogFile=
 
-LogFile=/tmp/zabbix_server.log
+LogFile=/var/log/zabbix/server.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
@@ -123,6 +123,7 @@ DBUser=zabbix
 # Mandatory: no
 # Default:
 # DBSocket=
+DBSocket=/var/www/var/run/mysql/mysql.sock
 
 ### Option: DBPort
 #	Database port when not using local socket.
@@ -511,6 +512,7 @@ Timeout=4
 # Mandatory: no
 # Default:
 # AlertScriptsPath=${datadir}/zabbix/alertscripts
+AlertScriptsPath=${SYSCONFDIR}/zabbix/alertscripts/
 
 ### Option: ExternalScripts
 #	Full path to location of external scripts.
@@ -528,6 +530,7 @@ Timeout=4
 # Mandatory: no
 # Default:
 # FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
 
 ### Option: Fping6Location
 #	Location of fping6.
@@ -537,6 +540,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.
