summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c51
1 files changed, 33 insertions, 18 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 29d28613..26543f4d 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -1,21 +1,36 @@
1/****************************************************************************** 1/******************************************************************************
2 check_ntp.c: utility to check ntp servers independant of any commandline 2*
3 programs or external libraries. 3* Nagios check_ntp plugin
4 original author: sean finney <seanius@seanius.net> 4*
5 ****************************************************************************** 5* License: GPL
6 This program is free software; you can redistribute it and/or modify 6* Copyright (c) 2006 sean finney <seanius@seanius.net>
7 it under the terms of the GNU General Public License as published by 7* Copyright (c) 2006 nagios-plugins team
8 the Free Software Foundation; either version 2 of the License, or 8*
9 (at your option) any later version. 9* Last Modified: $Date$
10 10*
11 This program is distributed in the hope that it will be useful, 11* Description:
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12*
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13* This file contains the check_ntp plugin
14 GNU General Public License for more details. 14*
15 15* This plugin to check ntp servers independant of any commandline
16 You should have received a copy of the GNU General Public License 16* programs or external libraries.
17 along with this program; if not, write to the Free Software 17*
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18*
19* License Information:
20*
21* This program is free software; you can redistribute it and/or modify
22* it under the terms of the GNU General Public License as published by
23* the Free Software Foundation; either version 2 of the License, or
24* (at your option) any later version.
25*
26* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details.
30*
31* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 34
20 $Id$ 35 $Id$
21 36
@@ -777,7 +792,7 @@ int main(int argc, char *argv[]){
777void print_help(void){ 792void print_help(void){
778 print_revision(progname, revision); 793 print_revision(progname, revision);
779 794
780 printf ("Copyright (c) 1999 Ethan Galstad\n"); 795 printf ("Copyright (c) 2006 Sean Finney\n");
781 printf (COPYRIGHT, copyright, email); 796 printf (COPYRIGHT, copyright, email);
782 797
783 printf ("%s\n", _("This plugin checks the selected ntp server")); 798 printf ("%s\n", _("This plugin checks the selected ntp server"));