openbsd-ports/net/zabbix/patches/patch-conf_zabbix_server_conf
2014-07-08 08:10:38 +00:00

70 lines
1.8 KiB
Plaintext

$OpenBSD: patch-conf_zabbix_server_conf,v 1.4 2014/07/08 08:10:38 robert Exp $
--- conf/zabbix_server.conf.orig Mon Jun 23 16:12:54 2014
+++ conf/zabbix_server.conf Tue Jul 8 10:09:58 2014
@@ -36,7 +36,7 @@
# Default:
# LogFile=
-LogFile=/tmp/zabbix_server.log
+# LogFile=/tmp/zabbix_server.log
### Option: LogFileSize
# Maximum size of log file in MB.
@@ -66,6 +66,7 @@ LogFile=/tmp/zabbix_server.log
# Mandatory: no
# Default:
# PidFile=/tmp/zabbix_server.pid
+PidFile=/var/run/zabbix/zabbix_server.pid
### Option: DBHost
# Database host name.
@@ -100,7 +101,7 @@ DBName=zabbix
# Default:
# DBUser=
-DBUser=root
+DBUser=zabbix
### Option: DBPassword
# Database password. Ignored for SQLite.
@@ -116,6 +117,7 @@ DBUser=root
# Mandatory: no
# Default:
# DBSocket=/tmp/mysql.sock
+DBSocket=/var/www/var/run/mysql/mysql.sock
### Option: DBPort
# Database port when not using local socket. Ignored for SQLite.
@@ -432,6 +434,7 @@ DBUser=root
# Mandatory: no
# Default:
# AlertScriptsPath=${datadir}/zabbix/alertscripts
+AlertScriptsPath=${SYSCONFDIR}/zabbix/scripts/
### Option: ExternalScripts
# Full path to location of external scripts.
@@ -440,6 +443,7 @@ DBUser=root
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -448,6 +452,7 @@ DBUser=root
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -457,6 +462,7 @@ DBUser=root
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
### Option: SSHKeyLocation
# Location of public and private keys for SSH checks and actions.