Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163327266
D18891.id52991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D18891.id52991.diff
View Options
Index: net-mgmt/Makefile
===================================================================
--- net-mgmt/Makefile
+++ net-mgmt/Makefile
@@ -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
Index: net-mgmt/check_mk_agent/Makefile
===================================================================
--- /dev/null
+++ net-mgmt/check_mk_agent/Makefile
@@ -0,0 +1,44 @@
+# $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_TESTS= yes
+
+PLIST_FILES= bin/${PORTNAME}
+SUB_FILES= pkg-message
+SUB_LIST= PORTNAME=${PORTNAME}
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
+DOCS_PLIST_FILES= ${DOCSDIR}/README.FreeBSD
+
+do-build:
+ ${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>
Index: net-mgmt/check_mk_agent/distinfo
===================================================================
--- /dev/null
+++ net-mgmt/check_mk_agent/distinfo
@@ -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
Index: net-mgmt/check_mk_agent/files/pkg-message.in
===================================================================
--- /dev/null
+++ net-mgmt/check_mk_agent/files/pkg-message.in
@@ -0,0 +1,13 @@
+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
Index: net-mgmt/check_mk_agent/pkg-descr
===================================================================
--- /dev/null
+++ net-mgmt/check_mk_agent/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 3:52 AM (2 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35390886
Default Alt Text
D18891.id52991.diff (2 KB)
Attached To
Mode
D18891: New port: net-mgmt/check_mk_agent: Nagios-compatible agent for the Check_MK monitoring
Attached
Detach File
Event Timeline
Log In to Comment