openbsd-ports/net/zabbix/patches/patch-misc_conf_zabbix_proxy_conf
ajacoutot 12ecf96b34 Update to zabbix-1.8.3.
Based on a submission from Florian Gross with several fixes and tweaks.

ok sthen@
2010-08-22 14:43:23 +00:00

53 lines
1.4 KiB
Plaintext

$OpenBSD: patch-misc_conf_zabbix_proxy_conf,v 1.5 2010/08/22 14:43:24 ajacoutot Exp $
--- misc/conf/zabbix_proxy.conf.orig Thu Aug 19 16:33:48 2010
+++ misc/conf/zabbix_proxy.conf Thu Aug 19 16:36:24 2010
@@ -96,6 +96,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.
@@ -121,7 +122,7 @@ DBName=zabbix
# Default:
# DBUser=
-DBUser=root
+DBUser=zabbix
### Option: DBPassword
# Database password. Ignored for SQLite.
@@ -137,6 +138,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