From 1a33e6910f40e933b75e9ec3386192b50fba8e6f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 22 Apr 2019 12:15:26 +0100 Subject: Add ebuilds and dependencies for extra nagios plugins --- net-analyzer/check_drbd/Manifest | 2 ++ net-analyzer/check_drbd/check_drbd-0.5.2.ebuild | 27 +++++++++++++++++++ net-analyzer/check_haproxy_stats/Manifest | 2 ++ .../check_haproxy_stats-1.0.1.ebuild | 27 +++++++++++++++++++ net-analyzer/check_ice/Manifest | 2 ++ net-analyzer/check_ice/check_ice-0.1.1.ebuild | 30 ++++++++++++++++++++++ 6 files changed, 90 insertions(+) create mode 100644 net-analyzer/check_drbd/Manifest create mode 100644 net-analyzer/check_drbd/check_drbd-0.5.2.ebuild create mode 100644 net-analyzer/check_haproxy_stats/Manifest create mode 100644 net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild create mode 100644 net-analyzer/check_ice/Manifest create mode 100644 net-analyzer/check_ice/check_ice-0.1.1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/check_drbd/Manifest b/net-analyzer/check_drbd/Manifest new file mode 100644 index 0000000..ee51872 --- /dev/null +++ b/net-analyzer/check_drbd/Manifest @@ -0,0 +1,2 @@ +DIST check_drbd-0.5.2 13958 BLAKE2B df020fda1d4e4a547cda5327059868d2bff0ff367dadcc1bd6e6c1eab36e963f4403fbec9d05cdf5bc401f3dd5b5940d8a9a208b5524a7b4f4ac8a89b5b58a9f SHA512 ea530eb4f8227019f9cfeb65b650fe8d159920f693b999cd405429657aeb82d4560f45290359808c5bf71637b1d022c6d61d1d2a0f7d34294d61d2ebdd4b20aa +EBUILD check_drbd-0.5.2.ebuild 592 BLAKE2B 6cf223a82e0214b3e12cfb0104eac3f0e79bb7771ec2511e993d12bdeeb2850a562df5bad2a6d58281d1e26a91f9339b6904cfa7ff093cdb5bb7b5653136d9a3 SHA512 828ba9166ba52a68de53b513750ddf144c53561c2e41d4775fc12a50eaa6ef283bc0eac667d76b7e3cda516dd2088965aefc347c57b083b9f7279be02b9ed1ff diff --git a/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild b/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild new file mode 100644 index 0000000..04ed9b2 --- /dev/null +++ b/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Checks the state of DRBD devices" +HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_drbd/details" +SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3367&cf_id=24 -> ${P}" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl" +BDEPEND="" + +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/${A} ${S} +} +src_install() { + exeinto /usr/lib/nagios/plugins/ + newexe ${S}/${A} ${PN} +} + diff --git a/net-analyzer/check_haproxy_stats/Manifest b/net-analyzer/check_haproxy_stats/Manifest new file mode 100644 index 0000000..958bd13 --- /dev/null +++ b/net-analyzer/check_haproxy_stats/Manifest @@ -0,0 +1,2 @@ +DIST check_haproxy_stats-1.0.1.pl 6260 BLAKE2B 3862cd5e0bd5aa7e698a29cf170ea660b76eff82cb905bcc77c8fcdea33a97834ed57788cea86793bc8820f2af24295419637a2fda4e02595493b21af2b0ac33 SHA512 d00ee6c97b339ee8accb3e1c03b518972f1325780f9e3c8c9f223e147270ed38b8446ab5c366b827b468e5925ac4d0a1fbc48083d8e84fea385e59c98dd711fb +EBUILD check_haproxy_stats-1.0.1.ebuild 621 BLAKE2B 03fa10f81b91aabcc3d49eddf954f68690049a382a245061f7b8d3c1fbce72a46abb53ee1453832102ff8412b707f457bf53d497b6f57271a025092a6c80535f SHA512 878510342182bcc202ac09523d7197ee936d59e3c46cace76600a1f1141a1d53557b433db94edea28daae5e77f03568f108a70b9316f1ccdefe208955ee03079 diff --git a/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild b/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild new file mode 100644 index 0000000..11b6216 --- /dev/null +++ b/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Check local haproxy functionality" +HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/check_haproxy_stats-2Epl/details" +SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=4089&cf_id=24 -> ${P}.pl" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl" +BDEPEND="" + +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/${A} ${S} +} +src_install() { + exeinto /usr/lib/nagios/plugins/ + newexe ${S}/${A} ${PN} +} + diff --git a/net-analyzer/check_ice/Manifest b/net-analyzer/check_ice/Manifest new file mode 100644 index 0000000..b2201c3 --- /dev/null +++ b/net-analyzer/check_ice/Manifest @@ -0,0 +1,2 @@ +DIST check_ice-0.1.1.tar.gz 2756 BLAKE2B b1dfe8c69e965a6918ca4102e9eea6890aafed95117020f9fb82cbde3a190bb844e13bf72d9bee14b59244458b2ad6d8eb87551521e0f5f07af775eae1c6f1ed SHA512 4ed6c266d8bb1a1f535be97350ed9812670082cedeb72a8ece071a5e00784dfe573a6c8c4d3c1827bca9354f2db1cde46cb9dd10ff326f5c0c909512ed20efe3 +EBUILD check_ice-0.1.1.ebuild 599 BLAKE2B 39cf11dbd6e1a361fc203d6d49b9eebf7a54348f658ee679f1c61df59b0ba17a2457cbd58b3648392a2e7bd06e1a41e9e29b8ecc21b8ce0e8225c54267a519d4 SHA512 a116081d0e0db668b9d6dbc56504104576c89605d2d4d9abb4dcfd9a90cbe806a0a2cf428ea26ac6d6731d14821f265ecf476f87d3da6cde536f1e1bd540a983 diff --git a/net-analyzer/check_ice/check_ice-0.1.1.ebuild b/net-analyzer/check_ice/check_ice-0.1.1.ebuild new file mode 100644 index 0000000..5141a6b --- /dev/null +++ b/net-analyzer/check_ice/check_ice-0.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bjam + +DESCRIPTION="Monitoring plugin for checking availability of ZeroC ICE service" +HOMEPAGE="https://github.com/rascalDan/check_ice" +SRC_URI="https://github.com/rascalDan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-libs/boost:= + dev-libs/libadhocutil + " +RDEPEND="${DEPEND}" +BDEPEND="dev-util/boost-build" + +src_compile() { + bjambuild +} + +src_install() { + bjaminstall install --bindir="${D}/usr/lib/nagios/plugins/" +} + -- cgit v1.2.3