diff options
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 53 |
1 files changed, 33 insertions, 20 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 001800b1..8a824c1f 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 | ||
21 | const char *progname = "check_disk"; | 34 | const char *progname = "check_disk"; |
22 | const char *program_name = "check_disk"; /* Required for coreutils libs */ | 35 | const char *program_name = "check_disk"; /* Required for coreutils libs */ |
23 | const char *revision = "$Revision$"; | 36 | const char *revision = "$Revision$"; |
24 | const char *copyright = "1999-2005"; | 37 | const char *copyright = "1999-2006"; |
25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 38 | const 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 | ||