diff options
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r-- | plugins/check_ntp_peer.c | 57 |
1 files changed, 27 insertions, 30 deletions
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 | ||
44 | const char *progname = "check_ntp_peer"; | 41 | const char *progname = "check_ntp_peer"; |
45 | const char *revision = "$Revision$"; | 42 | const char *revision = "$Revision$"; |
46 | const char *copyright = "2007"; | 43 | const char *copyright = "2006-2008"; |
47 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 44 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
48 | 45 | ||
49 | #include "common.h" | 46 | #include "common.h" |