# ChangeLog for net-analyzer/zabbix-agent
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.5 2005/12/31 13:43:32 flameeyes Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.6 2006/06/06 13:03:26 wschlich Exp $
+
+*zabbix-agent-1.1 (06 Jun 2006)
+
+ 06 Jun 2006; Wolfram Schlich <wschlich@gentoo.org>
+ +files/1.1/init.d/zabbix-agentd, +files/1.1/zabbix_agent.conf,
+ +files/1.1/zabbix_agentd.conf, metadata.xml, +zabbix-agent-1.1.ebuild:
+ maintainer takeover, version bump
31 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
zabbix-agent-1.0.ebuild:
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 57dee9e4957d4cd2464885eec398a772 ChangeLog 2191
+AUX 1.0/conf.d/zabbix-agentd 330 RMD160 6cce51c6aa4129bfb7e88f923b7a7e26485ad21a SHA1 63a3d4e8b08a7079891f2af6a24fbd612bbf8e00 SHA256 2c9fb632b6a6d359696af77029cd7ff6896d4a2a4f4ffb380e13b879b2ea9a00
MD5 3d23f2a55281f4dee207ba003058583b files/1.0/conf.d/zabbix-agentd 330
+RMD160 6cce51c6aa4129bfb7e88f923b7a7e26485ad21a files/1.0/conf.d/zabbix-agentd 330
+SHA256 2c9fb632b6a6d359696af77029cd7ff6896d4a2a4f4ffb380e13b879b2ea9a00 files/1.0/conf.d/zabbix-agentd 330
+AUX 1.0/init.d/zabbix-agentd 525 RMD160 d7745551d474bfe54271f8f53186ab066c61922b SHA1 024660fdf7180af3a4696f319fd88abc42e00c34 SHA256 afa9ec5c0e659df1c09a5466bd4e766d46a43de811b433c51ad869384e5fbf59
MD5 c98787ba2f94c526ecfef18318b2cbb4 files/1.0/init.d/zabbix-agentd 525
+RMD160 d7745551d474bfe54271f8f53186ab066c61922b files/1.0/init.d/zabbix-agentd 525
+SHA256 afa9ec5c0e659df1c09a5466bd4e766d46a43de811b433c51ad869384e5fbf59 files/1.0/init.d/zabbix-agentd 525
+AUX 1.0/zabbix_agent.conf 1124 RMD160 cb3075ab2de2cdac76d1c7cd5ddc0f7c86e692da SHA1 25da9729c23824971c5894a756684248d692519d SHA256 6c457e44810b0739ebad33f7add7e868faf1a21016857d053b52b3507e58dedc
MD5 909c827e35c478944b9b7ba470d1e31d files/1.0/zabbix_agent.conf 1124
+RMD160 cb3075ab2de2cdac76d1c7cd5ddc0f7c86e692da files/1.0/zabbix_agent.conf 1124
+SHA256 6c457e44810b0739ebad33f7add7e868faf1a21016857d053b52b3507e58dedc files/1.0/zabbix_agent.conf 1124
+AUX 1.0/zabbix_agentd.conf 1956 RMD160 e5c4bceda115e8b533fafecb55df852b17b04190 SHA1 39302d72105b606fa820f7ae56093f0813c8d2c0 SHA256 688e3283bdf4888b45390fb7af37ee06a66b7a6da8904b350ea54ddd727e5732
MD5 6a60283a6c3b457428af0c79ce1774b3 files/1.0/zabbix_agentd.conf 1956
+RMD160 e5c4bceda115e8b533fafecb55df852b17b04190 files/1.0/zabbix_agentd.conf 1956
+SHA256 688e3283bdf4888b45390fb7af37ee06a66b7a6da8904b350ea54ddd727e5732 files/1.0/zabbix_agentd.conf 1956
+AUX 1.1/init.d/zabbix-agentd 586 RMD160 fcee58d0f8ce4f259b845107073fd37708c00059 SHA1 943de84be44db2547d6d5bb45f603907e2503c16 SHA256 5427349a132d1209b560e09c9ab3e65949337ca362f7a27cbd78b96114eab9bd
+MD5 3a600d421505854ba8c6179a54500a31 files/1.1/init.d/zabbix-agentd 586
+RMD160 fcee58d0f8ce4f259b845107073fd37708c00059 files/1.1/init.d/zabbix-agentd 586
+SHA256 5427349a132d1209b560e09c9ab3e65949337ca362f7a27cbd78b96114eab9bd files/1.1/init.d/zabbix-agentd 586
+AUX 1.1/zabbix_agent.conf 1119 RMD160 6da1953fc0439cf0c991272db08b291c7b319cc8 SHA1 386501f78cd138f15d90ed66eacdef20c49659e4 SHA256 ba99099f1943d5cc86e29250d1040388d6b8af2e2e89423f1a681b6401399556
+MD5 3e99b93cc18551891ec59d7d44472497 files/1.1/zabbix_agent.conf 1119
+RMD160 6da1953fc0439cf0c991272db08b291c7b319cc8 files/1.1/zabbix_agent.conf 1119
+SHA256 ba99099f1943d5cc86e29250d1040388d6b8af2e2e89423f1a681b6401399556 files/1.1/zabbix_agent.conf 1119
+AUX 1.1/zabbix_agentd.conf 2353 RMD160 baba6bdd27a6f8d6cc4cd14e26d98eba38f276c5 SHA1 ee72e6945ae7269628903eb3c3ab7cc07908ea70 SHA256 73bb022dce06c40ae98833068599fb0d1854eafdbaef2098db2ecd223a0e5856
+MD5 9c846417470caa52ca6ed1464304b0fd files/1.1/zabbix_agentd.conf 2353
+RMD160 baba6bdd27a6f8d6cc4cd14e26d98eba38f276c5 files/1.1/zabbix_agentd.conf 2353
+SHA256 73bb022dce06c40ae98833068599fb0d1854eafdbaef2098db2ecd223a0e5856 files/1.1/zabbix_agentd.conf 2353
+AUX 1.1_alpha7/conf.d/zabbix-agentd 337 RMD160 00e1734fcf4b4a03b407e93cb49b1da5a0f685b1 SHA1 18e5c5976060c8b35f265d6657741c2c8fa6cdc9 SHA256 e26f0ef865f1acd61eaf8ea20ef72cc6f7b61d74c9bda596d29608eff93a7a96
MD5 3c18418797fcdcbc7d1f20f3bea2591f files/1.1_alpha7/conf.d/zabbix-agentd 337
+RMD160 00e1734fcf4b4a03b407e93cb49b1da5a0f685b1 files/1.1_alpha7/conf.d/zabbix-agentd 337
+SHA256 e26f0ef865f1acd61eaf8ea20ef72cc6f7b61d74c9bda596d29608eff93a7a96 files/1.1_alpha7/conf.d/zabbix-agentd 337
+AUX 1.1_alpha7/init.d/zabbix-agentd 532 RMD160 afba0a03852e048f831046d1489bdd43dcd5b3bb SHA1 4dfcfec0bd544dcb90bbc2acd045854eb4aff79c SHA256 28076fc7fc5fc82d42dafef9873d187f4ae92d42eaf199d0f2578622e04fa15b
MD5 d7e8783f3e9d21287a92ed332dd5dc09 files/1.1_alpha7/init.d/zabbix-agentd 532
+RMD160 afba0a03852e048f831046d1489bdd43dcd5b3bb files/1.1_alpha7/init.d/zabbix-agentd 532
+SHA256 28076fc7fc5fc82d42dafef9873d187f4ae92d42eaf199d0f2578622e04fa15b files/1.1_alpha7/init.d/zabbix-agentd 532
+AUX 1.1_alpha7/zabbix_agent.conf 1129 RMD160 c4519838bfa54dbf236c44a5799d108ef62e52f7 SHA1 fdc75dd4a8f2d3c15bc70314e91e01a792f88c8d SHA256 14cd0e6fa82ce39fbc892a774195fcd314c439bf1040fcf72fdd0b4c776cc8f9
MD5 dca8d533925687d02825a5401e723c3d files/1.1_alpha7/zabbix_agent.conf 1129
+RMD160 c4519838bfa54dbf236c44a5799d108ef62e52f7 files/1.1_alpha7/zabbix_agent.conf 1129
+SHA256 14cd0e6fa82ce39fbc892a774195fcd314c439bf1040fcf72fdd0b4c776cc8f9 files/1.1_alpha7/zabbix_agent.conf 1129
+AUX 1.1_alpha7/zabbix_agentd.conf 1961 RMD160 da149837656b0139dbdb83312ea31e30aee01087 SHA1 34460e8f64b2352f89987b3742ab1c8cbdee2577 SHA256 a8be3a8c0bfc6cb1649af8703096d967b0472ff5a5fe4a766c52e88580dac377
MD5 03be35f02a504402ea6355782675b139 files/1.1_alpha7/zabbix_agentd.conf 1961
-MD5 44d6c3f823d9eee301130916100fd8fb files/digest-zabbix-agent-1.0 63
-MD5 4990ea7476a1a66671f7faf9b1c93719 files/digest-zabbix-agent-1.1_alpha7 68
-MD5 00648db30cf75f155ed226e0d42c8626 metadata.xml 341
+RMD160 da149837656b0139dbdb83312ea31e30aee01087 files/1.1_alpha7/zabbix_agentd.conf 1961
+SHA256 a8be3a8c0bfc6cb1649af8703096d967b0472ff5a5fe4a766c52e88580dac377 files/1.1_alpha7/zabbix_agentd.conf 1961
+DIST zabbix-1.0.tar.gz 1847471
+DIST zabbix-1.1.tar.gz 1110644 RMD160 4ef49a92117ef4aa9a2369d49008582f7db14b5f SHA1 9ec25938086615a4d00ce745425d0b49d2a94796 SHA256 c544e8b1ba9e3fc62ed283bab058ad753cf3e9ed39ab2aee97c75d483ddfcfa5
+DIST zabbix-1.1alpha7.tar.gz 654347
+EBUILD zabbix-agent-1.0.ebuild 1698 RMD160 9ab635beaf04cb6f35900e314191a9707f4e6d67 SHA1 8cd968cb4d1cc8821c09ef8540260f1c29cdb2b4 SHA256 6362bf0a2ae75027378209495da0eeac6a07e9f30b7b8d2704996d00ec450674
MD5 751f71a8ed7d19a38c8200d97a863776 zabbix-agent-1.0.ebuild 1698
+RMD160 9ab635beaf04cb6f35900e314191a9707f4e6d67 zabbix-agent-1.0.ebuild 1698
+SHA256 6362bf0a2ae75027378209495da0eeac6a07e9f30b7b8d2704996d00ec450674 zabbix-agent-1.0.ebuild 1698
+EBUILD zabbix-agent-1.1.ebuild 1531 RMD160 a6f79dc52193bc2fdf4d0dfc191d2a14177fdd06 SHA1 8739d976f5d4941edbc95b6273f7b5f88d444b0d SHA256 9d07e84e9bf77aa4ff17291287b4c24fa9357a8c18d7acdf073ef7cec0d7edfe
+MD5 f92de9a9edf7f24bd92a1d44488cb721 zabbix-agent-1.1.ebuild 1531
+RMD160 a6f79dc52193bc2fdf4d0dfc191d2a14177fdd06 zabbix-agent-1.1.ebuild 1531
+SHA256 9d07e84e9bf77aa4ff17291287b4c24fa9357a8c18d7acdf073ef7cec0d7edfe zabbix-agent-1.1.ebuild 1531
+EBUILD zabbix-agent-1.1_alpha7.ebuild 1739 RMD160 4128da163b3795dd05f96415909d845523e58be2 SHA1 992cb774b495c29b6c95f2f74d4013871bded6e2 SHA256 7ddd148eed89435d337a2f17df5485ddd5939789dd844981ab7aa2c12db6277f
MD5 b1db95a637a4d01f39e5f20b09dbfeeb zabbix-agent-1.1_alpha7.ebuild 1739
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDtosRAiZjviIA2XgRAly2AJ91kEJBjDtY2zePFgqy9obNlMB4mACfTyHN
-PGL5IQR6Dg4zCanNfGXFU7s=
-=yDzq
------END PGP SIGNATURE-----
+RMD160 4128da163b3795dd05f96415909d845523e58be2 zabbix-agent-1.1_alpha7.ebuild 1739
+SHA256 7ddd148eed89435d337a2f17df5485ddd5939789dd844981ab7aa2c12db6277f zabbix-agent-1.1_alpha7.ebuild 1739
+MISC ChangeLog 2451 RMD160 43132e3b6e2ef25b28344e1c0bb42b90e0bc5665 SHA1 aea0bf53bda300afa94930c7b9765f10754c6719 SHA256 d345733399e9ac9b0fa389a07fc21da1aaf9c1c4e3a83c332b8a554e93e980c9
+MD5 742c6cbb430d4784e17fb1562674c538 ChangeLog 2451
+RMD160 43132e3b6e2ef25b28344e1c0bb42b90e0bc5665 ChangeLog 2451
+SHA256 d345733399e9ac9b0fa389a07fc21da1aaf9c1c4e3a83c332b8a554e93e980c9 ChangeLog 2451
+MISC metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c SHA1 88bffe8fc9f05440edecef1fdc65f4c6dbb6f735 SHA256 770d0897320974215ae8d520cc2f56761e9b53dfa85e9e3081bff1427d8aa03c
+MD5 d86acab58212886771ef2bf837a2e8b9 metadata.xml 630
+RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c metadata.xml 630
+SHA256 770d0897320974215ae8d520cc2f56761e9b53dfa85e9e3081bff1427d8aa03c metadata.xml 630
+MD5 44d6c3f823d9eee301130916100fd8fb files/digest-zabbix-agent-1.0 63
+RMD160 74ad1fa5f3935478be692c0227c428e0e53db5b6 files/digest-zabbix-agent-1.0 63
+SHA256 44d3e310b473f769188b35497731e2d306a2b89d947c5f4fc68b2fdc86b53af4 files/digest-zabbix-agent-1.0 63
+MD5 468575e431380e5de6ca61194b44b4c8 files/digest-zabbix-agent-1.1 235
+RMD160 7779f80429bddb622445164ae2a84d8740f115b7 files/digest-zabbix-agent-1.1 235
+SHA256 0da858ef9c249d9fe814beefe60ef90c8012f70f022b2f575e6d716d2736971a files/digest-zabbix-agent-1.1 235
+MD5 4990ea7476a1a66671f7faf9b1c93719 files/digest-zabbix-agent-1.1_alpha7 68
+RMD160 a7f96c94c87207b1892c72dc1af24655ec5acd60 files/digest-zabbix-agent-1.1_alpha7 68
+SHA256 2d4b8595b2103d43be706e78f1fc1cb549bfe7a8cb33841424bb6bb19132cf2b files/digest-zabbix-agent-1.1_alpha7 68
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/files/1.1/init.d/zabbix-agentd,v 1.1 2006/06/06 13:03:26 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 $?
+}
--- /dev/null
+# 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
--- /dev/null
+# 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=localhost
+
+# Listen port. Default is 10050
+ListenPort=10050
+
+# IP address to bind agent
+# If missing, bind to all available IPs
+ListenIP=127.0.0.1
+
+# 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=/var/log/zabbix/zabbix_agentd.log
+
+# 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
--- /dev/null
+MD5 9697e5634547d9614963db04f6cd87d7 zabbix-1.1.tar.gz 1110644
+RMD160 4ef49a92117ef4aa9a2369d49008582f7db14b5f zabbix-1.1.tar.gz 1110644
+SHA256 c544e8b1ba9e3fc62ed283bab058ad753cf3e9ed39ab2aee97c75d483ddfcfa5 zabbix-1.1.tar.gz 1110644
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
<pkgmetadata>
<herd>no-herd</herd>
- <maintainer>
- <email>iggy@gentoo.org</email>
- </maintainer>
- <longdescription>ZABBIX is software for monitoring of your applications, network and servers.</longdescription>
+<maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+</maintainer>
+<longdescription>
+ZABBIX is software for monitoring of your applications, network and servers.
+ZABBIX supports both polling and trapping techniques to collect data from
+monitored hosts. A flexible notification mechanism allows easy and quickly
+configure different types of notifications for pre-defined events.
+</longdescription>
</pkgmetadata>
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/zabbix-agent-1.1.ebuild,v 1.1 2006/06/06 13:03:26 wschlich Exp $
+
+inherit eutils
+
+MY_P=${PN//-agent/}
+MY_PV=${PV//_/}
+DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers. Agent part."
+HOMEPAGE="http://www.zabbix.com/"
+SRC_URI="mirror://sourceforge/zabbix/${MY_P}-${MY_PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}-${MY_PV}
+
+pkg_preinst() {
+ enewgroup zabbix
+ enewuser zabbix -1 -1 /dev/null zabbix
+}
+
+src_compile() {
+ econf --enable-agent || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir \
+ /etc/zabbix \
+ /var/log/zabbix \
+ /var/run/zabbix
+ keepdir \
+ /etc/zabbix \
+ /var/log/zabbix \
+ /var/run/zabbix
+ insinto /etc/zabbix
+ doins \
+ ${FILESDIR}/${PV}/zabbix_agent.conf \
+ ${FILESDIR}/${PV}/zabbix_agentd.conf
+ doinitd ${FILESDIR}/${PV}/init.d/zabbix-agentd
+ dosbin \
+ src/zabbix_agent/zabbix_agent \
+ src/zabbix_agent/zabbix_agentd
+ dobin \
+ src/zabbix_sender/zabbix_sender \
+ src/zabbix_sender/zabbix_get
+ fowners zabbix:zabbix \
+ /etc/zabbix \
+ /etc/zabbix/zabbix_agent.conf \
+ /etc/zabbix/zabbix_agentd.conf \
+ /var/log/zabbix \
+ /var/run/zabbix
+ fperms 0750 \
+ /etc/zabbix \
+ /var/log/zabbix \
+ /var/run/zabbix
+ fperms 0640 \
+ /etc/zabbix/zabbix_agent.conf \
+ /etc/zabbix/zabbix_agentd.conf
+}