summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c50
1 files changed, 24 insertions, 26 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 3530e71a..02754021 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1,46 +1,44 @@
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>