summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_users.c')
-rw-r--r--plugins/check_users.c45
1 files changed, 22 insertions, 23 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 8e5f23d..c81822b 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -1,42 +1,41 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_users plugin 3* Nagios check_users plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_users plugin 12* This file contains the check_users plugin
13* 13*
14* This plugin checks the number of users currently logged in on the local 14* This plugin checks the number of users currently logged in on the local
15* system and generates an error if the number exceeds the thresholds specified. 15* system and generates an error if the number exceeds the thresholds
16* 16* specified.
17* License Information: 17*
18* 18*
19* This program is free software; you can redistribute it and/or modify 19* This program is free software: you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 20* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 21* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 22* (at your option) any later version.
23* 23*
24* This program is distributed in the hope that it will be useful, 24* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 25* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 27* GNU General Public License for more details.
28* 28*
29* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31*
32* 32* $Id$
33* $Id$ 33*
34*
35*****************************************************************************/ 34*****************************************************************************/
36 35
37const char *progname = "check_users"; 36const char *progname = "check_users";
38const char *revision = "$Revision$"; 37const char *revision = "$Revision$";
39const char *copyright = "2000-2006"; 38const char *copyright = "2000-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 40
42#include "common.h" 41#include "common.h"