2010-08-22 10:43:23 -04:00
|
|
|
$OpenBSD: patch-misc_conf_zabbix_server_conf,v 1.5 2010/08/22 14:43:24 ajacoutot Exp $
|
|
|
|
--- misc/conf/zabbix_server.conf.orig Thu Aug 19 16:37:36 2010
|
|
|
|
+++ misc/conf/zabbix_server.conf Thu Aug 19 16:40:20 2010
|
2010-04-09 06:17:59 -04:00
|
|
|
@@ -36,8 +36,6 @@
|
2010-01-11 13:30:01 -05:00
|
|
|
# Default:
|
|
|
|
# LogFile=
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
-LogFile=/tmp/zabbix_server.log
|
|
|
|
-
|
|
|
|
### Option: LogFileSize
|
|
|
|
# Maximum size of log file in MB.
|
|
|
|
# 0 - disable automatic log rotation.
|
2010-04-09 06:17:59 -04:00
|
|
|
@@ -66,6 +64,7 @@ LogFile=/tmp/zabbix_server.log
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# PidFile=/tmp/zabbix_server.pid
|
2009-04-23 11:38:11 -04:00
|
|
|
+PidFile=/var/run/zabbix/zabbix_server.pid
|
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: DBHost
|
|
|
|
# Database host name.
|
2010-04-09 06:17:59 -04:00
|
|
|
@@ -92,7 +91,7 @@ DBName=zabbix
|
2010-01-11 13:30:01 -05:00
|
|
|
# Default:
|
|
|
|
# DBUser=
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
-DBUser=root
|
|
|
|
+DBUser=zabbix
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: DBPassword
|
|
|
|
# Database password. Ignored for SQLite.
|
2010-04-09 06:17:59 -04:00
|
|
|
@@ -108,6 +107,7 @@ DBUser=root
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# DBSocket=/tmp/mysql.sock
|
|
|
|
+DBSocket=/var/www/var/run/mysql/mysql.sock
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: DBPort
|
|
|
|
# Database port when not using local socket. Ignored for SQLite.
|
2010-08-22 10:43:23 -04:00
|
|
|
@@ -334,6 +334,7 @@ DBUser=root
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# AlertScriptsPath=/home/zabbix/bin/
|
2009-04-23 11:38:11 -04:00
|
|
|
+AlertScriptsPath=${SYSCONFDIR}/zabbix/scripts/
|
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: ExternalScripts
|
|
|
|
# Location of external scripts
|
2010-08-22 10:43:23 -04:00
|
|
|
@@ -341,6 +342,7 @@ DBUser=root
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# ExternalScripts=/etc/zabbix/externalscripts
|
2009-07-12 15:51:51 -04:00
|
|
|
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: FpingLocation
|
|
|
|
# Location of fping.
|
2010-08-22 10:43:23 -04:00
|
|
|
@@ -349,6 +351,7 @@ DBUser=root
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# FpingLocation=/usr/sbin/fping
|
2009-07-12 15:51:51 -04:00
|
|
|
+FpingLocation=${LOCALBASE}/sbin/fping
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: Fping6Location
|
|
|
|
# Location of fping6.
|
2010-08-22 10:43:23 -04:00
|
|
|
@@ -358,6 +361,7 @@ DBUser=root
|
2010-01-11 13:30:01 -05:00
|
|
|
# Mandatory: no
|
|
|
|
# Default:
|
|
|
|
# Fping6Location=/usr/sbin/fping6
|
2010-08-22 10:43:23 -04:00
|
|
|
+Fping6Location=${LOCALBASE}/sbin/fping6
|
2009-04-23 11:38:11 -04:00
|
|
|
|
2010-01-11 13:30:01 -05:00
|
|
|
### Option: SSHKeyLocation
|
|
|
|
# Location of public keys for SSH checks
|