Added config files for zabbix 1.6.4 from bugs.gentoo.org
This commit is contained in:
22
net-analyzer/zabbix/files/1.6.4/init.d/zabbix-agentd
Normal file
22
net-analyzer/zabbix/files/1.6.4/init.d/zabbix-agentd
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-agentd,v 1.1 2008/07/23 15:47:30 wschlich Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
provide zabbix-agent
|
||||
use zabbix-server
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Zabbix agent"
|
||||
start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_agentd
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Zabbix agent"
|
||||
start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_agentd.pid
|
||||
eend $?
|
||||
}
|
||||
21
net-analyzer/zabbix/files/1.6.4/init.d/zabbix-server
Normal file
21
net-analyzer/zabbix/files/1.6.4/init.d/zabbix-server
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-server,v 1.1 2008/07/23 15:47:30 wschlich Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use mysql postgresql
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Zabbix server"
|
||||
start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_server
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Zabbix server"
|
||||
start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_server.pid
|
||||
eend $?
|
||||
}
|
||||
8
net-analyzer/zabbix/files/1.6.4/postinstall-en.txt
Normal file
8
net-analyzer/zabbix/files/1.6.4/postinstall-en.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Please change the values of the following variables in
|
||||
${MY_HTDOCSDIR}/include/db.inc.php:
|
||||
|
||||
DB_TYPE
|
||||
DB_SERVER
|
||||
DB_DATABASE
|
||||
DB_USER
|
||||
DB_PASSWORD
|
||||
27
net-analyzer/zabbix/files/1.6.4/zabbix_agent.conf
Normal file
27
net-analyzer/zabbix/files/1.6.4/zabbix_agent.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
# This is config file for zabbix_agent
|
||||
# To get more information about ZABBIX,
|
||||
# go http://www.zabbix.com
|
||||
|
||||
# IP address of ZABBIX server
|
||||
# Connections from other hosts will be denied
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
# Spend no more than Timeout seconds on processing
|
||||
# Must be between 1 and 30
|
||||
|
||||
Timeout=3
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
# Format: UserParameter=<key>,<shell command>
|
||||
# Note that shell command must not return empty string or EOL only
|
||||
#UserParameter=system.test,who|wc -l
|
||||
### Set of parameter for monitoring MySQL server (v3.23.42 and later)
|
||||
### Change -u<username> and add -p<password> if required
|
||||
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
|
||||
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
|
||||
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
|
||||
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
|
||||
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
|
||||
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
|
||||
#UserParameter=mysql.version,mysql -V
|
||||
90
net-analyzer/zabbix/files/1.6.4/zabbix_agentd.conf
Normal file
90
net-analyzer/zabbix/files/1.6.4/zabbix_agentd.conf
Normal file
@@ -0,0 +1,90 @@
|
||||
# This is config file for zabbix_agentd
|
||||
# To get more information about ZABBIX, go http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
# List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
|
||||
# No spaces allowed. First entry is used for sending active checks.
|
||||
# Note that hostnames must resolve hostname->IP address and
|
||||
# IP address->hostname.
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
# Server port for sending active checks
|
||||
|
||||
#ServerPort=10051
|
||||
|
||||
# Unique hostname. Required for active checks.
|
||||
|
||||
Hostname=ZABBIX Server
|
||||
|
||||
# Listen port. Default is 10050
|
||||
|
||||
#ListenPort=10050
|
||||
|
||||
# IP address to bind agent
|
||||
# If missing, bind to all available IPs
|
||||
|
||||
#ListenIP=127.0.0.1
|
||||
|
||||
# Source IP address for outgouing connections
|
||||
#SourceIP=
|
||||
|
||||
# Number of pre-forked instances of zabbix_agentd.
|
||||
# Default value is 5
|
||||
# This parameter must be between 1 and 16
|
||||
|
||||
StartAgents=5
|
||||
|
||||
# How often refresh list of active checks. 2 minutes by default.
|
||||
|
||||
#RefreshActiveChecks=120
|
||||
|
||||
# Disable active checks. The agent will work in passive mode listening server.
|
||||
|
||||
#DisableActive=1
|
||||
|
||||
# Enable remote commands for ZABBIX agent. By default remote commands disabled.
|
||||
|
||||
#EnableRemoteCommands=1
|
||||
|
||||
# Specifies debug level
|
||||
# 0 - debug is not created
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings (default)
|
||||
# 4 - for debugging (produces lots of information)
|
||||
|
||||
DebugLevel=3
|
||||
|
||||
# Name of PID file
|
||||
|
||||
PidFile=/var/run/zabbix/zabbix_agentd.pid
|
||||
|
||||
# Name of log file.
|
||||
# If not set, syslog will be used
|
||||
|
||||
LogFile=/tmp/zabbix_agentd.log
|
||||
|
||||
# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
|
||||
#LogFileSize=1
|
||||
|
||||
# Spend no more than Timeout seconds on processing
|
||||
# Must be between 1 and 30
|
||||
|
||||
Timeout=3
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
# Format: UserParameter=<key>,<shell command>
|
||||
# Note that shell command must not return empty string or EOL only
|
||||
#UserParameter=system.test,who|wc -l
|
||||
### Set of parameter for monitoring MySQL server (v3.23.42 and later)
|
||||
### Change -u<username> and add -p<password> if required
|
||||
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
|
||||
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
|
||||
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
|
||||
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
|
||||
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
|
||||
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
|
||||
#UserParameter=mysql.version,mysql -V
|
||||
|
||||
175
net-analyzer/zabbix/files/1.6.4/zabbix_proxy.conf
Normal file
175
net-analyzer/zabbix/files/1.6.4/zabbix_proxy.conf
Normal file
@@ -0,0 +1,175 @@
|
||||
# This is config file for ZABBIX server process
|
||||
# To get more information about ZABBIX,
|
||||
# go http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
# IP address (or hostname) of ZABBIX servers.
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
# Server port for sending active checks
|
||||
|
||||
ServerPort=10051
|
||||
|
||||
# Unique hostname.
|
||||
|
||||
Hostname=proxy
|
||||
|
||||
# Number of pre-forked instances of pollers
|
||||
# Default value is 5
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPollers=5
|
||||
|
||||
# Number of pre-forked instances of IPMI pollers
|
||||
# Default value is 0
|
||||
# This parameter must be between 0 and 255
|
||||
#StartIPMIPollers=0
|
||||
|
||||
# Number of pre-forked instances of pollers for unreachable hosts
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPollersUnreachable=1
|
||||
|
||||
# Number of pre-forked instances of trappers
|
||||
# Default value is 5
|
||||
# This parameter must be between 0 and 255
|
||||
#StartTrappers=5
|
||||
|
||||
# Number of pre-forked instances of ICMP pingers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPingers=1
|
||||
|
||||
# Number of pre-forked instances of discoverers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartDiscoverers=1
|
||||
|
||||
# Number of pre-forked instances of HTTP pollers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartHTTPPollers=1
|
||||
|
||||
# Listen port for trapper. Default port number is 10051. This parameter
|
||||
# must be between 1024 and 32767
|
||||
#ListenPort=10051
|
||||
|
||||
# Source IP address for outgouing connections
|
||||
#SourceIP=
|
||||
|
||||
# Listen interface for trapper. Trapper will listen all network interfaces
|
||||
# if this parameter is missing.
|
||||
#ListenIP=127.0.0.1
|
||||
|
||||
# How often ZABBIX will perform sending hearbeat message
|
||||
# (in seconds)
|
||||
# Default value is 60 seconds
|
||||
# Set to 0 to disable heartbeat messages
|
||||
# This parameter must be between 0 and 3600
|
||||
#HeartbeatFrequency=60
|
||||
|
||||
# How often ZABBIX will perform sync configuration data
|
||||
# (in seconds)
|
||||
# Default value is 3600 seconds (1h)
|
||||
# This parameter must be between 1 and 604800 (1 week)
|
||||
#ConfigFrequency=3600
|
||||
|
||||
# How often ZABBIX will perform housekeeping procedure
|
||||
# (in hours)
|
||||
# Default value is 1 hour
|
||||
# Housekeeping is removing unnecessary information from
|
||||
# tables history, alert, and alarms
|
||||
# This parameter must be between 1 and 24
|
||||
#HousekeepingFrequency=1
|
||||
|
||||
# How often ZABBIX will try to send unsent alerts
|
||||
# (in seconds)
|
||||
# Default value is 30 seconds
|
||||
#SenderFrequency=30
|
||||
|
||||
# Local bufer size in hours. Proxy will keep collected data N hours.
|
||||
# Default value is 0 hours
|
||||
#ProxyLocalBuffer=0
|
||||
|
||||
# Offline buffer size in hours. It is used when server is not available.
|
||||
# Older data is removed.
|
||||
# Default value is 1 hours
|
||||
#ProxyOfflineBuffer=1
|
||||
|
||||
# Specifies debug level
|
||||
# 0 - debug is not created
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings (default)
|
||||
# 4 - for debugging (produces lots of information)
|
||||
#DebugLevel=3
|
||||
|
||||
# Specifies how long we wait for agent response (in sec)
|
||||
# Must be between 1 and 30
|
||||
Timeout=5
|
||||
|
||||
# Specifies how many seconds trapper may spend processing new data
|
||||
# Must be between 1 and 30
|
||||
#TrapperTimeout=5
|
||||
|
||||
# After how many seconds of unreachability treat a host as unavailable
|
||||
#UnreachablePeriod=45
|
||||
|
||||
# How ofter check host for availability during the unreachability period
|
||||
#UnavailableDelay=15
|
||||
|
||||
# How ofter check host for availability during the unavailability period
|
||||
#UnavailableDelay=60
|
||||
|
||||
# Name of PID file
|
||||
PidFile=/var/tmp/zabbix_proxy.pid
|
||||
|
||||
# Name of log file
|
||||
# If not set, syslog is used
|
||||
LogFile=/tmp/zabbix_proxy.log
|
||||
|
||||
# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
|
||||
#LogFileSize=1
|
||||
|
||||
# Location for custom alert scripts
|
||||
AlertScriptsPath=/home/zabbix/bin/
|
||||
|
||||
# Location of external scripts
|
||||
#ExternalScripts=/etc/zabbix/externalscripts
|
||||
|
||||
# Location of 'fping. Default is /usr/sbin/fping
|
||||
# Make sure that fping binary has root permissions and SUID flag set
|
||||
#FpingLocation=/usr/sbin/fping
|
||||
|
||||
# Location of fping6. Default is /usr/sbin/fping6
|
||||
# Make sure that fping binary has root permissions and SUID flag set
|
||||
#Fping6Location=/usr/sbin/fping6
|
||||
|
||||
# Temporary directory. Default is /tmp
|
||||
#TmpDir=/tmp
|
||||
|
||||
# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
|
||||
#PingerFrequency=60
|
||||
|
||||
# Database host name
|
||||
# Default is localhost
|
||||
|
||||
#DBHost=localhost
|
||||
|
||||
# Database name
|
||||
# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
|
||||
DBName=proxy
|
||||
|
||||
# Database user
|
||||
|
||||
DBUser=root
|
||||
|
||||
# Database password
|
||||
# Comment this line if no password used
|
||||
|
||||
#DBPassword=<password>
|
||||
|
||||
# Connect to MySQL using Unix socket?
|
||||
|
||||
#DBSocket=/tmp/mysql.sock
|
||||
155
net-analyzer/zabbix/files/1.6.4/zabbix_server.conf
Normal file
155
net-analyzer/zabbix/files/1.6.4/zabbix_server.conf
Normal file
@@ -0,0 +1,155 @@
|
||||
# This is config file for ZABBIX server process
|
||||
# To get more information about ZABBIX,
|
||||
# go http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
# This defines unique NodeID in distributed setup,
|
||||
# Default value 0 (standalone server)
|
||||
# This parameter must be between 0 and 999
|
||||
#NodeID=0
|
||||
|
||||
# Number of pre-forked instances of pollers
|
||||
# Default value is 5
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPollers=5
|
||||
|
||||
# Number of pre-forked instances of IPMI pollers
|
||||
# Default value is 0
|
||||
# This parameter must be between 0 and 255
|
||||
#StartIPMIPollers=0
|
||||
|
||||
# Number of pre-forked instances of pollers for unreachable hosts
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPollersUnreachable=1
|
||||
|
||||
# Number of pre-forked instances of trappers
|
||||
# Default value is 5
|
||||
# This parameter must be between 0 and 255
|
||||
#StartTrappers=5
|
||||
|
||||
# Number of pre-forked instances of ICMP pingers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartPingers=1
|
||||
|
||||
# Number of pre-forked instances of discoverers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartDiscoverers=1
|
||||
|
||||
# Number of pre-forked instances of HTTP pollers
|
||||
# Default value is 1
|
||||
# This parameter must be between 0 and 255
|
||||
#StartHTTPPollers=1
|
||||
|
||||
# Listen port for trapper. Default port number is 10051. This parameter
|
||||
# must be between 1024 and 32767
|
||||
|
||||
#ListenPort=10051
|
||||
|
||||
# Source IP address for outgouing connections
|
||||
#SourceIP=
|
||||
|
||||
# Listen interface for trapper. Trapper will listen all network interfaces
|
||||
# if this parameter is missing.
|
||||
|
||||
#ListenIP=127.0.0.1
|
||||
|
||||
# How often ZABBIX will perform housekeeping procedure
|
||||
# (in hours)
|
||||
# Default value is 1 hour
|
||||
# Housekeeping is removing unnecessary information from
|
||||
# tables history, alert, and alarms
|
||||
# This parameter must be between 1 and 24
|
||||
|
||||
#HousekeepingFrequency=1
|
||||
|
||||
# How often ZABBIX will try to send unsent alerts
|
||||
# (in seconds)
|
||||
# Default value is 30 seconds
|
||||
SenderFrequency=30
|
||||
|
||||
# Uncomment this line to disable housekeeping procedure
|
||||
#DisableHousekeeping=1
|
||||
|
||||
# Specifies debug level
|
||||
# 0 - debug is not created
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings (default)
|
||||
# 4 - for debugging (produces lots of information)
|
||||
|
||||
DebugLevel=3
|
||||
|
||||
# Specifies how long we wait for agent response (in sec)
|
||||
# Must be between 1 and 30
|
||||
Timeout=5
|
||||
|
||||
# Specifies how many seconds trapper may spend processing new data
|
||||
# Must be between 1 and 30
|
||||
#TrapperTimeout=5
|
||||
|
||||
# After how many seconds of unreachability treat a host as unavailable
|
||||
#UnreachablePeriod=45
|
||||
|
||||
# How ofter check host for availability during the unreachability period
|
||||
#UnavailableDelay=15
|
||||
|
||||
# How ofter check host for availability during the unavailability period
|
||||
#UnavailableDelay=60
|
||||
|
||||
# Name of PID file
|
||||
|
||||
PidFile=/var/run/zabbix/zabbix_server.pid
|
||||
|
||||
# Name of log file
|
||||
# If not set, syslog is used
|
||||
|
||||
LogFile=/tmp/zabbix_server.log
|
||||
|
||||
# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
|
||||
#LogFileSize=1
|
||||
|
||||
# Location for custom alert scripts
|
||||
AlertScriptsPath=/home/zabbix/bin/
|
||||
|
||||
# Location of external scripts
|
||||
#ExternalScripts=/etc/zabbix/externalscripts
|
||||
|
||||
# Location of fping. Default is /usr/sbin/fping
|
||||
# Make sure that fping binary has root permissions and SUID flag set
|
||||
#FpingLocation=/usr/sbin/fping
|
||||
|
||||
# Location of fping6. Default is /usr/sbin/fping6
|
||||
# Make sure that fping binary has root permissions and SUID flag set
|
||||
#Fping6Location=/usr/sbin/fping6
|
||||
|
||||
# Temporary directory. Default is /tmp
|
||||
#TmpDir=/tmp
|
||||
|
||||
# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
|
||||
#PingerFrequency=60
|
||||
|
||||
# Database host name
|
||||
# Default is localhost
|
||||
|
||||
#DBHost=localhost
|
||||
|
||||
# Database name
|
||||
# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
|
||||
DBName=zabbix
|
||||
|
||||
# Database user
|
||||
|
||||
DBUser=root
|
||||
|
||||
# Database password
|
||||
# Comment this line if no password used
|
||||
|
||||
#DBPassword=<password>
|
||||
|
||||
# Connect to MySQL using Unix socket?
|
||||
|
||||
#DBSocket=/tmp/mysql.sock
|
||||
44
net-analyzer/zabbix/files/1.6.4/zabbix_trapper.conf
Normal file
44
net-analyzer/zabbix/files/1.6.4/zabbix_trapper.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
# This is config file for zabbix_trapper
|
||||
# To get more information about ZABBIX,
|
||||
# go http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
# Specifies debug level
|
||||
# 1 - critical information
|
||||
# 2 - warnings (default)
|
||||
# 3 - for debugging (produces lots of information)
|
||||
|
||||
DebugLevel=2
|
||||
|
||||
# Spend no more than Timeout seconds on processing
|
||||
# Must be between 1 and 30
|
||||
|
||||
Timeout=3
|
||||
|
||||
# Name of log file
|
||||
# If not set, syslog will be used
|
||||
|
||||
LogFile=/tmp/zabbix_trapper.log
|
||||
|
||||
# Database host name
|
||||
# Default is localhost
|
||||
|
||||
#DBHost=localhost
|
||||
|
||||
# Database name
|
||||
|
||||
DBName=zabbix
|
||||
|
||||
# Database user
|
||||
|
||||
DBUser=root
|
||||
|
||||
# Database password
|
||||
# Comment this line if no password used
|
||||
|
||||
#DBPassword=<password>
|
||||
|
||||
# Connect to MySQL usig Unix socket?
|
||||
|
||||
#DBSocket=/tmp/mysql.sock
|
||||
Reference in New Issue
Block a user