[Nagiosplug-checkins] nagiosplug/plugins check_ide_smart.c,1.6,1.7

Stanley Hopcroft stanleyhopcroft at users.sourceforge.net
Tue Jan 25 04:44:02 CET 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3301

Modified Files:
	check_ide_smart.c 
Log Message:
Trivial text changes (print_help, commentary & -n option)

Index: check_ide_smart.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ide_smart.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- check_ide_smart.c	4 Jan 2005 00:16:48 -0000	1.6
+++ check_ide_smart.c	25 Jan 2005 12:43:45 -0000	1.7
@@ -6,9 +6,9 @@
  *
  *  Notes:
  *	   ide-smart has the same functionality as before. Some return
- *	   values were changed, otherwise the --net-saint option was added.
+ *	   values were changed, otherwise the --nagios option was added.
  *
- *	   Run with:  check_ide-smart --net-saint [-d] <DRIVE>
+ *	   Run with:  check_ide-smart --nagios [-d] <DRIVE>
  *	   Where DRIVE is an IDE drive, ie. /dev/hda, /dev/hdb, /dev/hdc
  *
  *	     - Returns 0 on no errors
@@ -169,7 +169,7 @@
 		{"quiet-check", no_argument, 0, 'q'}, 
 		{"auto-on", no_argument, 0, '1'}, 
 		{"auto-off", no_argument, 0, '0'}, 
-		{"net-saint", no_argument, 0, 'n'}, 
+		{"nagios", no_argument, 0, 'n'}, 
 		{"help", no_argument, 0, 'h'}, 
 		{"version", no_argument, 0, 'V'}, {0, 0, 0, 0} 
 	};
@@ -497,6 +497,8 @@
 	printf ("Nagios feature - 1999 Robert Dale <rdale at digital-mission.com>\n");
 	printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar at lightside.dhis.org>\n");
 	printf (COPYRIGHT, copyright, email);
+
+	printf(_("This plugin checks this host's IDE hard drive through the (Linux specific) SMART command interface.\n\n"));
 	
 	printf ("\
 Usage: %s [DEVICE] [OPTION]\n\





More information about the Commits mailing list