Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 14:39:06 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449688 - in head/net-mgmt/icinga2: . files
Message-ID:  <201709121439.v8CEd68O061694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Sep 12 14:39:06 2017
New Revision: 449688
URL: https://svnweb.freebsd.org/changeset/ports/449688

Log:
  Add support from check_procs's -j <jailid>.
  
  This was added in r448907 and r448923.
  
  PR:		221910
  Submitted by:	mat
  Approved by:	maintainer timeout
  Sponsored by:	Absolight

Added:
  head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf   (contents, props changed)
Modified:
  head/net-mgmt/icinga2/Makefile   (contents, props changed)

Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile	Tue Sep 12 13:42:55 2017	(r449687)
+++ head/net-mgmt/icinga2/Makefile	Tue Sep 12 14:39:06 2017	(r449688)
@@ -3,6 +3,7 @@
 PORTNAME=	icinga2
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.7.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	lme@FreeBSD.org

Added: head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf	Tue Sep 12 14:39:06 2017	(r449688)
@@ -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



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