diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-31 10:44:26 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-31 10:44:26 +0000 |
commit | 6c4468a728788676621d4c5948ae018fc9d7c917 (patch) | |
tree | c07f1c903b43c8deb4f9fb1f2b289a0a5fa296d3 /plugins | |
parent | fa4efcdf6df1096ff1f6740c7f44b213b47dc9d3 (diff) | |
download | monitoring-plugins-6c4468a728788676621d4c5948ae018fc9d7c917.tar.gz |
Bump plugin/ to GPLv3 (check_overcr to check_users)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1917 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_overcr.c | 47 | ||||
-rw-r--r-- | plugins/check_pgsql.c | 45 | ||||
-rw-r--r-- | plugins/check_ping.c | 45 | ||||
-rw-r--r-- | plugins/check_procs.c | 45 | ||||
-rw-r--r-- | plugins/check_radius.c | 41 | ||||
-rw-r--r-- | plugins/check_real.c | 42 | ||||
-rw-r--r-- | plugins/check_smtp.c | 42 | ||||
-rw-r--r-- | plugins/check_snmp.c | 39 | ||||
-rw-r--r-- | plugins/check_ssh.c | 42 | ||||
-rw-r--r-- | plugins/check_swap.c | 36 | ||||
-rw-r--r-- | plugins/check_tcp.c | 32 | ||||
-rw-r--r-- | plugins/check_time.c | 41 | ||||
-rw-r--r-- | plugins/check_ups.c | 46 | ||||
-rw-r--r-- | plugins/check_users.c | 45 |
14 files changed, 275 insertions, 313 deletions
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 5bcf931d..33003d97 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c @@ -1,43 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_overcr plugin -* +* * License: GPL -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_overcr plugin -* -* This plugin attempts to contact the Over-CR collector daemon running on the -* remote UNIX server in order to gather the requested system information. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin attempts to contact the Over-CR collector daemon running on the +* remote UNIX server in order to gather the requested system information. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ - -******************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_overcr"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index cbff8d75..e5442d24 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_pgsql plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 1999-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_pgsql plugin -* -* Test whether a PostgreSQL Database is accepting connections. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Test whether a PostgreSQL Database is accepting connections. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ - - *****************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_pgsql"; const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 065a14c7..214e23b0 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ping plugin -* +* * License: GPL -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ping plugin -* -* Use the ping program to check connection statistics for a remote host. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Use the ping program to check connection statistics for a remote host. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ - -******************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_ping"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_procs.c b/plugins/check_procs.c index f266cd76..690b8554 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -1,44 +1,43 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_procs plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2000-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_procs plugin -* -* Checks all processes and generates WARNING or CRITICAL states if the specified -* metric is outside the required threshold ranges. The metric defaults to number -* of processes. Search filters can be applied to limit the processes to check. -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Checks all processes and generates WARNING or CRITICAL states if the +* specified metric is outside the required threshold ranges. The metric +* defaults to number of processes. Search filters can be applied to limit +* the processes to check. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_procs"; const char *program_name = "check_procs"; /* Required for coreutils libs */ const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_radius.c b/plugins/check_radius.c index ba61c106..54617f1f 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_radius plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 1999-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_radius plugin -* -* Tests to see if a radius server is accepting connections. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Tests to see if a radius server is accepting connections. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -*******************************************************************************/ +*****************************************************************************/ const char *progname = "check_radius"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_real.c b/plugins/check_real.c index 0ccc1c09..03fef82c 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c @@ -1,43 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_real plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_real plugin -* -* This plugin tests the REAL service on the specified host. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin tests the REAL service on the specified host. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_real"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index f44e5331..d3e4f42e 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -1,43 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_smtp plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_smtp plugin -* -* This plugin will attempt to open an SMTP connection with the host. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will attempt to open an SMTP connection with the host. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_smtp"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include <ctype.h> diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 7b844f76..0406ae43 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -1,38 +1,35 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_snmp plugin -* +* * License: GPL -* Copyright (c) 1999-2007 nagios-plugins team -* +* Copyright (c) 1999-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_snmp plugin -* -* Check status of remote machines and obtain system information via SNMP -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Check status of remote machines and obtain system information via SNMP +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_snmp"; const char *revision = "$Revision$"; diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 9de7de38..869b803e 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c @@ -1,43 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ssh plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ssh plugin -* -* -* Try to connect to an SSH server at specified server and port -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* Try to connect to an SSH server at specified server and port +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_ssh"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_swap.c b/plugins/check_swap.c index fe0e4ca9..c8b143c5 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c @@ -1,40 +1,38 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_disk plugin -* +* * License: GPL * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_disk plugin -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ -* +* *****************************************************************************/ const char *progname = "check_swap"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index e502c0d1..d74b5a8b 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -1,32 +1,30 @@ /***************************************************************************** -* +* * Nagios check_tcp plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 1999-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_tcp plugin -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * *****************************************************************************/ @@ -34,7 +32,7 @@ /* progname "check_tcp" changes depending on symlink called */ char *progname; const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_time.c b/plugins/check_time.c index 581c42a3..acfc3ef7 100644 --- a/plugins/check_time.c +++ b/plugins/check_time.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_time plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 1999-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_time plugin -* -* This plugin will check the time on the specified host. -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will check the time difference with the specified host. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ * -******************************************************************************/ +*****************************************************************************/ const char *progname = "check_time"; const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 832c32b6..73702f59 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -1,45 +1,43 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ups plugin -* +* * License: GPL * Copyright (c) 2000 Tom Shields * 2004 Alain Richard <alain.richard@equation.fr> * 2004 Arnaud Quette <arnaud.quette@mgeups.com> -* Copyright (c) 2002-2006 nagios-plugins team -* +* Copyright (c) 2002-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains Network UPS Tools plugin for Nagios -* -* This plugin tests the UPS service on the specified host.Network UPS Tools -* from www.networkupstools.org must be running for thisplugin to work. -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin tests the UPS service on the specified host.Network UPS Tools +* from www.networkupstools.org must be running for thisplugin to work. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* -* $Id$ -* -******************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_ups"; const char *revision = "$Revision$"; -const char *copyright = "2002-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_users.c b/plugins/check_users.c index 8e5f23d7..c81822bd 100644 --- a/plugins/check_users.c +++ b/plugins/check_users.c @@ -1,42 +1,41 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_users plugin -* +* * License: GPL -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_users plugin -* -* This plugin checks the number of users currently logged in on the local -* system and generates an error if the number exceeds the thresholds specified. -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin checks the number of users currently logged in on the local +* system and generates an error if the number exceeds the thresholds +* specified. +* +* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or +* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -* -* $Id$ -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* *****************************************************************************/ const char *progname = "check_users"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" |