summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nagios-check_xen/nagios-check_xen-0.9.1.ebuild')
-rw-r--r--net-analyzer/nagios-check_xen/nagios-check_xen-0.9.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/nagios-check_xen/nagios-check_xen-0.9.1.ebuild b/net-analyzer/nagios-check_xen/nagios-check_xen-0.9.1.ebuild
new file mode 100644
index 0000000..7f6fb17
--- /dev/null
+++ b/net-analyzer/nagios-check_xen/nagios-check_xen-0.9.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit multilib
+
+DESCRIPTION="A nagios plugin for checking Xen (dom0 + domU status)"
+HOMEPAGE="http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2272.html;d=1"
+
+MY_PN=${PN/nagios-/}
+MY_P=${MY_PN}-${PV}
+
+SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="app-shells/bash
+ sys-process/procps
+ sys-process/lsof
+ app-admin/sudo
+ app-emulation/xen-tools"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() { :; }
+src_install() {
+ dodir /usr/$(get_libdir)/nagios/plugins
+ exeinto /usr/$(get_libdir)/nagios/plugins
+ doexe ${MY_PN}.sh
+}