aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2016-08-06 00:20:14 +0800
committerlme <lme@FreeBSD.org>2016-08-06 00:20:14 +0800
commitd30552bd86d6eaacb36176a7003babafad23761c (patch)
tree7ab4d22832e20884c4557a51d5c16386a4c7105e
parent2642d0388bc8201fd138d848d7ce8a4f1f74e536 (diff)
downloadfreebsd-ports-gnome-d30552bd86d6eaacb36176a7003babafad23761c.tar.gz
freebsd-ports-gnome-d30552bd86d6eaacb36176a7003babafad23761c.tar.zst
freebsd-ports-gnome-d30552bd86d6eaacb36176a7003babafad23761c.zip
Add a slave port of net-mgmt/pnp for use with net-mgmt/icinga2 and net-mgmt/icingaweb2
Suggested by: mr
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/pnp-icinga2/Makefile18
2 files changed, 19 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index da1f1eb506da..55f8373ce6df 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -269,6 +269,7 @@
SUBDIR += pmacct
SUBDIR += pnp
SUBDIR += pnp-icinga
+ SUBDIR += pnp-icinga2
SUBDIR += portmon
SUBDIR += py-flowtools
SUBDIR += py-ipcalc
diff --git a/net-mgmt/pnp-icinga2/Makefile b/net-mgmt/pnp-icinga2/Makefile
new file mode 100644
index 000000000000..6592e8692496
--- /dev/null
+++ b/net-mgmt/pnp-icinga2/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -icinga2
+
+MAINTAINER= lme@FreeBSD.org
+COMMENT= Icinga2 performance data collector and grapher
+
+MASTERDIR= ${.CURDIR}/../pnp
+
+RUN_DEPENDS= ${LOCALBASE}/bin/rrdtool:databases/rrdtool \
+ ${LOCALBASE}/www/icingaweb2/public/index.php:net-mgmt/icingaweb2
+
+NAGIOSDIR?= /var/spool/icinga2
+NAGIOSHTMURL?= /icingaweb2
+NAGIOSUSER?= icinga
+NAGIOSGROUP?= icinga
+
+.include "${MASTERDIR}/Makefile"