summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-18 19:36:48 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-18 19:36:48 (GMT)
commitf9394308c9c372bcf419a311c61ba420247ae613 (patch)
tree616e0bebcbe821703dff207f7f1b704c2deae349 /plugins/check_disk.c
parentcbbfed30eb01a702b2e61c0abcb64c834e73d654 (diff)
downloadmonitoring-plugins-f9394308c9c372bcf419a311c61ba420247ae613.tar.gz
updating help and usage and license
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1434 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c53
1 files changed, 33 insertions, 20 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 001800b..8a824c1 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -1,27 +1,40 @@
1/****************************************************************************** 1/******************************************************************************
2 2*
3 The Nagios Plugins are free software; you can redistribute them 3* Nagios check_disk plugin
4 and/or modify them under the terms of the GNU General Public 4*
5 License as published by the Free Software Foundation; either 5* License: GPL
6 version 2 of the License, or (at your option) any later version. 6* Copyright (c) 1999-2006 nagios-plugins team
7 7*
8 This program is distributed in the hope that it will be useful, 8* Last Modified: $Date$
9 but WITHOUT ANY WARRANTY; without even the implied warranty of 9*
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10* Description:
11 GNU General Public License for more details. 11*
12 12* This file contains the check_disk plugin
13 You should have received a copy of the GNU General Public License 13*
14 along with this program; if not, write to the Free Software 14* License Information:
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 15*
16 16* This program is free software; you can redistribute it and/or modify
17 $Id$ 17* it under the terms of the GNU General Public License as published by
18 18* the Free Software Foundation; either version 2 of the License, or
19* (at your option) any later version.
20*
21* This program is distributed in the hope that it will be useful,
22* but WITHOUT ANY WARRANTY; without even the implied warranty of
23* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24* GNU General Public License for more details.
25*
26* You should have received a copy of the GNU General Public License
27* along with this program; if not, write to the Free Software
28* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29*
30* $Id$
31*
19*****************************************************************************/ 32*****************************************************************************/
20 33
21const char *progname = "check_disk"; 34const char *progname = "check_disk";
22const char *program_name = "check_disk"; /* Required for coreutils libs */ 35const char *program_name = "check_disk"; /* Required for coreutils libs */
23const char *revision = "$Revision$"; 36const char *revision = "$Revision$";
24const char *copyright = "1999-2005"; 37const char *copyright = "1999-2006";
25const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
26 39
27 /* 40 /*
@@ -704,8 +717,8 @@ print_help (void)
704 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 717 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
705 printf (COPYRIGHT, copyright, email); 718 printf (COPYRIGHT, copyright, email);
706 719
707 printf (_("This plugin checks the amount of used disk space on a mounted file system")); 720 printf ("%s\n", _("This plugin checks the amount of used disk space on a mounted file system"));
708 printf (_("and generates an alert if free space is less than one of the threshold values")); 721 printf ("%s\n", _("and generates an alert if free space is less than one of the threshold values"));
709 722
710 printf ("\n\n"); 723 printf ("\n\n");
711 724