Bug 197193 - [PATCH] net-mgmt/nagios-plugins: add a -j (--jid) flag to check_procs which specifies jail id
Summary: [PATCH] net-mgmt/nagios-plugins: add a -j (--jid) flag to check_procs which s...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-30 09:05 UTC by mitsururike
Modified: 2017-08-29 15:01 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments
[PATCH] net-mgmt/nagios-plugins: add a -j (--jid) flag to check_procs which specifies jail id (7.31 KB, patch)
2015-01-30 09:05 UTC, mitsururike
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitsururike 2015-01-30 09:05:26 UTC
Created attachment 152369 [details]
[PATCH] net-mgmt/nagios-plugins: add a -j (--jid) flag to check_procs which specifies jail id

net-mgmt/nagios-plugins: add a -j (--jid) flag to check_procs which specifies jail id. It is useful for running on jail hosts.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-30 09:05:26 UTC
Auto-assigned to maintainer mat@FreeBSD.org
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2015-01-30 09:15:54 UTC
Have you sent this patch upstream ?
Comment 3 mitsururike 2015-01-30 09:22:23 UTC
No, I have not.
If you need to the patch included in the upstream, you have to modify configure.ac, not configure, which I tried but failed.
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2015-02-17 12:55:14 UTC
Sure, you need to patch configure.ac, to submit upstream, but the changes should be about the same.

Of course, you can't test them because configure.in is modified after being generated from configure.ac.  It is one of the sillyness of {nagios,monitoring}-plugins.
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2017-08-29 11:46:12 UTC
Submitted upstream at https://github.com/nagios-plugins/nagios-plugins/pull/316.
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-08-29 11:46:48 UTC
A commit references this bug:

Author: mat
Date: Tue Aug 29 11:46:03 UTC 2017
New revision: 448907
URL: https://svnweb.freebsd.org/changeset/ports/448907

Log:
  Add jail support to check_procs.

  PR:		197193
  Submitted by:	mitsururike gmail com
  Sponsored by:	Absolight

Changes:
  head/net-mgmt/nagios-plugins/Makefile
  head/net-mgmt/nagios-plugins/files/patch-configure
  head/net-mgmt/nagios-plugins/files/patch-plugins_check__procs.c
Comment 7 commit-hook freebsd_committer freebsd_triage 2017-08-29 13:31:11 UTC
A commit references this bug:

Author: mat
Date: Tue Aug 29 13:30:40 UTC 2017
New revision: 448913
URL: https://svnweb.freebsd.org/changeset/ports/448913

Log:
  Add forgotten patch.

  PR:		197193
  Submitted by:	mitsururike gmail com
  Sponsored by:	Absolight

Changes:
  head/net-mgmt/nagios-plugins/files/patch-plugins_check__nagios.c
Comment 8 Mathieu Arnold freebsd_committer freebsd_triage 2017-08-29 15:01:16 UTC
And another upstream:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1504