summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_apt.c42
-rw-r--r--plugins/check_by_ssh.c36
-rw-r--r--plugins/check_cluster.c55
-rw-r--r--plugins/check_dig.c34
-rw-r--r--plugins/check_disk.c34
-rw-r--r--plugins/check_dns.c45
-rw-r--r--plugins/check_dummy.c45
-rw-r--r--plugins/check_fping.c46
-rw-r--r--plugins/check_game.c37
-rw-r--r--plugins/check_hpjd.c42
-rw-r--r--plugins/check_http.c50
-rw-r--r--plugins/check_ide_smart.c52
-rw-r--r--plugins/check_ldap.c40
-rw-r--r--plugins/check_load.c45
-rw-r--r--plugins/check_mrtg.c47
-rw-r--r--plugins/check_mrtgtraf.c45
-rw-r--r--plugins/check_mysql.c45
-rw-r--r--plugins/check_mysql_query.c44
-rw-r--r--plugins/check_nagios.c52
-rw-r--r--plugins/check_nt.c45
-rw-r--r--plugins/check_ntp.c47
-rw-r--r--plugins/check_ntp_peer.c57
-rw-r--r--plugins/check_ntp_time.c55
-rw-r--r--plugins/check_nwstat.c45
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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_apt plugin 3* Nagios check_apt plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2006-2007 Nagios Plugins Development Team
7* 7*
8* Original author: sean finney 8* Original author: Sean Finney
9* 9*
10* Last Modified: $Date$ 10* Last Modified: $Date$
11* 11*
12* Description: 12* Description:
13* 13*
14* This file contains the check_apt plugin 14* This file contains the check_apt plugin
15* 15*
16* check for available updates in apt package management systems 16* Check for available updates in apt package management systems
17* 17*
18* License Information: 18*
19* 19* This program is free software: you can redistribute it and/or modify
20* This program is free software; you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 20* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 21* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 22* (at your option) any later version.
24* 23*
25* This program is distributed in the hope that it will be useful, 24* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 25* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 27* GNU General Public License for more details.
29* 28*
30* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31*
33*
34* $Id$ 32* $Id$
35* 33*
36******************************************************************************/ 34*****************************************************************************/
37 35
38const char *progname = "check_apt"; 36const char *progname = "check_apt";
39const char *revision = "$Revision$"; 37const char *revision = "$Revision$";
40const char *copyright = "2006"; 38const char *copyright = "2006-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 40
43#include "common.h" 41#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_by_ssh plugin 3* Nagios check_by_ssh plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_by_ssh plugin 12* This file contains the check_by_ssh plugin
13* 13*
14* License Information: 14*
15* 15* This program is free software: you can redistribute it and/or modify
16* This program is free software; you can redistribute it and/or modify
17* it under the terms of the GNU General Public License as published by 16* it under the terms of the GNU General Public License as published by
18* the Free Software Foundation; either version 2 of the License, or 17* the Free Software Foundation, either version 3 of the License, or
19* (at your option) any later version. 18* (at your option) any later version.
20* 19*
21* This program is distributed in the hope that it will be useful, 20* This program is distributed in the hope that it will be useful,
22* but WITHOUT ANY WARRANTY; without even the implied warranty of 21* but WITHOUT ANY WARRANTY; without even the implied warranty of
23* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24* GNU General Public License for more details. 23* GNU General Public License for more details.
25* 24*
26* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
27* along with this program; if not, write to the Free Software 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
28* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27*
29*
30* $Id$ 28* $Id$
31* 29*
32******************************************************************************/ 30*****************************************************************************/
33 31
34const char *progname = "check_by_ssh"; 32const char *progname = "check_by_ssh";
35const char *revision = "$Revision$"; 33const char *revision = "$Revision$";
36const char *copyright = "2000-2006"; 34const char *copyright = "2000-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const char *email = "nagiosplug-devel@lists.sourceforge.net";
38 36
39#include "common.h" 37#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 @@
1/***************************************************************************** 1/*****************************************************************************
2 * 2*
3 * CHECK_CLUSTER2.C - Host and Service Cluster Plugin for Nagios 2.x 3* check_cluster.c - Host and Service Cluster Plugin for Nagios 2.x
4 * 4*
5 * Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) 5* License: GPL
6 * Copyright (c) 2007 nagios-plugins team 6* Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)
7 * License: GPL 7* Copyright (c) 2007 Nagios Plugins Development Team
8 * Last Modified: $Date$ 8*
9 * 9* Last Modified: $Date$
10 * License Information: 10*
11 * 11*
12 * This program is free software; you can redistribute it and/or modify 12* This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by 13* it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or 14* the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version. 15* (at your option) any later version.
16 * 16*
17 * This program is distributed in the hope that it will be useful, 17* This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18* but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details. 20* GNU General Public License for more details.
21 * 21*
22 * You should have received a copy of the GNU General Public License 22* You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software 23* along with this program. If not, see <http://www.gnu.org/licenses/>.
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24*
25 * 25* $Id$
26 * $Id$ 26*
27 * 27*****************************************************************************/
28******************************************************************************/
29 28
30const char *progname = "check_cluster"; 29const char *progname = "check_cluster";
31const char *revision = "$Revision$"; 30const char *revision = "$Revision$";
32const char *copyright = "2007"; 31const char *copyright = "2000-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const char *email = "nagiosplug-devel@lists.sourceforge.net";
34 33
35#include "common.h" 34#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 @@
1/***************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_dig plugin 3* Nagios check_dig plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2002-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_dig plugin 12* This file contains the check_dig plugin
13* 13*
14* License Information: 14*
15* 15* This program is free software: you can redistribute it and/or modify
16* This program is free software; you can redistribute it and/or modify
17* it under the terms of the GNU General Public License as published by 16* it under the terms of the GNU General Public License as published by
18* the Free Software Foundation; either version 2 of the License, or 17* the Free Software Foundation, either version 3 of the License, or
19* (at your option) any later version. 18* (at your option) any later version.
20* 19*
21* This program is distributed in the hope that it will be useful, 20* This program is distributed in the hope that it will be useful,
22* but WITHOUT ANY WARRANTY; without even the implied warranty of 21* but WITHOUT ANY WARRANTY; without even the implied warranty of
23* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24* GNU General Public License for more details. 23* GNU General Public License for more details.
25* 24*
26* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
27* along with this program; if not, write to the Free Software 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
28* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27*
29*
30* $Id$ 28* $Id$
31* 29*
32*****************************************************************************/ 30*****************************************************************************/
33 31
34/* Hackers note: 32/* Hackers note:
@@ -39,7 +37,7 @@
39 37
40const char *progname = "check_dig"; 38const char *progname = "check_dig";
41const char *revision = "$Revision$"; 39const char *revision = "$Revision$";
42const char *copyright = "2002-2006"; 40const char *copyright = "2002-2007";
43const char *email = "nagiosplug-devel@lists.sourceforge.net"; 41const char *email = "nagiosplug-devel@lists.sourceforge.net";
44 42
45#include "common.h" 43#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_disk plugin 3* Nagios check_disk plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_disk plugin 12* This file contains the check_disk plugin
13* 13*
14* License Information: 14*
15* 15* This program is free software: you can redistribute it and/or modify
16* This program is free software; you can redistribute it and/or modify
17* it under the terms of the GNU General Public License as published by 16* it under the terms of the GNU General Public License as published by
18* the Free Software Foundation; either version 2 of the License, or 17* the Free Software Foundation, either version 3 of the License, or
19* (at your option) any later version. 18* (at your option) any later version.
20* 19*
21* This program is distributed in the hope that it will be useful, 20* This program is distributed in the hope that it will be useful,
22* but WITHOUT ANY WARRANTY; without even the implied warranty of 21* but WITHOUT ANY WARRANTY; without even the implied warranty of
23* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24* GNU General Public License for more details. 23* GNU General Public License for more details.
25* 24*
26* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
27* along with this program; if not, write to the Free Software 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
28* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27*
29*
30* $Id$ 28* $Id$
31* 29*
32*****************************************************************************/ 30*****************************************************************************/
@@ -34,7 +32,7 @@
34const char *progname = "check_disk"; 32const char *progname = "check_disk";
35const char *program_name = "check_disk"; /* Required for coreutils libs */ 33const char *program_name = "check_disk"; /* Required for coreutils libs */
36const char *revision = "$Revision$"; 34const char *revision = "$Revision$";
37const char *copyright = "1999-2006"; 35const char *copyright = "1999-2008";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 36const char *email = "nagiosplug-devel@lists.sourceforge.net";
39 37
40 38
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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_dns plugin 3* Nagios check_dns plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2000-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_dns plugin 12* This file contains the check_dns plugin
13* 13*
14* LIMITATION: nslookup on Solaris 7 can return output over 2 lines, which will not 14* LIMITATION: nslookup on Solaris 7 can return output over 2 lines, which
15* be picked up by this plugin 15* will not be picked up by this plugin
16* 16*
17* License Information: 17*
18* 18* This program is free software: you can redistribute it and/or modify
19* This program is free software; you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 21* (at your option) any later version.
23* 22*
24* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 26* GNU General Public License for more details.
28* 27*
29* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
32*
33*
34* $Id$ 31* $Id$
35* 32*
36******************************************************************************/ 33*****************************************************************************/
37 34
38const char *progname = "check_dns"; 35const char *progname = "check_dns";
39const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
40const char *copyright = "2000-2006"; 37const char *copyright = "2000-2008";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 39
43#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_dummy plugin 3* Nagios check_dummy plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_dummy plugin 12* This file contains the check_dummy plugin
13* 13*
14* This plugin will simply return the state corresponding to the numeric value 14* This plugin will simply return the state corresponding to the numeric value
15* 15*
16* 16*
17* License Information: 17* This program is free software: you can redistribute it and/or modify
18*
19* This program is free software; you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 18* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 19* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 20* (at your option) any later version.
23* 21*
24* This program is distributed in the hope that it will be useful, 22* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 23* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 25* GNU General Public License for more details.
28* 26*
29* You should have received a copy of the GNU General Public License 27* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 28* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29*
32 30* $Id$
33 $Id$ 31*
34 32*****************************************************************************/
35******************************************************************************/
36 33
37const char *progname = "check_dummy"; 34const char *progname = "check_dummy";
38const char *revision = "$Revision$"; 35const char *revision = "$Revision$";
39const char *copyright = "1999-2006"; 36const char *copyright = "1999-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 38
42#include "common.h" 39#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_fping plugin 3* Nagios check_fping plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_disk plugin 12* This file contains the check_disk plugin
13* 13*
14* This plugin will use the fping command to ping the specified host for a fast check 14* This plugin will use the fping command to ping the specified host for a
15* 15* fast check
16* 16*
17* License Information: 17*
18* 18* This program is free software: you can redistribute it and/or modify
19* This program is free software; you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 21* (at your option) any later version.
23* 22*
24* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 26* GNU General Public License for more details.
28* 27*
29* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
32 31* $Id$
33 $Id$ 32*
34 33*****************************************************************************/
35******************************************************************************/
36 34
37const char *progname = "check_fping"; 35const char *progname = "check_fping";
38const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
39const char *copyright = "2000-2006"; 37const char *copyright = "2000-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 39
42#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_game plugin 3* Nagios check_game plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2002-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_game plugin 12* This file contains the check_game plugin
13* 13*
14* This plugin tests game server connections with the specified host. 14* This plugin tests game server connections with the specified host.
15* using the qstat program 15* using the qstat program
16* 16*
17* License Information: 17*
18* 18* This program is free software: you can redistribute it and/or modify
19* This program is free software; you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 21* (at your option) any later version.
23* 22*
24* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 26* GNU General Public License for more details.
28* 27*
29* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
32*
33* $Id$ 31* $Id$
32*
34*****************************************************************************/ 33*****************************************************************************/
35 34
36const char *progname = "check_game"; 35const char *progname = "check_game";
37const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
38const char *copyright = "2002-2006"; 37const char *copyright = "2002-2007";
39const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
40 39
41#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_hpjd plugin 3* Nagios check_hpjd plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_hpjd plugin 12* This file contains the check_hpjd plugin
13* 13*
14* This plugin tests the STATUS of an HP printer with a JetDirect card. 14* This plugin tests the STATUS of an HP printer with a JetDirect card.
15* Net-snmp must be installed on the computer running the plugin. 15* Net-SNMP must be installed on the computer running the plugin.
16* 16*
17* 17*
18* License Information: 18* This program is free software: you can redistribute it and/or modify
19*
20* This program is free software; you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 21* (at your option) any later version.
24* 22*
25* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 26* GNU General Public License for more details.
29* 27*
30* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
33*
34* $Id$ 31* $Id$
32*
35*****************************************************************************/ 33*****************************************************************************/
36 34
37const char *progname = "check_hpjd"; 35const char *progname = "check_hpjd";
38const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
39const char *copyright = "2000-2006"; 37const char *copyright = "2000-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 39
42#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_http plugin 3* Nagios check_http plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_http plugin 12* This file contains the check_http plugin
13* 13*
14* This plugin tests the HTTP service on the specified host. It can test 14* This plugin tests the HTTP service on the specified host. It can test
15* normal (http) and secure (https) servers, follow redirects, search for 15* normal (http) and secure (https) servers, follow redirects, search for
16* strings and regular expressions, check connection times, and report on 16* strings and regular expressions, check connection times, and report on
17* certificate expiration times. 17* certificate expiration times.
18* 18*
19* 19*
20* License Information: 20* This program is free software: you can redistribute it and/or modify
21*
22* This program is free software; you can redistribute it and/or modify
23* it under the terms of the GNU General Public License as published by 21* it under the terms of the GNU General Public License as published by
24* the Free Software Foundation; either version 2 of the License, or 22* the Free Software Foundation, either version 3 of the License, or
25* (at your option) any later version. 23* (at your option) any later version.
26* 24*
27* This program is distributed in the hope that it will be useful, 25* This program is distributed in the hope that it will be useful,
28* but WITHOUT ANY WARRANTY; without even the implied warranty of 26* but WITHOUT ANY WARRANTY; without even the implied warranty of
29* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30* GNU General Public License for more details. 28* GNU General Public License for more details.
31* 29*
32* You should have received a copy of the GNU General Public License 30* You should have received a copy of the GNU General Public License
33* along with this program; if not, write to the Free Software 31* along with this program. If not, see <http://www.gnu.org/licenses/>.
34* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 32*
33* $Id$
34*
35*****************************************************************************/
35 36
36 $Id$
37
38******************************************************************************/
39/* splint -I. -I../../plugins -I../../lib/ -I/usr/kerberos/include/ ../../plugins/check_http.c */ 37/* splint -I. -I../../plugins -I../../lib/ -I/usr/kerberos/include/ ../../plugins/check_http.c */
40 38
41const char *progname = "check_http"; 39const char *progname = "check_http";
42const char *revision = "$Revision$"; 40const char *revision = "$Revision$";
43const char *copyright = "1999-2006"; 41const char *copyright = "1999-2008";
44const char *email = "nagiosplug-devel@lists.sourceforge.net"; 42const char *email = "nagiosplug-devel@lists.sourceforge.net";
45 43
46#include <ctype.h> 44#include <ctype.h>
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 @@
1/****************************************************************************** 1/*****************************************************************************
2*
2* Nagios check_ide_smart plugin 3* Nagios check_ide_smart plugin
3* 4* ide-smart 1.3 - IDE S.M.A.R.T. checking tool
4* License: GPL
5*
6* ide-smart 1.3 - IDE S.M.A.R.T. checking tool
7* Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>
8* 1998 Gadi Oxman <gadio@netvision.net.il>
9* 5*
6* License: GPL
7* Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>
8* 1998 Gadi Oxman <gadio@netvision.net.il>
10* Copyright (c) 2000 Robert Dale <rdale@digital-mission.com> 9* Copyright (c) 2000 Robert Dale <rdale@digital-mission.com>
11* Copyright (c) 2000-2006 nagios-plugins team 10* Copyright (c) 2000-2007 Nagios Plugins Development Team
12* 11*
13* Last Modified: $Date$ 12* Last Modified: $Date$
14* 13*
15* Description: 14* Description:
16* 15*
17* This file contains the check_ide_smart plugin 16* This file contains the check_ide_smart plugin
18* 17*
19* This plugin checks a local hard drive with the (Linux specific) SMART interface 18* This plugin checks a local hard drive with the (Linux specific) SMART
20* 19* interface
21* 20*
22* License Information: 21*
23* 22* This program is free software: you can redistribute it and/or modify
24* This program is free software; you can redistribute it and/or modify
25* it under the terms of the GNU General Public License as published by 23* it under the terms of the GNU General Public License as published by
26* the Free Software Foundation; either version 2 of the License, or 24* the Free Software Foundation, either version 3 of the License, or
27* (at your option) any later version. 25* (at your option) any later version.
28* 26*
29* This program is distributed in the hope that it will be useful, 27* This program is distributed in the hope that it will be useful,
30* but WITHOUT ANY WARRANTY; without even the implied warranty of 28* but WITHOUT ANY WARRANTY; without even the implied warranty of
31* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32* GNU General Public License for more details. 30* GNU General Public License for more details.
33* 31*
34* You should have received a copy of the GNU General Public License 32* You should have received a copy of the GNU General Public License
35* along with this program; if not, write to the Free Software 33* along with this program. If not, see <http://www.gnu.org/licenses/>.
36* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 34*
37 * 35* $Id$
38 * $Id$ 36*
39 */ 37*****************************************************************************/
40 38
41const char *progname = "check_ide_smart"; 39const char *progname = "check_ide_smart";
42const char *revision = "$Revision$"; 40const char *revision = "$Revision$";
43const char *copyright = "2000-2006"; 41const char *copyright = "1998-2007";
44const char *email = "nagiosplug-devel@lists.sourceforge.net"; 42const char *email = "nagiosplug-devel@lists.sourceforge.net";
45 43
46#include "common.h" 44#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_ldap plugin 3* Nagios check_ldap plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2006 nagios-plugins team 6* Copyright (c) 2000-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_ldap plugin 12* This file contains the check_ldap plugin
13* 13*
14* License Information: 14*
15* 15* This program is free software: you can redistribute it and/or modify
16* This program is free software; you can redistribute it and/or modify
17* it under the terms of the GNU General Public License as published by 16* it under the terms of the GNU General Public License as published by
18* the Free Software Foundation; either version 2 of the License, or 17* the Free Software Foundation, either version 3 of the License, or
19* (at your option) any later version. 18* (at your option) any later version.
20* 19*
21* This program is distributed in the hope that it will be useful, 20* This program is distributed in the hope that it will be useful,
22* but WITHOUT ANY WARRANTY; without even the implied warranty of 21* but WITHOUT ANY WARRANTY; without even the implied warranty of
23* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24* GNU General Public License for more details. 23* GNU General Public License for more details.
25* 24*
26* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
27* along with this program; if not, write to the Free Software 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
28* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27*
29 28* $Id$
30 $Id$ 29*
31 30*****************************************************************************/
32******************************************************************************/
33 31
34/* progname may be check_ldaps */ 32/* progname may be check_ldaps */
35char *progname = "check_ldap"; 33char *progname = "check_ldap";
36const char *revision = "$Revision$"; 34const char *revision = "$Revision$";
37const char *copyright = "2000-2006"; 35const char *copyright = "2000-2008";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 36const char *email = "nagiosplug-devel@lists.sourceforge.net";
39 37
40#include "common.h" 38#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_load plugin 3* Nagios check_load plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_load plugin 12* This file contains the check_load plugin
13* 13*
14* This plugin tests the current system load average. 14* This plugin tests the current system load average.
15* 15*
16* 16*
17* License Information: 17* This program is free software: you can redistribute it and/or modify
18*
19* This program is free software; you can redistribute it and/or modify
20* it under the terms of the GNU General Public License as published by 18* it under the terms of the GNU General Public License as published by
21* the Free Software Foundation; either version 2 of the License, or 19* the Free Software Foundation, either version 3 of the License, or
22* (at your option) any later version. 20* (at your option) any later version.
23* 21*
24* This program is distributed in the hope that it will be useful, 22* This program is distributed in the hope that it will be useful,
25* but WITHOUT ANY WARRANTY; without even the implied warranty of 23* but WITHOUT ANY WARRANTY; without even the implied warranty of
26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27* GNU General Public License for more details. 25* GNU General Public License for more details.
28* 26*
29* You should have received a copy of the GNU General Public License 27* You should have received a copy of the GNU General Public License
30* along with this program; if not, write to the Free Software 28* along with this program. If not, see <http://www.gnu.org/licenses/>.
31* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29*
32 30* $Id$
33 $Id$ 31*
34 32*****************************************************************************/
35******************************************************************************/
36 33
37const char *progname = "check_load"; 34const char *progname = "check_load";
38const char *revision = "$Revision$"; 35const char *revision = "$Revision$";
39const char *copyright = "1999-2006"; 36const char *copyright = "1999-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 38
42#include "common.h" 39#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_mrtg plugin 3* Nagios check_mrtg plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_mrtg plugin 12* This file contains the check_mrtg plugin
13* 13*
14* This plugin will check either the average or maximum value of one of the 14* This plugin will check either the average or maximum value of one of the
15* two variables recorded in an MRTG log file. 15* two variables recorded in an MRTG log file.
16* 16*
17* 17*
18* License Information: 18* This program is free software: you can redistribute it and/or modify
19*
20* This program is free software; you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 21* (at your option) any later version.
24* 22*
25* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 26* GNU General Public License for more details.
29* 27*
30* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
33 31* $Id$
34 $Id$ 32*
35 33*****************************************************************************/
36******************************************************************************/
37 34
38const char *progname = "check_mrtg"; 35const char *progname = "check_mrtg";
39const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
40const char *copyright = "1999-2006"; 37const char *copyright = "1999-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 39
43#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_mrtgtraf plugin 3* Nagios check_mrtgtraf plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2007 nagios-plugins team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_mtrgtraf plugin 12* This file contains the check_mtrgtraf plugin
13* 13*
14* This plugin will check the incoming/outgoing transfer rates of a router 14* This plugin will check the incoming/outgoing transfer rates of a router
15* switch, etc recorded in an MRTG log. 15* switch, etc recorded in an MRTG log.
16* 16*
17* 17*
18* License Information: 18* This program is free software: you can redistribute it and/or modify
19*
20* This program is free software; you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 21* (at your option) any later version.
24* 22*
25* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 26* GNU General Public License for more details.
29* 27*
30* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
33 31* $Id$
34 $Id$ 32*
35 33*****************************************************************************/
36******************************************************************************/
37 34
38#include "common.h" 35#include "common.h"
39#include "utils.h" 36#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_mysql plugin 3* Nagios check_mysql plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) 6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)
7* Copyright (c) 1999-2006 nagios-plugins team 7* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net)
8* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) 8* Copyright (c) 1999-2007 Nagios Plugins Development Team
9* 9*
10* Last Modified: $Date$ 10* Last Modified: $Date$
11* 11*
12* Description: 12* Description:
13* 13*
14* This file contains the check_mysql plugin 14* This file contains the check_mysql plugin
15* 15*
16* This program tests connections to a mysql server 16* This program tests connections to a mysql server
17* 17*
18* 18*
19* License Information: 19* This program is free software: you can redistribute it and/or modify
20*
21* This program is free software; you can redistribute it and/or modify
22* it under the terms of the GNU General Public License as published by 20* it under the terms of the GNU General Public License as published by
23* the Free Software Foundation; either version 2 of the License, or 21* the Free Software Foundation, either version 3 of the License, or
24* (at your option) any later version. 22* (at your option) any later version.
25* 23*
26* This program is distributed in the hope that it will be useful, 24* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of 25* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details. 27* GNU General Public License for more details.
30* 28*
31* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31*
34*
35* $Id$ 32* $Id$
36* 33*
37******************************************************************************/ 34*****************************************************************************/
38 35
39const char *progname = "check_mysql"; 36const char *progname = "check_mysql";
40const char *revision = "$Revision$"; 37const char *revision = "$Revision$";
41const char *copyright = "1999-2006"; 38const char *copyright = "1999-2007";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const char *email = "nagiosplug-devel@lists.sourceforge.net";
43 40
44#define SLAVERESULTSIZE 70 41#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_mysql_query plugin 3* Nagios check_mysql_query plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2006 nagios-plugins team, after Didi Rieder (check_mysql) 6* Copyright (c) 2006-2007 Nagios Plugins Development Team
7* 7* Original code from check_mysql, copyright 1999 Didi Rieder
8*
8* Last Modified: $Date$ 9* Last Modified: $Date$
9* 10*
10* Description: 11* Description:
11* 12*
12* This file contains the check_mysql_query plugin 13* This file contains the check_mysql_query plugin
13* 14*
14* This plugin is for running arbitrary SQL and checking the results 15* This plugin is for running arbitrary SQL and checking the results
15* 16*
16* License Information: 17*
17* 18* This program is free software: you can redistribute it and/or modify
18* This program is free software; you can redistribute it and/or modify
19* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
20* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
21* (at your option) any later version. 21* (at your option) any later version.
22* 22*
23* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
24* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26* GNU General Public License for more details. 26* GNU General Public License for more details.
27* 27*
28* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
29* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
30* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
31* CHECK_MYSQL_QUERY.C
32*
33* $Id$ 31* $Id$
34* 32*
35******************************************************************************/ 33*****************************************************************************/
36 34
37const char *progname = "check_mysql_query"; 35const char *progname = "check_mysql_query";
38const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
39const char *copyright = "2006"; 37const char *copyright = "1999-2007";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 39
42#include "common.h" 40#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_nagios plugin 3* Nagios check_nagios plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2006 nagios-plugins team 6* Copyright (c) 1999-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_nagios plugin 12* This file contains the check_nagios plugin
13* 13*
14* This plugin checks the status of the Nagios process on the local machine 14* This plugin checks the status of the Nagios process on the local machine.
15* The plugin will check to make sure the Nagios status log is no older than 15* The plugin will check to make sure the Nagios status log is no older than
16* the number of minutes specified by the expires option. 16* the number of minutes specified by the expires option.
17* It also checks the process table for a process matching the command argument. 17* It also checks the process table for a process matching the command
18* 18* argument.
19* 19*
20* License Information: 20*
21* 21* This program is free software: you can redistribute it and/or modify
22* This program is free software; you can redistribute it and/or modify
23* it under the terms of the GNU General Public License as published by 22* it under the terms of the GNU General Public License as published by
24* the Free Software Foundation; either version 2 of the License, or 23* the Free Software Foundation, either version 3 of the License, or
25* (at your option) any later version. 24* (at your option) any later version.
26* 25*
27* This program is distributed in the hope that it will be useful, 26* This program is distributed in the hope that it will be useful,
28* but WITHOUT ANY WARRANTY; without even the implied warranty of 27* but WITHOUT ANY WARRANTY; without even the implied warranty of
29* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30* GNU General Public License for more details. 29* GNU General Public License for more details.
31* 30*
32* You should have received a copy of the GNU General Public License 31* You should have received a copy of the GNU General Public License
33* along with this program; if not, write to the Free Software 32* along with this program. If not, see <http://www.gnu.org/licenses/>.
34* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 33*
35 34* $Id$
36 $Id$ 35*
37 36*****************************************************************************/
38******************************************************************************/
39 37
40const char *progname = "check_nagios"; 38const char *progname = "check_nagios";
41const char *revision = "$Revision$"; 39const char *revision = "$Revision$";
42const char *copyright = "1999-2006"; 40const char *copyright = "1999-2007";
43const char *email = "nagiosplug-devel@lists.sourceforge.net"; 41const char *email = "nagiosplug-devel@lists.sourceforge.net";
44 42
45#include "common.h" 43#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_nt plugin 3* Nagios check_nt plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) 6* Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com)
7* Copyright (c) 2003-2006 nagios-plugins team 7* Copyright (c) 2003-2007 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$ 9* Last Modified: $Date$
10* 10*
11* Description: 11* Description:
12* 12*
13* This file contains the check_nt plugin 13* This file contains the check_nt plugin
14* 14*
15* This plugin collects data from the NSClient service running on a 15* This plugin collects data from the NSClient service running on a
16* Windows NT/2000/XP/2003 server. 16* Windows NT/2000/XP/2003 server.
17* This requires NSClient software to run on NT (http://nsclient.ready2run.nl/) 17* This plugin requires NSClient software to run on NT
18* 18* (http://nsclient.ready2run.nl/)
19* License Information: 19*
20* 20*
21* This program is free software; you can redistribute it and/or modify 21* This program is free software: you can redistribute it and/or modify
22* it under the terms of the GNU General Public License as published by 22* it under the terms of the GNU General Public License as published by
23* the Free Software Foundation; either version 2 of the License, or 23* the Free Software Foundation, either version 3 of the License, or
24* (at your option) any later version. 24* (at your option) any later version.
25* 25*
26* This program is distributed in the hope that it will be useful, 26* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of 27* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details. 29* GNU General Public License for more details.
30* 30*
31* You should have received a copy of the GNU General Public License 31* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software 32* along with this program. If not, see <http://www.gnu.org/licenses/>.
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 33*
34*
35* $Id$ 34* $Id$
36* 35*
37*****************************************************************************/ 36*****************************************************************************/
38 37
39const char *progname = "check_nt"; 38const char *progname = "check_nt";
40const char *revision = "$Revision$"; 39const char *revision = "$Revision$";
41const char *copyright = "2003-2006"; 40const char *copyright = "2000-2007";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 41const char *email = "nagiosplug-devel@lists.sourceforge.net";
43 42
44#include "common.h" 43#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_ntp plugin 3* Nagios check_ntp plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2006 sean finney <seanius@seanius.net> 6* Copyright (c) 2006 Sean Finney <seanius@seanius.net>
7* Copyright (c) 2007 nagios-plugins team 7* Copyright (c) 2006-2008 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$ 9* Last Modified: $Date$
10* 10*
11* Description: 11* Description:
12* 12*
13* This file contains the check_ntp plugin 13* This file contains the check_ntp plugin
14* 14*
15* This plugin to check ntp servers independant of any commandline 15* This plugin to check ntp servers independant of any commandline
16* programs or external libraries. 16* programs or external libraries.
17* 17*
18* 18*
19* License Information: 19* This program is free software: you can redistribute it and/or modify
20*
21* This program is free software; you can redistribute it and/or modify
22* it under the terms of the GNU General Public License as published by 20* it under the terms of the GNU General Public License as published by
23* the Free Software Foundation; either version 2 of the License, or 21* the Free Software Foundation, either version 3 of the License, or
24* (at your option) any later version. 22* (at your option) any later version.
25* 23*
26* This program is distributed in the hope that it will be useful, 24* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of 25* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details. 27* GNU General Public License for more details.
30* 28*
31* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31*
34 32* $Id$
35 $Id$ 33*
36
37*****************************************************************************/ 34*****************************************************************************/
38 35
39const char *progname = "check_ntp"; 36const char *progname = "check_ntp";
40const char *revision = "$Revision$"; 37const char *revision = "$Revision$";
41const char *copyright = "2007"; 38const char *copyright = "2006-2008";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const char *email = "nagiosplug-devel@lists.sourceforge.net";
43 40
44#include "common.h" 41#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_ntp_peer plugin 3* Nagios check_ntp_peer plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2006 sean finney <seanius@seanius.net> 6* Copyright (c) 2006 Sean Finney <seanius@seanius.net>
7* Copyright (c) 2007 nagios-plugins team 7* Copyright (c) 2006-2008 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$ 9* Last Modified: $Date$
10* 10*
11* Description: 11* Description:
12* 12*
13* This file contains the check_ntp_peer plugin 13* This file contains the check_ntp_peer plugin
14* 14*
15* This plugin checks an NTP server independent of any commandline 15* This plugin checks an NTP server independent of any commandline
16* programs or external libraries. 16* programs or external libraries.
17* 17*
18* Use this plugin to check the health of an NTP server. It supports 18* Use this plugin to check the health of an NTP server. It supports
19* checking the offset with the sync peer, the jitter and stratum. This 19* checking the offset with the sync peer, the jitter and stratum. This
20* plugin will not check the clock offset between the local host and NTP 20* plugin will not check the clock offset between the local host and NTP
21* server; please use check_ntp_time for that purpose. 21* server; please use check_ntp_time for that purpose.
22* 22*
23* 23*
24* License Information: 24* This program is free software: you can redistribute it and/or modify
25*
26* This program is free software; you can redistribute it and/or modify
27* it under the terms of the GNU General Public License as published by 25* it under the terms of the GNU General Public License as published by
28* the Free Software Foundation; either version 2 of the License, or 26* the Free Software Foundation, either version 3 of the License, or
29* (at your option) any later version. 27* (at your option) any later version.
30* 28*
31* This program is distributed in the hope that it will be useful, 29* This program is distributed in the hope that it will be useful,
32* but WITHOUT ANY WARRANTY; without even the implied warranty of 30* but WITHOUT ANY WARRANTY; without even the implied warranty of
33* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34* GNU General Public License for more details. 32* GNU General Public License for more details.
35* 33*
36* You should have received a copy of the GNU General Public License 34* You should have received a copy of the GNU General Public License
37* along with this program; if not, write to the Free Software 35* along with this program. If not, see <http://www.gnu.org/licenses/>.
38* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 36*
39 37* $Id$
40 $Id$ 38*
41
42*****************************************************************************/ 39*****************************************************************************/
43 40
44const char *progname = "check_ntp_peer"; 41const char *progname = "check_ntp_peer";
45const char *revision = "$Revision$"; 42const char *revision = "$Revision$";
46const char *copyright = "2007"; 43const char *copyright = "2006-2008";
47const char *email = "nagiosplug-devel@lists.sourceforge.net"; 44const char *email = "nagiosplug-devel@lists.sourceforge.net";
48 45
49#include "common.h" 46#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_ntp_time plugin 3* Nagios check_ntp_time plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2006 sean finney <seanius@seanius.net> 6* Copyright (c) 2006 Sean Finney <seanius@seanius.net>
7* Copyright (c) 2007 nagios-plugins team 7* Copyright (c) 2006-2008 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$ 9* Last Modified: $Date$
10* 10*
11* Description: 11* Description:
12* 12*
13* This file contains the check_ntp_time plugin 13* This file contains the check_ntp_time plugin
14* 14*
15* This plugin checks the clock offset between the local host and a 15* This plugin checks the clock offset between the local host and a
16* remote NTP server. It is independent of any commandline programs or 16* remote NTP server. It is independent of any commandline programs or
17* external libraries. 17* external libraries.
18* 18*
19* If you'd rather want to monitor an NTP server, please use 19* If you'd rather want to monitor an NTP server, please use
20* check_ntp_peer. 20* check_ntp_peer.
21* 21*
22* 22*
23* License Information: 23* This program is free software: you can redistribute it and/or modify
24*
25* This program is free software; you can redistribute it and/or modify
26* it under the terms of the GNU General Public License as published by 24* it under the terms of the GNU General Public License as published by
27* the Free Software Foundation; either version 2 of the License, or 25* the Free Software Foundation, either version 3 of the License, or
28* (at your option) any later version. 26* (at your option) any later version.
29* 27*
30* This program is distributed in the hope that it will be useful, 28* This program is distributed in the hope that it will be useful,
31* but WITHOUT ANY WARRANTY; without even the implied warranty of 29* but WITHOUT ANY WARRANTY; without even the implied warranty of
32* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33* GNU General Public License for more details. 31* GNU General Public License for more details.
34* 32*
35* You should have received a copy of the GNU General Public License 33* You should have received a copy of the GNU General Public License
36* along with this program; if not, write to the Free Software 34* along with this program. If not, see <http://www.gnu.org/licenses/>.
37* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 35*
38 36* $Id$
39 $Id$ 37*
40
41*****************************************************************************/ 38*****************************************************************************/
42 39
43const char *progname = "check_ntp_time"; 40const char *progname = "check_ntp_time";
44const char *revision = "$Revision$"; 41const char *revision = "$Revision$";
45const char *copyright = "2007"; 42const char *copyright = "2006-2008";
46const char *email = "nagiosplug-devel@lists.sourceforge.net"; 43const char *email = "nagiosplug-devel@lists.sourceforge.net";
47 44
48#include "common.h" 45#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 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_nwstat plugin 3* Nagios check_nwstat plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2006 nagios-plugins team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
10* Description: 10* Description:
11* 11*
12* This file contains the check_nwstat plugin 12* This file contains the check_nwstat plugin
13*
14* This plugin attempts to contact the MRTGEXT NLM running on a
15* Novell server to gather the requested system information.
16* 13*
17* 14* This plugin attempts to contact the MRTGEXT NLM running on a
18* License Information: 15* Novell server to gather the requested system information.
19* 16*
20* This program is free software; you can redistribute it and/or modify 17*
18* This program is free software: you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 19* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 20* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 21* (at your option) any later version.
24* 22*
25* This program is distributed in the hope that it will be useful, 23* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 24* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 26* GNU General Public License for more details.
29* 27*
30* You should have received a copy of the GNU General Public License 28* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 29* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 30*
33 31* $Id$
34 $Id$ 32*
35 33*****************************************************************************/
36******************************************************************************/
37 34
38const char *progname = "check_nwstat"; 35const char *progname = "check_nwstat";
39const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
40const char *copyright = "2000-2006"; 37const char *copyright = "2000-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 39
43#include "common.h" 40#include "common.h"