diff options
Diffstat (limited to 'plugins/check_ntp_time.c')
-rw-r--r-- | plugins/check_ntp_time.c | 55 |
1 files changed, 26 insertions, 29 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 11a0eced..85e11771 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 | ||
43 | const char *progname = "check_ntp_time"; | 40 | const char *progname = "check_ntp_time"; |
44 | const char *revision = "$Revision$"; | 41 | const char *revision = "$Revision$"; |
45 | const char *copyright = "2007"; | 42 | const char *copyright = "2006-2008"; |
46 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 43 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
47 | 44 | ||
48 | #include "common.h" | 45 | #include "common.h" |