diff options
-rw-r--r-- | plugins/check_ide_smart.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 33f2475..b5021fd 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -6,9 +6,9 @@ | |||
6 | * | 6 | * |
7 | * Notes: | 7 | * Notes: |
8 | * ide-smart has the same functionality as before. Some return | 8 | * ide-smart has the same functionality as before. Some return |
9 | * values were changed, otherwise the --net-saint option was added. | 9 | * values were changed, otherwise the --nagios option was added. |
10 | * | 10 | * |
11 | * Run with: check_ide-smart --net-saint [-d] <DRIVE> | 11 | * Run with: check_ide-smart --nagios [-d] <DRIVE> |
12 | * Where DRIVE is an IDE drive, ie. /dev/hda, /dev/hdb, /dev/hdc | 12 | * Where DRIVE is an IDE drive, ie. /dev/hda, /dev/hdb, /dev/hdc |
13 | * | 13 | * |
14 | * - Returns 0 on no errors | 14 | * - Returns 0 on no errors |
@@ -169,7 +169,7 @@ main (int argc, char *argv[]) | |||
169 | {"quiet-check", no_argument, 0, 'q'}, | 169 | {"quiet-check", no_argument, 0, 'q'}, |
170 | {"auto-on", no_argument, 0, '1'}, | 170 | {"auto-on", no_argument, 0, '1'}, |
171 | {"auto-off", no_argument, 0, '0'}, | 171 | {"auto-off", no_argument, 0, '0'}, |
172 | {"net-saint", no_argument, 0, 'n'}, | 172 | {"nagios", no_argument, 0, 'n'}, |
173 | {"help", no_argument, 0, 'h'}, | 173 | {"help", no_argument, 0, 'h'}, |
174 | {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} | 174 | {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} |
175 | }; | 175 | }; |
@@ -497,6 +497,8 @@ print_help (void) | |||
497 | printf ("Nagios feature - 1999 Robert Dale <rdale@digital-mission.com>\n"); | 497 | printf ("Nagios feature - 1999 Robert Dale <rdale@digital-mission.com>\n"); |
498 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); | 498 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); |
499 | printf (COPYRIGHT, copyright, email); | 499 | printf (COPYRIGHT, copyright, email); |
500 | |||
501 | printf(_("This plugin checks this host's IDE hard drive through the (Linux specific) SMART command interface.\n\n")); | ||
500 | 502 | ||
501 | printf ("\ | 503 | printf ("\ |
502 | Usage: %s [DEVICE] [OPTION]\n\ | 504 | Usage: %s [DEVICE] [OPTION]\n\ |