From fa4efcdf6df1096ff1f6740c7f44b213b47dc9d3 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 30 Jan 2008 10:53:47 +0000 Subject: [PATCH] Bump plugins/ to GPLv3 (check_apt to check_nwstat) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_apt.c | 42 +++++++++++++-------------- plugins/check_by_ssh.c | 36 +++++++++++------------ plugins/check_cluster.c | 55 ++++++++++++++++++----------------- plugins/check_dig.c | 34 +++++++++++----------- plugins/check_disk.c | 34 +++++++++++----------- plugins/check_dns.c | 45 ++++++++++++++--------------- plugins/check_dummy.c | 45 ++++++++++++++--------------- plugins/check_fping.c | 46 ++++++++++++++---------------- plugins/check_game.c | 37 ++++++++++++------------ plugins/check_hpjd.c | 42 +++++++++++++-------------- plugins/check_http.c | 50 ++++++++++++++++---------------- plugins/check_ide_smart.c | 52 ++++++++++++++++----------------- plugins/check_ldap.c | 40 +++++++++++++------------- plugins/check_load.c | 45 ++++++++++++++--------------- plugins/check_mrtg.c | 47 ++++++++++++++---------------- plugins/check_mrtgtraf.c | 45 ++++++++++++++--------------- plugins/check_mysql.c | 45 ++++++++++++++--------------- plugins/check_mysql_query.c | 44 ++++++++++++++-------------- plugins/check_nagios.c | 52 ++++++++++++++++----------------- plugins/check_nt.c | 45 ++++++++++++++--------------- plugins/check_ntp.c | 47 ++++++++++++++---------------- plugins/check_ntp_peer.c | 57 ++++++++++++++++++------------------- plugins/check_ntp_time.c | 55 +++++++++++++++++------------------ 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 f67ebf9..0265393 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 . +* * $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 7306e74..9b38506 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 . +* * $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 6f9c3e6..c67573a 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 . +* +* $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 e850337..37a9a46 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 . +* * $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 5ef957d..363879c 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 . +* * $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 3565802..9322aef 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 . +* * $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 876ebb1..a29407c 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 . +* +* $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 4dc48b7..5a24ab4 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 . +* +* $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 79abec3..aede055 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 . +* * $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 8a60ce8..6bcffae 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 . +* * $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 3530e71..0275402 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 . +* +* $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 diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 5dcf7a3..c6ea284 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 -* 1998 Gadi Oxman +* ide-smart 1.3 - IDE S.M.A.R.T. checking tool * +* License: GPL +* Copyright (C) 1998-1999 Ragnar Hojland Espinosa +* 1998 Gadi Oxman * Copyright (c) 2000 Robert Dale -* 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 . +* +* $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 5541e5c..582f9cc 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 . +* +* $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 5503204..a60858f 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 . +* +* $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 57cfee6..158bb8f 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 . +* +* $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 c38e595..97627aa 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 . +* +* $Id$ +* +*****************************************************************************/ #include "common.h" #include "utils.h" diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index 84e62d2..ad15a77 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 . +* * $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 bb62eec..a168306 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 . +* * $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 5703e60..b3088a1 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 . +* +* $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 b916cc0..60d58fd 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 . +* * $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 2b3cc91..6f965ce 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 -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney +* 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 . +* +* $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 806123b..753b7b2 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 -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney +* 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 . +* +* $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 11a0ece..85e1177 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 -* Copyright (c) 2007 nagios-plugins team -* +* Copyright (c) 2006 Sean Finney +* 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 . +* +* $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 37e9229..a1a3f35 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 . +* +* $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" -- 2.30.2