openbsd-ports/net/zabbix/patches/patch-misc_conf_zabbix_proxy_conf
2012-03-20 12:00:37 +00:00

53 lines
1.4 KiB
Plaintext

$OpenBSD: patch-misc_conf_zabbix_proxy_conf,v 1.9 2012/03/20 12:00:37 robert Exp $
--- misc/conf/zabbix_proxy.conf.orig Tue Mar 20 10:15:16 2012
+++ misc/conf/zabbix_proxy.conf Tue Mar 20 12:21:24 2012
@@ -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.
@@ -136,7 +137,7 @@ DBName=zabbix
# Default:
# DBUser=
-DBUser=root
+DBUser=zabbix
### Option: DBPassword
# Database password. Ignored for SQLite.
@@ -152,6 +153,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.
@@ -357,6 +359,7 @@ DBUser=root
# Mandatory: no
# Default:
# ExternalScripts=/etc/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -365,6 +368,7 @@ DBUser=root
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -374,6 +378,7 @@ DBUser=root
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
### Option: SSHKeyLocation
# Location of public keys for SSH checks