[nagiosplug] Update plugins/check_procs.c

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Wed Feb 27 23:20:26 CET 2013


    Module: nagiosplug
    Branch: master
    Commit: e0eb2ebca37dc5d809979e2372b4cb95e7696b8b
    Author: Joerg Linge <joerg.linge at pnp4nagios.org>
 Committer: Sven Nierlein <sven at nierlein.de>
      Date: Wed Feb 27 17:16:38 2013 +0100
       URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=e0eb2eb

Update plugins/check_procs.c

added missing longopt --user

---

 plugins/check_procs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 00b032a..6acedc7 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -332,6 +332,7 @@ process_arguments (int argc, char **argv)
 		{"timeout", required_argument, 0, 't'},
 		{"status", required_argument, 0, 's'},
 		{"ppid", required_argument, 0, 'p'},
+		{"user", required_argument, 0, 'u'},
 		{"command", required_argument, 0, 'C'},
 		{"vsz", required_argument, 0, 'z'},
 		{"rss", required_argument, 0, 'r'},





More information about the Commits mailing list