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