openbsd-ports/net/zabbix/patches/patch-conf_zabbix_proxy_conf
2014-01-14 15:17:46 +00:00

62 lines
1.6 KiB
Plaintext

$OpenBSD: patch-conf_zabbix_proxy_conf,v 1.3 2014/01/14 15:17:46 robert Exp $
--- conf/zabbix_proxy.conf.orig Mon Dec 9 10:15:13 2013
+++ conf/zabbix_proxy.conf Tue Jan 14 09:17:46 2014
@@ -74,7 +74,7 @@ Hostname=Zabbix proxy
# Default:
# LogFile=
-LogFile=/tmp/zabbix_proxy.log
+# LogFile=/tmp/zabbix_proxy.log
### Option: LogFileSize
# Maximum size of log file in MB.
@@ -104,6 +104,7 @@ LogFile=/tmp/zabbix_proxy.log
# Mandatory: no
# Default:
# PidFile=/tmp/zabbix_proxy.pid
+PidFile=/var/run/zabbix/zabbix_proxy.pid
### Option: DBHost
# Database host name.
@@ -138,7 +139,7 @@ DBName=zabbix_proxy
# Default:
# DBUser=
-DBUser=root
+DBUser=zabbix
### Option: DBPassword
# Database password. Ignored for SQLite.
@@ -154,6 +155,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.
@@ -435,6 +437,7 @@ DBUser=root
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -443,6 +446,7 @@ DBUser=root
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -452,6 +456,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.