From 4e19425ce697ce17257b0db904a656e3c8557911 Mon Sep 17 00:00:00 2001 From: "M. Sean Finney" Date: Wed, 25 May 2005 00:43:20 +0000 Subject: fixes for check_procs: - added support for printing the pid in all the ps outputs - don't use the proc name to ignore self, use the pid vs getpid(). - initialize procetime to null string otherwise -vvv can have funny results git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1177 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_nagios.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/check_nagios.c') diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index 0176983c..089ff669 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c @@ -49,6 +49,7 @@ main (int argc, char **argv) char *temp_ptr; FILE *fp; int procuid = 0; + int procpid = 0; int procppid = 0; int procvsz = 0; int procrss = 0; -- cgit v1.2.3-74-g34f1