Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2019 09:50:15 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491142 - in head/net-mgmt: . check_mk_agent check_mk_agent/files
Message-ID:  <201901250950.x0P9oFDT064422@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Fri Jan 25 09:50:15 2019
New Revision: 491142
URL: https://svnweb.freebsd.org/changeset/ports/491142

Log:
  New port: net-mgmt/check_mk_agent: Nagios-compatible agent for the Check_MK monitoring
  
  Check_MK is a software for effective IT monitoring. Easy installation,
  best-in-class scalability and a broad range of features are just some of the
  reasons why more and more users become Check_MK fans.
  
  WWW: http://mathias-kettner.com/check_mk.html
  
  Reviewed by:	mat
  Approved by:	mat (mentor)
  Sponsored by:	BALLY WULFF Games & Entertainment GmbH
  Differential Revision:	https://reviews.freebsd.org/D18891

Added:
  head/net-mgmt/check_mk_agent/
  head/net-mgmt/check_mk_agent/Makefile   (contents, props changed)
  head/net-mgmt/check_mk_agent/distinfo   (contents, props changed)
  head/net-mgmt/check_mk_agent/files/
  head/net-mgmt/check_mk_agent/files/pkg-message.in   (contents, props changed)
  head/net-mgmt/check_mk_agent/pkg-descr   (contents, props changed)
Modified:
  head/net-mgmt/Makefile

Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile	Fri Jan 25 09:30:39 2019	(r491141)
+++ head/net-mgmt/Makefile	Fri Jan 25 09:50:15 2019	(r491142)
@@ -40,6 +40,7 @@
     SUBDIR += centreon-clib
     SUBDIR += check_ipmi_sensor
     SUBDIR += check_logfiles
+    SUBDIR += check_mk_agent
     SUBDIR += check_multi
     SUBDIR += check_mysql_health
     SUBDIR += check_ssl_cert

Added: head/net-mgmt/check_mk_agent/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/check_mk_agent/Makefile	Fri Jan 25 09:50:15 2019	(r491142)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	check_mk_agent
+DISTVERSION=	1.5.0p11
+CATEGORIES=	net-mgmt
+MASTER_SITES=	https://mathias-kettner.de/support/${DISTVERSION}/
+DISTNAME=	check-mk-raw-${DISTVERSION}.cre
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Nagios-compatible agent for the Check_MK monitoring
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	bash>0:shells/bash
+
+USES=	shebangfix
+
+SHEBANG_FILE=	bin/${PORTNAME}
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_TESTS=	yes
+
+PLIST_FILES=	bin/${PORTNAME}
+SUB_FILES=	pkg-message
+SUB_LIST=	PORTNAME=${PORTNAME}
+
+PORTDOCS=	README.FreeBSD
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	${REINPLACE_CMD} -E -e 's|^(export MK_CONFDIR=")|\1${PREFIX}|' \
+		-e 's|/usr/local/bin/bash|${LOCALBASE}/bin/bash|g' \
+		${WRKSRC}/agents/${PORTNAME}.freebsd
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/agents/${PORTNAME}.freebsd ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/agents/README.FreeBSD ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net-mgmt/check_mk_agent/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/check_mk_agent/distinfo	Fri Jan 25 09:50:15 2019	(r491142)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547819387
+SHA256 (check-mk-raw-1.5.0p11.cre.tar.gz) = 747711408f425e86b96f1528c0af0717485ff6c361836fa0457ae5bea816f1f4
+SIZE (check-mk-raw-1.5.0p11.cre.tar.gz) = 397713025

Added: head/net-mgmt/check_mk_agent/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/check_mk_agent/files/pkg-message.in	Fri Jan 25 09:50:15 2019	(r491142)
@@ -0,0 +1,12 @@
+Check_MK may collect additional data if the following ports are installed:
+- devel/libstatgrab
+- sysutils/ipmitool
+- sysutils/megacli
+- mail/postfix
+- mail/qmail
+
+See the code of the agent (%%PREFIX%%/bin/%%PORTNAME%%) for details.
+
+Configuration instructions may be found in one of the following places:
+- %%DOCSDIR%%/README.FreeBSD
+- https://mathias-kettner.com/checkmk_freebsd.html

Added: head/net-mgmt/check_mk_agent/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/check_mk_agent/pkg-descr	Fri Jan 25 09:50:15 2019	(r491142)
@@ -0,0 +1,5 @@
+Check_MK is a software for effective IT monitoring. Easy installation,
+best-in-class scalability and a broad range of features are just some of the
+reasons why more and more users become Check_MK fans.
+
+WWW: http://mathias-kettner.com/check_mk.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901250950.x0P9oFDT064422>