summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_peer.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-30 10:53:47 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-30 10:53:47 +0000
commitfa4efcdf6df1096ff1f6740c7f44b213b47dc9d3 (patch)
tree0ed1a4147a920e10eae174c6d83118e8367aaa7d /plugins/check_ntp_peer.c
parent39c3f58cdc82297b305326be076aa3b50ecba73d (diff)
downloadmonitoring-plugins-fa4efcdf6df1096ff1f6740c7f44b213b47dc9d3.tar.gz
Bump plugins/ to GPLv3 (check_apt to check_nwstat)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r--plugins/check_ntp_peer.c57
1 files changed, 27 insertions, 30 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 806123b9..753b7b25 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
44const char *progname = "check_ntp_peer"; 41const char *progname = "check_ntp_peer";
45const char *revision = "$Revision$"; 42const char *revision = "$Revision$";
46const char *copyright = "2007"; 43const char *copyright = "2006-2008";
47const char *email = "nagiosplug-devel@lists.sourceforge.net"; 44const char *email = "nagiosplug-devel@lists.sourceforge.net";
48 45
49#include "common.h" 46#include "common.h"