summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
commit6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch)
tree0c1f5a77cacc664eadd47216b70e3257337484db /plugins/check_procs.c
parent56cf151ae91c5081a99365848a3f060dfe14a68c (diff)
downloadmonitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r--plugins/check_procs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4aaeddb..4c72950 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2008 Nagios Plugins Development Team 6* Copyright (c) 2000-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_procs plugin 10* This file contains the check_procs plugin
@@ -30,13 +28,11 @@
30* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
31* along with this program. If not, see <http://www.gnu.org/licenses/>. 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* 30*
33* $Id$
34* 31*
35*****************************************************************************/ 32*****************************************************************************/
36 33
37const char *progname = "check_procs"; 34const char *progname = "check_procs";
38const char *program_name = "check_procs"; /* Required for coreutils libs */ 35const char *program_name = "check_procs"; /* Required for coreutils libs */
39const char *revision = "$Revision$";
40const char *copyright = "2000-2008"; 36const char *copyright = "2000-2008";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 38
@@ -361,7 +357,7 @@ process_arguments (int argc, char **argv)
361 print_help (); 357 print_help ();
362 exit (STATE_OK); 358 exit (STATE_OK);
363 case 'V': /* version */ 359 case 'V': /* version */
364 print_revision (progname, revision); 360 print_revision (progname, NP_VERSION);
365 exit (STATE_OK); 361 exit (STATE_OK);
366 case 't': /* timeout period */ 362 case 't': /* timeout period */
367 if (!is_integer (optarg)) 363 if (!is_integer (optarg))
@@ -674,7 +670,7 @@ convert_to_seconds(char *etime) {
674void 670void
675print_help (void) 671print_help (void)
676{ 672{
677 print_revision (progname, revision); 673 print_revision (progname, NP_VERSION);
678 674
679 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 675 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
680 printf (COPYRIGHT, copyright, email); 676 printf (COPYRIGHT, copyright, email);