openbsd-ports/net/zabbix/patches/patch-misc_conf_zabbix_proxy_conf

53 lines
1.4 KiB
Plaintext

$OpenBSD: patch-misc_conf_zabbix_proxy_conf,v 1.8 2011/08/21 09:21:02 ajacoutot Exp $
--- misc/conf/zabbix_proxy.conf.orig Thu Aug 4 10:23:14 2011
+++ misc/conf/zabbix_proxy.conf Sun Aug 21 11:01:16 2011
@@ -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.
@@ -374,6 +376,7 @@ DBUser=root
# Mandatory: no
# Default:
# ExternalScripts=/etc/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -382,6 +385,7 @@ DBUser=root
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -391,6 +395,7 @@ DBUser=root
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
### Option: SSHKeyLocation
# Location of public keys for SSH checks