diff options
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 49b40f9..8e7f6d0 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1,43 +1,40 @@ | |||
1 | /****************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_icmp plugin | 3 | * Nagios check_icmp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2007 nagios-plugins team | 6 | * Copyright (c) 2005-2008 Nagios Plugins Development Team |
7 | * | ||
8 | * Original Author : Andreas Ericsson <ae@op5.se> | 7 | * Original Author : Andreas Ericsson <ae@op5.se> |
9 | * | 8 | * |
10 | * Last Modified: $Date$ | 9 | * Last Modified: $Date$ |
11 | * | 10 | * |
12 | * Description: | 11 | * Description: |
13 | * | 12 | * |
14 | * This file contains the check_icmp plugin | 13 | * This file contains the check_icmp plugin |
15 | * | 14 | * |
16 | * Relevant RFC's: 792 (ICMP), 791 (IP) | 15 | * Relevant RFC's: 792 (ICMP), 791 (IP) |
17 | * | 16 | * |
18 | * This program was modeled somewhat after the check_icmp program, | 17 | * This program was modeled somewhat after the check_icmp program, |
19 | * which was in turn a hack of fping (www.fping.org) but has been | 18 | * which was in turn a hack of fping (www.fping.org) but has been |
20 | * completely rewritten since to generate higher precision rta values, | 19 | * completely rewritten since to generate higher precision rta values, |
21 | * and support several different modes as well as setting ttl to control. | 20 | * and support several different modes as well as setting ttl to control. |
22 | * redundant routes. The only remainders of fping is currently a few | 21 | * redundant routes. The only remainders of fping is currently a few |
23 | * function names. | 22 | * function names. |
24 | * | 23 | * |
25 | * License Information: | 24 | * |
26 | * | 25 | * This program is free software: you can redistribute it and/or modify |
27 | * This program is free software; you can redistribute it and/or modify | ||
28 | * it under the terms of the GNU General Public License as published by | 26 | * it under the terms of the GNU General Public License as published by |
29 | * the Free Software Foundation; either version 2 of the License, or | 27 | * the Free Software Foundation, either version 3 of the License, or |
30 | * (at your option) any later version. | 28 | * (at your option) any later version. |
31 | * | 29 | * |
32 | * This program is distributed in the hope that it will be useful, | 30 | * This program is distributed in the hope that it will be useful, |
33 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 31 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
34 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 32 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
35 | * GNU General Public License for more details. | 33 | * GNU General Public License for more details. |
36 | * | 34 | * |
37 | * You should have received a copy of the GNU General Public License | 35 | * You should have received a copy of the GNU General Public License |
38 | * along with this program; if not, write to the Free Software | 36 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
39 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 37 | * |
40 | * | ||
41 | * $Id$ | 38 | * $Id$ |
42 | * | 39 | * |
43 | *****************************************************************************/ | 40 | *****************************************************************************/ |
@@ -46,7 +43,7 @@ | |||
46 | /* char *progname = "check_icmp"; */ | 43 | /* char *progname = "check_icmp"; */ |
47 | char *progname; | 44 | char *progname; |
48 | const char *revision = "$Revision$"; | 45 | const char *revision = "$Revision$"; |
49 | const char *copyright = "2005-2007"; | 46 | const char *copyright = "2005-2008"; |
50 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 47 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
51 | 48 | ||
52 | /** nagios plugins basic includes */ | 49 | /** nagios plugins basic includes */ |