diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_apt.c | 42 | ||||
-rw-r--r-- | plugins/check_by_ssh.c | 36 | ||||
-rw-r--r-- | plugins/check_cluster.c | 55 | ||||
-rw-r--r-- | plugins/check_dig.c | 34 | ||||
-rw-r--r-- | plugins/check_disk.c | 34 | ||||
-rw-r--r-- | plugins/check_dns.c | 45 | ||||
-rw-r--r-- | plugins/check_dummy.c | 45 | ||||
-rw-r--r-- | plugins/check_fping.c | 46 | ||||
-rw-r--r-- | plugins/check_game.c | 37 | ||||
-rw-r--r-- | plugins/check_hpjd.c | 42 | ||||
-rw-r--r-- | plugins/check_http.c | 50 | ||||
-rw-r--r-- | plugins/check_ide_smart.c | 52 | ||||
-rw-r--r-- | plugins/check_ldap.c | 40 | ||||
-rw-r--r-- | plugins/check_load.c | 45 | ||||
-rw-r--r-- | plugins/check_mrtg.c | 47 | ||||
-rw-r--r-- | plugins/check_mrtgtraf.c | 45 | ||||
-rw-r--r-- | plugins/check_mysql.c | 45 | ||||
-rw-r--r-- | plugins/check_mysql_query.c | 44 | ||||
-rw-r--r-- | plugins/check_nagios.c | 52 | ||||
-rw-r--r-- | plugins/check_nt.c | 45 | ||||
-rw-r--r-- | plugins/check_ntp.c | 47 | ||||
-rw-r--r-- | plugins/check_ntp_peer.c | 57 | ||||
-rw-r--r-- | plugins/check_ntp_time.c | 55 | ||||
-rw-r--r-- | plugins/check_nwstat.c | 45 |
24 files changed, 515 insertions, 570 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index f67ebf9b..02653933 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c @@ -1,43 +1,41 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_apt plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* -* Original author: sean finney -* +* Copyright (c) 2006-2007 Nagios Plugins Development Team +* +* Original author: Sean Finney +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_apt plugin * -* check for available updates in apt package management systems -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* Check for available updates in apt package management systems +* +* +* 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_apt"; const char *revision = "$Revision$"; -const char *copyright = "2006"; +const char *copyright = "2006-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 7306e743..9b38506f 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c @@ -1,39 +1,37 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_by_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_by_ssh 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_by_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_cluster.c b/plugins/check_cluster.c index 6f9c3e68..c67573a3 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c @@ -1,35 +1,34 @@ /***************************************************************************** - * - * CHECK_CLUSTER2.C - Host and Service Cluster Plugin for Nagios 2.x - * - * Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) - * Copyright (c) 2007 nagios-plugins team - * License: GPL - * Last Modified: $Date$ - * - * License 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 - * (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$ - * -******************************************************************************/ +* +* check_cluster.c - Host and Service Cluster Plugin for Nagios 2.x +* +* License: GPL +* Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) +* Copyright (c) 2007 Nagios Plugins Development Team +* +* Last Modified: $Date$ +* +* +* 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 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, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_cluster"; const char *revision = "$Revision$"; -const char *copyright = "2007"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_dig.c b/plugins/check_dig.c index e850337b..37a9a467 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c @@ -1,34 +1,32 @@ /***************************************************************************** -* +* * Nagios check_dig plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2002-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_dig 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$ -* +* *****************************************************************************/ /* Hackers note: @@ -39,7 +37,7 @@ const char *progname = "check_dig"; const char *revision = "$Revision$"; -const char *copyright = "2002-2006"; +const char *copyright = "2002-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 5ef957de..363879c6 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -1,32 +1,30 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_disk 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_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$ * *****************************************************************************/ @@ -34,7 +32,7 @@ const char *progname = "check_disk"; const char *program_name = "check_disk"; /* Required for coreutils libs */ const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 35658028..9322aef9 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -1,43 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_dns 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_dns plugin -* -* LIMITATION: nslookup on Solaris 7 can return output over 2 lines, which will not -* be picked up by this plugin -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* LIMITATION: nslookup on Solaris 7 can return output over 2 lines, which +* will not be picked up by this plugin +* +* +* 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_dns"; 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_dummy.c b/plugins/check_dummy.c index 876ebb11..a29407ce 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_dummy 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_dummy plugin -* -* This plugin will simply return the state corresponding to the numeric value -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will simply return the state corresponding to the numeric value +* +* +* 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_dummy"; 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_fping.c b/plugins/check_fping.c index 4dc48b77..5a24ab45 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c @@ -1,42 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_fping 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_disk plugin -* -* This plugin will use the fping command to ping the specified host for a fast check -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will use the fping command to ping the specified host for a +* fast 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. - - $Id$ - -******************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ const char *progname = "check_fping"; 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_game.c b/plugins/check_game.c index 79abec33..aede055d 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -1,41 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_game plugin -* +* * License: GPL -* Copyright (c) 1999-2006 nagios-plugins team -* +* Copyright (c) 2002-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_game plugin -* +* * This plugin tests game server connections with the specified host. * using the qstat program -* -* 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_game"; const char *revision = "$Revision$"; -const char *copyright = "2002-2006"; +const char *copyright = "2002-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 8a60ce8c..6bcffae6 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c @@ -1,42 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_hpjd 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_hpjd plugin -* -* This plugin tests the STATUS of an HP printer with a JetDirect card. -* Net-snmp must be installed on the computer running the plugin. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin tests the STATUS of an HP printer with a JetDirect card. +* Net-SNMP must be installed on the computer running the plugin. +* +* +* 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_hpjd"; 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_http.c b/plugins/check_http.c index 3530e71a..02754021 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -1,46 +1,44 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_http 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_http plugin -* -* This plugin tests the HTTP service on the specified host. It can test -* normal (http) and secure (https) servers, follow redirects, search for -* strings and regular expressions, check connection times, and report on -* certificate expiration times. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin tests the HTTP service on the specified host. It can test +* normal (http) and secure (https) servers, follow redirects, search for +* strings and regular expressions, check connection times, and report on +* certificate expiration times. +* +* +* 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$ +* +*****************************************************************************/ - $Id$ - -******************************************************************************/ /* splint -I. -I../../plugins -I../../lib/ -I/usr/kerberos/include/ ../../plugins/check_http.c */ const char *progname = "check_http"; const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include <ctype.h> diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 5dcf7a3b..c6ea2843 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c @@ -1,46 +1,44 @@ -/****************************************************************************** +/***************************************************************************** +* * Nagios check_ide_smart plugin -* -* License: GPL -* -* ide-smart 1.3 - IDE S.M.A.R.T. checking tool -* Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org> -* 1998 Gadi Oxman <gadio@netvision.net.il> +* ide-smart 1.3 - IDE S.M.A.R.T. checking tool * +* License: GPL +* Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org> +* 1998 Gadi Oxman <gadio@netvision.net.il> * Copyright (c) 2000 Robert Dale <rdale@digital-mission.com> -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ide_smart plugin -* -* This plugin checks a local hard drive with the (Linux specific) SMART interface -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin checks a local hard drive with the (Linux specific) SMART +* interface +* +* +* 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_ide_smart"; const char *revision = "$Revision$"; -const char *copyright = "2000-2006"; +const char *copyright = "1998-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 5541e5c8..582f9cc1 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -1,40 +1,38 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ldap plugin -* +* * License: GPL -* Copyright (c) 2000-2006 nagios-plugins team -* +* Copyright (c) 2000-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ldap 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. - - $Id$ - -******************************************************************************/ +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* $Id$ +* +*****************************************************************************/ /* progname may be check_ldaps */ char *progname = "check_ldap"; 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_load.c b/plugins/check_load.c index 5503204a..a60858fa 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c @@ -1,42 +1,39 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_load 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_load plugin -* -* This plugin tests the current system load average. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin tests the current system load average. +* +* +* 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_load"; 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_mrtg.c b/plugins/check_mrtg.c index 57cfee63..158bb8f9 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c @@ -1,43 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_mrtg 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_mrtg plugin -* -* This plugin will check either the average or maximum value of one of the -* two variables recorded in an MRTG log file. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will check either the average or maximum value of one of the +* two variables recorded in an MRTG log file. +* +* +* 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_mrtg"; 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_mrtgtraf.c b/plugins/check_mrtgtraf.c index c38e595d..97627aa8 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c @@ -1,39 +1,36 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_mrtgtraf 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_mtrgtraf plugin -* -* This plugin will check the incoming/outgoing transfer rates of a router -* switch, etc recorded in an MRTG log. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin will check the incoming/outgoing transfer rates of a router +* switch, etc recorded in an MRTG log. +* +* +* 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$ +* +*****************************************************************************/ #include "common.h" #include "utils.h" diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index 84e62d20..ad15a77c 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c @@ -1,44 +1,41 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_mysql plugin -* +* * License: GPL -* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) -* Copyright (c) 1999-2006 nagios-plugins team -* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) -* +* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) +* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) +* Copyright (c) 1999-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ * * Description: -* +* * This file contains the check_mysql plugin -* -* This program tests connections to a mysql server -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This program tests connections to a mysql server +* +* +* 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_mysql"; const char *revision = "$Revision$"; -const char *copyright = "1999-2006"; +const char *copyright = "1999-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #define SLAVERESULTSIZE 70 diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index bb62eecf..a1683066 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c @@ -1,42 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_mysql_query plugin -* +* * License: GPL -* Copyright (c) 2006 nagios-plugins team, after Didi Rieder (check_mysql) -* +* Copyright (c) 2006-2007 Nagios Plugins Development Team +* Original code from check_mysql, copyright 1999 Didi Rieder +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_mysql_query plugin -* -* This plugin is for running arbitrary SQL and checking the results -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin is for running arbitrary SQL and checking the results +* +* +* 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. -* CHECK_MYSQL_QUERY.C -* +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* * $Id$ -* -******************************************************************************/ +* +*****************************************************************************/ const char *progname = "check_mysql_query"; const char *revision = "$Revision$"; -const char *copyright = "2006"; +const char *copyright = "1999-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index 5703e606..b3088a1d 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c @@ -1,45 +1,43 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_nagios 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_nagios plugin -* -* This plugin checks the status of the Nagios process on the local machine -* The plugin will check to make sure the Nagios status log is no older than -* the number of minutes specified by the expires option. -* It also checks the process table for a process matching the command argument. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin checks the status of the Nagios process on the local machine. +* The plugin will check to make sure the Nagios status log is no older than +* the number of minutes specified by the expires option. +* It also checks the process table for a process matching the command +* argument. +* +* +* 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_nagios"; 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_nt.c b/plugins/check_nt.c index b916cc01..60d58fd0 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c @@ -1,44 +1,43 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_nt plugin -* +* * License: GPL * Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) -* Copyright (c) 2003-2006 nagios-plugins team -* +* Copyright (c) 2003-2007 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_nt plugin -* -* This plugin collects data from the NSClient service running on a -* Windows NT/2000/XP/2003 server. -* This requires NSClient software to run on NT (http://nsclient.ready2run.nl/) -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin collects data from the NSClient service running on a +* Windows NT/2000/XP/2003 server. +* This plugin requires NSClient software to run on NT +* (http://nsclient.ready2run.nl/) +* +* +* 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_nt"; const char *revision = "$Revision$"; -const char *copyright = "2003-2006"; +const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 2b3cc91d..6f965cec 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c @@ -1,44 +1,41 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ntp plugin -* +* * License: GPL -* Copyright (c) 2006 sean finney <seanius@seanius.net> -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney <seanius@seanius.net> +* Copyright (c) 2006-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ntp plugin -* -* This plugin to check ntp servers independant of any commandline -* programs or external libraries. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin to check ntp servers independant of any commandline +* programs or external libraries. +* +* +* 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_ntp"; const char *revision = "$Revision$"; -const char *copyright = "2007"; +const char *copyright = "2006-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 806123b9..753b7b25 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c @@ -1,49 +1,46 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ntp_peer plugin -* +* * License: GPL -* Copyright (c) 2006 sean finney <seanius@seanius.net> -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney <seanius@seanius.net> +* Copyright (c) 2006-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ntp_peer plugin -* -* This plugin checks an NTP server independent of any commandline -* programs or external libraries. -* -* Use this plugin to check the health of an NTP server. It supports -* checking the offset with the sync peer, the jitter and stratum. This -* plugin will not check the clock offset between the local host and NTP -* server; please use check_ntp_time for that purpose. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin checks an NTP server independent of any commandline +* programs or external libraries. +* +* Use this plugin to check the health of an NTP server. It supports +* checking the offset with the sync peer, the jitter and stratum. This +* plugin will not check the clock offset between the local host and NTP +* server; please use check_ntp_time for that purpose. +* +* +* 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_ntp_peer"; const char *revision = "$Revision$"; -const char *copyright = "2007"; +const char *copyright = "2006-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 11a0eced..85e11771 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -1,48 +1,45 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_ntp_time plugin -* +* * License: GPL -* Copyright (c) 2006 sean finney <seanius@seanius.net> -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney <seanius@seanius.net> +* Copyright (c) 2006-2008 Nagios Plugins Development Team +* * Last Modified: $Date$ -* +* * Description: -* +* * This file contains the check_ntp_time plugin -* -* This plugin checks the clock offset between the local host and a -* remote NTP server. It is independent of any commandline programs or -* external libraries. -* -* If you'd rather want to monitor an NTP server, please use -* check_ntp_peer. -* -* -* License Information: -* -* This program is free software; you can redistribute it and/or modify +* +* This plugin checks the clock offset between the local host and a +* remote NTP server. It is independent of any commandline programs or +* external libraries. +* +* If you'd rather want to monitor an NTP server, please use +* check_ntp_peer. +* +* +* 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_ntp_time"; const char *revision = "$Revision$"; -const char *copyright = "2007"; +const char *copyright = "2006-2008"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 37e92290..a1a3f35a 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c @@ -1,43 +1,40 @@ -/****************************************************************************** -* +/***************************************************************************** +* * Nagios check_nwstat 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_nwstat plugin -* -* This plugin attempts to contact the MRTGEXT NLM running on a -* Novell server 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 MRTGEXT NLM running on a +* Novell server 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_nwstat"; 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" |