diff --git net-mgmt/icinga2/Makefile net-mgmt/icinga2/Makefile index a88b447..4e2024f 100644 --- net-mgmt/icinga2/Makefile +++ net-mgmt/icinga2/Makefile @@ -3,6 +3,7 @@ PORTNAME= icinga2 DISTVERSIONPREFIX= v DISTVERSION= 2.7.0 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= lme@FreeBSD.org diff --git net-mgmt/icinga2/files/patch-itl_command-plugins.conf net-mgmt/icinga2/files/patch-itl_command-plugins.conf index e69de29..8bd964a 100644 --- net-mgmt/icinga2/files/patch-itl_command-plugins.conf +++ net-mgmt/icinga2/files/patch-itl_command-plugins.conf @@ -0,0 +1,13 @@ +--- itl/command-plugins.conf.orig 2017-08-02 13:58:38 UTC ++++ itl/command-plugins.conf +@@ -1630,6 +1630,10 @@ object CheckCommand "procs" { + set_if = "$procs_nokthreads$" + description = "Only scan for non kernel threads" + } ++ "-j" = { ++ value = "$procs_jid$" ++ description = "Only scan for processes within that jail ID" ++ } + } + + vars.procs_traditional = false