70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
$OpenBSD: patch-conf_zabbix_server_conf,v 1.1 2012/10/10 22:04:57 robert Exp $
|
|
--- conf/zabbix_server.conf.orig Wed Oct 10 19:57:03 2012
|
|
+++ conf/zabbix_server.conf Wed Oct 10 19:58:00 2012
|
|
@@ -36,7 +36,7 @@
|
|
# Default:
|
|
# LogFile=
|
|
|
|
-LogFile=/tmp/zabbix_server.log
|
|
+# LogFile=/tmp/zabbix_server.log
|
|
|
|
### Option: LogFileSize
|
|
# Maximum size of log file in MB.
|
|
@@ -66,6 +66,7 @@ LogFile=/tmp/zabbix_server.log
|
|
# Mandatory: no
|
|
# Default:
|
|
# PidFile=/tmp/zabbix_server.pid
|
|
+PidFile=/var/run/zabbix/zabbix_server.pid
|
|
|
|
### Option: DBHost
|
|
# Database host name.
|
|
@@ -100,7 +101,7 @@ DBName=zabbix
|
|
# Default:
|
|
# DBUser=
|
|
|
|
-DBUser=root
|
|
+DBUser=zabbix
|
|
|
|
### Option: DBPassword
|
|
# Database password. Ignored for SQLite.
|
|
@@ -116,6 +117,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.
|
|
@@ -388,6 +390,7 @@ DBUser=root
|
|
# Mandatory: no
|
|
# Default:
|
|
# AlertScriptsPath=${datadir}/zabbix/alertscripts
|
|
+AlertScriptsPath=${SYSCONFDIR}/zabbix/scripts/
|
|
|
|
### Option: ExternalScripts
|
|
# Full path to location of external scripts.
|
|
@@ -396,6 +399,7 @@ DBUser=root
|
|
# Mandatory: no
|
|
# Default:
|
|
# ExternalScripts=${datadir}/zabbix/externalscripts
|
|
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
|
|
|
|
### Option: FpingLocation
|
|
# Location of fping.
|
|
@@ -404,6 +408,7 @@ DBUser=root
|
|
# Mandatory: no
|
|
# Default:
|
|
# FpingLocation=/usr/sbin/fping
|
|
+FpingLocation=${LOCALBASE}/sbin/fping
|
|
|
|
### Option: Fping6Location
|
|
# Location of fping6.
|
|
@@ -413,6 +418,7 @@ DBUser=root
|
|
# Mandatory: no
|
|
# Default:
|
|
# Fping6Location=/usr/sbin/fping6
|
|
+Fping6Location=${LOCALBASE}/sbin/fping6
|
|
|
|
### Option: SSHKeyLocation
|
|
# Location of public and private keys for SSH checks and actions
|