$OpenBSD: patch-misc_conf_zabbix_proxy_conf,v 1.7 2011/04/25 07:42:36 ajacoutot Exp $
--- misc/conf/zabbix_proxy.conf.orig	Fri Apr 15 21:17:30 2011
+++ misc/conf/zabbix_proxy.conf	Mon Apr 25 08:17:22 2011
@@ -94,6 +94,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.
@@ -126,7 +127,7 @@ DBName=zabbix
 # Default:
 # DBUser=
 
-DBUser=root
+DBUser=zabbix
 
 ### Option: DBPassword
 #	Database password. Ignored for SQLite.
@@ -142,6 +143,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.
@@ -372,6 +374,7 @@ DBUser=root
 # Mandatory: no
 # Default:
 # ExternalScripts=/etc/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
 
 ### Option: FpingLocation
 #	Location of fping.
@@ -380,6 +383,7 @@ DBUser=root
 # Mandatory: no
 # Default:
 # FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
 
 ### Option: Fping6Location
 #	Location of fping6.
@@ -389,6 +393,7 @@ DBUser=root
 # Mandatory: no
 # Default:
 # Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
 
 ### Option: SSHKeyLocation
 #	Location of public keys for SSH checks
