# ChangeLog for net-analyzer/zabbix-agent
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.8 2006/10/14 09:46:09 corsair Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.9 2007/02/12 00:14:43 wschlich Exp $
+
+*zabbix-agent-1.1.6 (12 Feb 2007)
+
+ 12 Feb 2007; Wolfram Schlich <wschlich@gentoo.org>
+ +files/1.1.6/init.d/zabbix-agentd, +files/1.1.6/zabbix_agent.conf,
+ +files/1.1.6/zabbix_agentd.conf, +zabbix-agent-1.1.6.ebuild:
+ version bump
14 Oct 2006; Markus Rothe <corsair@gentoo.org> zabbix-agent-1.1-r1.ebuild:
Added ~ppc64; bug #151046
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.6/init.d/zabbix-agentd 588 RMD160 e0982a75a86b6a6091c0be6f1ff44b103710bfe0 SHA1 17b7f9faa791f3f98537c2f7d022b4e2d2e5e84a SHA256 65c42fdb71f9feb83dc5015b92864a26620bb30ebcd80eeff37ffe75e225bf00
+MD5 741f24baf155826f19c1cbf2ee32ea2f files/1.1.6/init.d/zabbix-agentd 588
+RMD160 e0982a75a86b6a6091c0be6f1ff44b103710bfe0 files/1.1.6/init.d/zabbix-agentd 588
+SHA256 65c42fdb71f9feb83dc5015b92864a26620bb30ebcd80eeff37ffe75e225bf00 files/1.1.6/init.d/zabbix-agentd 588
+AUX 1.1.6/zabbix_agent.conf 1119 RMD160 6da1953fc0439cf0c991272db08b291c7b319cc8 SHA1 386501f78cd138f15d90ed66eacdef20c49659e4 SHA256 ba99099f1943d5cc86e29250d1040388d6b8af2e2e89423f1a681b6401399556
+MD5 3e99b93cc18551891ec59d7d44472497 files/1.1.6/zabbix_agent.conf 1119
+RMD160 6da1953fc0439cf0c991272db08b291c7b319cc8 files/1.1.6/zabbix_agent.conf 1119
+SHA256 ba99099f1943d5cc86e29250d1040388d6b8af2e2e89423f1a681b6401399556 files/1.1.6/zabbix_agent.conf 1119
+AUX 1.1.6/zabbix_agentd.conf 2353 RMD160 baba6bdd27a6f8d6cc4cd14e26d98eba38f276c5 SHA1 ee72e6945ae7269628903eb3c3ab7cc07908ea70 SHA256 73bb022dce06c40ae98833068599fb0d1854eafdbaef2098db2ecd223a0e5856
+MD5 9c846417470caa52ca6ed1464304b0fd files/1.1.6/zabbix_agentd.conf 2353
+RMD160 baba6bdd27a6f8d6cc4cd14e26d98eba38f276c5 files/1.1.6/zabbix_agentd.conf 2353
+SHA256 73bb022dce06c40ae98833068599fb0d1854eafdbaef2098db2ecd223a0e5856 files/1.1.6/zabbix_agentd.conf 2353
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
MD5 03be35f02a504402ea6355782675b139 files/1.1_alpha7/zabbix_agentd.conf 1961
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.0.tar.gz 1847471 RMD160 b09b509a05adf1962449356e6a24a9b36a7c914b SHA1 5faf38086f581583953853d9c659b3ac2a37e342 SHA256 3368a2bd825fdc32075b469779037e556b3d02b64bcf8412cd3b8988cafb5e2e
+DIST zabbix-1.1.6.tar.gz 1541835 RMD160 93694315a710811631591554807d571de25922c6 SHA1 5756723736d44dad5614a22bead34fb3015fd344 SHA256 348b395df68a808c25cb96287bbb0460e531e46049b6be1bd5be236365022281
DIST zabbix-1.1.tar.gz 1110644 RMD160 4ef49a92117ef4aa9a2369d49008582f7db14b5f SHA1 9ec25938086615a4d00ce745425d0b49d2a94796 SHA256 c544e8b1ba9e3fc62ed283bab058ad753cf3e9ed39ab2aee97c75d483ddfcfa5
-DIST zabbix-1.1alpha7.tar.gz 654347
+DIST zabbix-1.1alpha7.tar.gz 654347 RMD160 2d888d1b22c44d8acd0feb41b51fc14f1c5da357 SHA1 eec928217bd0414181925155636b6003ad16eba4 SHA256 31509e7106c2ff6f197a298b5c8256e24d9b0c9dd9d1d7fe1d81c49393ea471d
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
MD5 b94196c4b47772236dc648f69faa0c13 zabbix-agent-1.1-r1.ebuild 1537
RMD160 493b242a95ff2668c80e97037ceb1a6d815ee8c9 zabbix-agent-1.1-r1.ebuild 1537
SHA256 06ccb3918571437c8aad0c2d21de2fa9348df88363472eabb8f2abdbd5896346 zabbix-agent-1.1-r1.ebuild 1537
+EBUILD zabbix-agent-1.1.6.ebuild 2066 RMD160 1159e956a019d664a20d17e979dd4b420dcd4128 SHA1 73e62e43096369924914649f374c55d99cd727b9 SHA256 0db2b5b9f4acc592da00c3375e22ef83bb01c0ec3866c48a80af3e4f4e5d56df
+MD5 1e6facc4cb65ddf7bd48d3f4fa14ee84 zabbix-agent-1.1.6.ebuild 2066
+RMD160 1159e956a019d664a20d17e979dd4b420dcd4128 zabbix-agent-1.1.6.ebuild 2066
+SHA256 0db2b5b9f4acc592da00c3375e22ef83bb01c0ec3866c48a80af3e4f4e5d56df zabbix-agent-1.1.6.ebuild 2066
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
MD5 b1db95a637a4d01f39e5f20b09dbfeeb zabbix-agent-1.1_alpha7.ebuild 1739
RMD160 4128da163b3795dd05f96415909d845523e58be2 zabbix-agent-1.1_alpha7.ebuild 1739
SHA256 7ddd148eed89435d337a2f17df5485ddd5939789dd844981ab7aa2c12db6277f zabbix-agent-1.1_alpha7.ebuild 1739
-MISC ChangeLog 2710 RMD160 c624a1b6ad14656e895d0281f1994eaa49b113fe SHA1 6ed95391c84d30825b8a2d9e6ae5452a5bae206e SHA256 fddf810cd3605e2c2ece4b069150e8870d32139c4559b1b1973bed8d2992d6cc
-MD5 6c00c84bfdcfeb956c5607a7b30ec8a1 ChangeLog 2710
-RMD160 c624a1b6ad14656e895d0281f1994eaa49b113fe ChangeLog 2710
-SHA256 fddf810cd3605e2c2ece4b069150e8870d32139c4559b1b1973bed8d2992d6cc ChangeLog 2710
+MISC ChangeLog 2947 RMD160 6f88866877bbc3d990dc1d41338c3d522144897c SHA1 8fa47a3e8ac74c2c71ed7f769a187e3118bf948f SHA256 b2d817966a63dc27d03acb4e7d75a30adee542722b1626a9eff54c1f0149a61a
+MD5 d15af077257f76e527101dc4fff76449 ChangeLog 2947
+RMD160 6f88866877bbc3d990dc1d41338c3d522144897c ChangeLog 2947
+SHA256 b2d817966a63dc27d03acb4e7d75a30adee542722b1626a9eff54c1f0149a61a ChangeLog 2947
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 66b17c896a0baa66454e7061914aa6f5 files/digest-zabbix-agent-1.0 235
+RMD160 7fcda547e65cbf22e0b3f9bb73829c88a72a4c84 files/digest-zabbix-agent-1.0 235
+SHA256 adc1b2731d35da38ae3ac6e127e2936b1880784124d211c6221ba80fbd6fc5a2 files/digest-zabbix-agent-1.0 235
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 468575e431380e5de6ca61194b44b4c8 files/digest-zabbix-agent-1.1-r1 235
RMD160 7779f80429bddb622445164ae2a84d8740f115b7 files/digest-zabbix-agent-1.1-r1 235
SHA256 0da858ef9c249d9fe814beefe60ef90c8012f70f022b2f575e6d716d2736971a files/digest-zabbix-agent-1.1-r1 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
+MD5 a1d0f58cac49c5da094531e5fb68dc63 files/digest-zabbix-agent-1.1.6 241
+RMD160 4db2dcb67da46b927c769925ad5b586c560640d8 files/digest-zabbix-agent-1.1.6 241
+SHA256 701463cc9616bad36a48d8c41e6c6df6550247feb98d30f43c78d265f575c87b files/digest-zabbix-agent-1.1.6 241
+MD5 f080085af8be8617c2127c13020f434f files/digest-zabbix-agent-1.1_alpha7 250
+RMD160 0e1d1cc3a6a8372bcb03234e4d86e8dca54a9e71 files/digest-zabbix-agent-1.1_alpha7 250
+SHA256 860ee7a38728bba5a07f32aad43c100948075272e4d527aae150f59fa06785ca files/digest-zabbix-agent-1.1_alpha7 250
--- /dev/null
+#!/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-agent/files/1.1.6/init.d/zabbix-agentd,v 1.1 2007/02/12 00:14:43 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
MD5 e83a3b92f13942081ed2f3fe3f3084d8 zabbix-1.0.tar.gz 1847471
+RMD160 b09b509a05adf1962449356e6a24a9b36a7c914b zabbix-1.0.tar.gz 1847471
+SHA256 3368a2bd825fdc32075b469779037e556b3d02b64bcf8412cd3b8988cafb5e2e zabbix-1.0.tar.gz 1847471
--- /dev/null
+MD5 baa6896c5f41ed286bca3c40e419e1cf zabbix-1.1.6.tar.gz 1541835
+RMD160 93694315a710811631591554807d571de25922c6 zabbix-1.1.6.tar.gz 1541835
+SHA256 348b395df68a808c25cb96287bbb0460e531e46049b6be1bd5be236365022281 zabbix-1.1.6.tar.gz 1541835
MD5 a900c9838075690a8d04849cda42c67c zabbix-1.1alpha7.tar.gz 654347
+RMD160 2d888d1b22c44d8acd0feb41b51fc14f1c5da357 zabbix-1.1alpha7.tar.gz 654347
+SHA256 31509e7106c2ff6f197a298b5c8256e24d9b0c9dd9d1d7fe1d81c49393ea471d zabbix-1.1alpha7.tar.gz 654347
--- /dev/null
+# Copyright 1999-2007 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.6.ebuild,v 1.1 2007/02/12 00:14:43 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 ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}-${MY_PV}
+
+pkg_setup() {
+ enewgroup zabbix
+ enewuser zabbix -1 -1 /dev/null zabbix
+}
+pkg_postinst() {
+ # repeat fowners/fperms functionality from src_install()
+ # here to catch wrong permissions on existing files in
+ # the live filesystem (yeah, that sucks).
+ chown zabbix:zabbix \
+ ${ROOT}etc/zabbix \
+ ${ROOT}etc/zabbix/zabbix_agent.conf \
+ ${ROOT}etc/zabbix/zabbix_agentd.conf \
+ ${ROOT}var/log/zabbix \
+ ${ROOT}var/run/zabbix
+ chmod 0750 \
+ ${ROOT}etc/zabbix \
+ ${ROOT}var/log/zabbix \
+ ${ROOT}var/run/zabbix
+ chmod 0640 \
+ ${ROOT}etc/zabbix/zabbix_agent.conf \
+ ${ROOT}etc/zabbix/zabbix_agentd.conf
+}
+
+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_get/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
+}