29da65e8ea
* add missing dependency on php5-gd * remove all hardcoded paths * rework README.OpenBSD * add empty zabbix.conf.php file that is writable by the www user so that the configuration wizard can tweak this file * protect configuration files, they may contain passwords * fix configuration so that it works by default which is the purpose of porting these kinds of apps ok sthen@, ok jasper@ on a previous version of the diff
28 lines
699 B
Plaintext
28 lines
699 B
Plaintext
$OpenBSD: patch-misc_conf_zabbix_trapper_conf,v 1.2 2009/07/12 19:51:51 ajacoutot Exp $
|
|
--- misc/conf/zabbix_trapper.conf.orig Fri Apr 3 16:44:06 2009
|
|
+++ misc/conf/zabbix_trapper.conf Thu Jul 2 10:00:43 2009
|
|
@@ -19,7 +19,7 @@ Timeout=3
|
|
# Name of log file
|
|
# If not set, syslog will be used
|
|
|
|
-LogFile=/tmp/zabbix_trapper.log
|
|
+#LogFile=/tmp/zabbix_trapper.log
|
|
|
|
# Database host name
|
|
# Default is localhost
|
|
@@ -32,7 +32,7 @@ DBName=zabbix
|
|
|
|
# Database user
|
|
|
|
-DBUser=root
|
|
+DBUser=zabbix
|
|
|
|
# Database password
|
|
# Comment this line if no password used
|
|
@@ -41,4 +41,4 @@ DBUser=root
|
|
|
|
# Connect to MySQL usig Unix socket?
|
|
|
|
-#DBSocket=/tmp/mysql.sock
|
|
+DBSocket=/var/www/var/run/mysql/mysql.sock
|