diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-09-01 13:41:33 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-09-01 13:41:33 +0000 |
commit | e946623538ead408c477009e26ebc4998a280d16 (patch) | |
tree | e46e4341d7497ae0764c3a0cf3b3ece170648381 /net-analyzer/zabbix | |
parent | arm/ia64/s390/sh/sparc stable wrt #281876 (diff) | |
download | gentoo-2-e946623538ead408c477009e26ebc4998a280d16.tar.gz gentoo-2-e946623538ead408c477009e26ebc4998a280d16.tar.bz2 gentoo-2-e946623538ead408c477009e26ebc4998a280d16.zip |
repoman forgot some files
Diffstat (limited to 'net-analyzer/zabbix')
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd | 22 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server | 21 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/postinstall-en.txt | 8 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf | 27 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf | 90 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf | 175 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/zabbix_server.conf | 155 | ||||
-rw-r--r-- | net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf | 44 |
8 files changed, 542 insertions, 0 deletions
diff --git a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd new file mode 100644 index 000000000000..2cb5bf4f62b4 --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-agentd @@ -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.6.5/init.d/zabbix-agentd,v 1.1 2009/09/01 13:41:33 patrick 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 $? +} diff --git a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server new file mode 100644 index 000000000000..10c408ab6b0b --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server @@ -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.6.5/init.d/zabbix-server,v 1.1 2009/09/01 13:41:33 patrick 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 $? +} diff --git a/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt b/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt new file mode 100644 index 000000000000..9d13a9f3dbce --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/postinstall-en.txt @@ -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 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf new file mode 100644 index 000000000000..dfa5c1bd3dee --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/zabbix_agent.conf @@ -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 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf new file mode 100644 index 000000000000..44ce9d89a5e9 --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/zabbix_agentd.conf @@ -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 + diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf new file mode 100644 index 000000000000..a09a7b623243 --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/zabbix_proxy.conf @@ -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 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf new file mode 100644 index 000000000000..2821ed2f1510 --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/zabbix_server.conf @@ -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 diff --git a/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf b/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf new file mode 100644 index 000000000000..20222950bb96 --- /dev/null +++ b/net-analyzer/zabbix/files/1.6.5/zabbix_trapper.conf @@ -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 |