summaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-08-29 14:37:11 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-08-29 14:37:11 +0000
commite2757ea522576e66b3b629e3db535e79c75cba93 (patch)
tree260d8d5e00fbbea98f7fcaea8c58a7348b7a2a72 /net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c
parentUpdate www/elixir-maru to version 0.12.3. (diff)
Add jail id support to check_procs here too.
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c')
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c b/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c
new file mode 100644
index 000000000000..376fe088e309
--- /dev/null
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c
@@ -0,0 +1,10 @@
+--- plugins/check_nagios.c.orig 2016-11-29 08:45:08 UTC
++++ plugins/check_nagios.c
+@@ -64,6 +64,7 @@ main (int argc, char **argv)
+ int procuid = 0;
+ int procpid = 0;
+ int procppid = 0;
++ int procjid = 0;
+ int procvsz = 0;
+ int procrss = 0;
+ float procpcpu = 0;