4
0
Эх сурвалжийг харах

plugins: fix codespell issues

Mario Trangoni 7 жил өмнө
parent
commit
a2387a371b

+ 2 - 2
plugins/check_disk.c

@@ -549,7 +549,7 @@ process_arguments (int argc, char **argv)
 
 
     /* Awful mistake where the range values do not make sense. Normally,
     /* Awful mistake where the range values do not make sense. Normally,
        you alert if the value is within the range, but since we are using
        you alert if the value is within the range, but since we are using
-       freespace, we have to alert if outside the range. Thus we artifically
+       freespace, we have to alert if outside the range. Thus we artificially
        force @ at the beginning of the range, so that it is backwards compatible
        force @ at the beginning of the range, so that it is backwards compatible
     */
     */
     case 'c':                 /* critical threshold */
     case 'c':                 /* critical threshold */
@@ -1049,7 +1049,7 @@ get_path_stats (struct parameter_list *p, struct fs_usage *fsp) {
   p->available_to_root = fsp->fsu_bfree;
   p->available_to_root = fsp->fsu_bfree;
   p->used = fsp->fsu_blocks - fsp->fsu_bfree;
   p->used = fsp->fsu_blocks - fsp->fsu_bfree;
   if (freespace_ignore_reserved) {
   if (freespace_ignore_reserved) {
-    /* option activated : we substract the root-reserved space from the total */
+    /* option activated : we subtract the root-reserved space from the total */
     p->total = fsp->fsu_blocks - p->available_to_root + p->available;
     p->total = fsp->fsu_blocks - p->available_to_root + p->available;
   } else {
   } else {
     /* default behaviour : take all the blocks into account */
     /* default behaviour : take all the blocks into account */

+ 1 - 1
plugins/check_dns.c

@@ -95,7 +95,7 @@ main (int argc, char **argv)
 {
 {
   char *command_line = NULL;
   char *command_line = NULL;
   char input_buffer[MAX_INPUT_BUFFER];
   char input_buffer[MAX_INPUT_BUFFER];
-  char *address = NULL; /* comma seperated str with addrs/ptrs (sorted) */
+  char *address = NULL; /* comma separated str with addrs/ptrs (sorted) */
   char **addresses = NULL;
   char **addresses = NULL;
   int n_addresses = 0;
   int n_addresses = 0;
   char *msg = NULL;
   char *msg = NULL;

+ 2 - 2
plugins/check_fping.c

@@ -71,7 +71,7 @@ int wrta_p = FALSE;
 int
 int
 main (int argc, char **argv)
 main (int argc, char **argv)
 {
 {
-/* normaly should be  int result = STATE_UNKNOWN; */
+/* normally should be  int result = STATE_UNKNOWN; */
 
 
   int status = STATE_UNKNOWN;
   int status = STATE_UNKNOWN;
   int result = 0;
   int result = 0;
@@ -184,7 +184,7 @@ textscan (char *buf)
   int status = STATE_UNKNOWN;
   int status = STATE_UNKNOWN;
 
 
   if (strstr (buf, "not found")) {
   if (strstr (buf, "not found")) {
-    die (STATE_CRITICAL, _("FPING UNKNOW - %s not found\n"), server_name);
+    die (STATE_CRITICAL, _("FPING UNKNOWN - %s not found\n"), server_name);
 
 
   }
   }
   else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) {
   else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) {

+ 2 - 2
plugins/check_http.c

@@ -1075,7 +1075,7 @@ check_http (void)
     }
     }
 
 
     /* Inform server we accept any MIME type response
     /* Inform server we accept any MIME type response
-     * TODO: Take an arguement to determine what type(s) to accept,
+     * TODO: Take an argument to determine what type(s) to accept,
      * so that we can alert if a response is of an invalid type.
      * so that we can alert if a response is of an invalid type.
     */
     */
     if (!have_accept)
     if (!have_accept)
@@ -1781,7 +1781,7 @@ print_help (void)
     printf ("%s\n", _("Notes:"));
     printf ("%s\n", _("Notes:"));
     printf (" %s\n", _("This plugin will attempt to open an HTTP connection with the host."));
     printf (" %s\n", _("This plugin will attempt to open an HTTP connection with the host."));
     printf (" %s\n", _("Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL"));
     printf (" %s\n", _("Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL"));
-    printf (" %s\n", _("other errors return STATE_UNKNOWN.  Successful connects, but incorrect reponse"));
+    printf (" %s\n", _("other errors return STATE_UNKNOWN.  Successful connects, but incorrect response"));
     printf (" %s\n", _("messages from the host result in STATE_WARNING return values.  If you are"));
     printf (" %s\n", _("messages from the host result in STATE_WARNING return values.  If you are"));
     printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN"));
     printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN"));
     printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument."));
     printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument."));

+ 3 - 3
plugins/check_ide_smart.c

@@ -281,7 +281,7 @@ main (int argc, char *argv[])
 		smart_read_values (fd, &values);
 		smart_read_values (fd, &values);
 		smart_read_thresholds (fd, &thresholds);
 		smart_read_thresholds (fd, &thresholds);
 		retval = nagios (&values, &thresholds);
 		retval = nagios (&values, &thresholds);
-		printf( _("-n, This flag is depricated, and will be removed in a future release. Nagios output is now the default.\n") );
+		printf( _("-n, This flag is deprecated, and will be removed in a future release. Nagios output is now the default.\n") );
 		break;
 		break;
 	default:
 	default:
 		smart_read_values (fd, &values);
 		smart_read_values (fd, &values);
@@ -304,7 +304,7 @@ get_offline_text (int status)
 			return offline_status_text[i].text;
 			return offline_status_text[i].text;
 		}
 		}
 	}
 	}
-	return "UNKNOW";
+	return "UNKNOWN";
 }
 }
 
 
 
 
@@ -439,7 +439,7 @@ nagios (values_t * p, thresholds_t * t)
 		status=STATE_OK;
 		status=STATE_OK;
 		break;
 		break;
 	default:
 	default:
-		printf (_("ERROR - Status '%d' unkown. %d/%d tests passed\n"), status,
+		printf (_("ERROR - Status '%d' unknown. %d/%d tests passed\n"), status,
 						passed, total);
 						passed, total);
 		status = STATE_UNKNOWN;
 		status = STATE_UNKNOWN;
 		break;
 		break;

+ 1 - 1
plugins/check_ldap.c

@@ -263,7 +263,7 @@ main (int argc, char *argv[])
 	if(entries_thresholds != NULL) {
 	if(entries_thresholds != NULL) {
 		if (verbose) {
 		if (verbose) {
 			printf ("entries found: %d\n", num_entries);
 			printf ("entries found: %d\n", num_entries);
-			print_thresholds("entry threasholds", entries_thresholds);
+			print_thresholds("entry thresholds", entries_thresholds);
 		}
 		}
 		status_entries = get_status(num_entries, entries_thresholds);
 		status_entries = get_status(num_entries, entries_thresholds);
 		if (status_entries == STATE_CRITICAL) {
 		if (status_entries == STATE_CRITICAL) {

+ 1 - 1
plugins/check_load.c

@@ -101,7 +101,7 @@ main (int argc, char **argv)
 	int i;
 	int i;
 	long numcpus;
 	long numcpus;
 
 
-	double la[3] = { 0.0, 0.0, 0.0 };	/* NetBSD complains about unitialized arrays */
+	double la[3] = { 0.0, 0.0, 0.0 };	/* NetBSD complains about uninitialized arrays */
 #ifndef HAVE_GETLOADAVG
 #ifndef HAVE_GETLOADAVG
 	char input_buffer[MAX_INPUT_BUFFER];
 	char input_buffer[MAX_INPUT_BUFFER];
 # ifdef HAVE_PROC_LOADAVG
 # ifdef HAVE_PROC_LOADAVG

+ 1 - 1
plugins/check_mrtg.c

@@ -356,7 +356,7 @@ print_help (void)
 	printf (" %s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to"));
 	printf (" %s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to"));
   printf (" %s\n", _("bandwidth usage.  (Use the check_mrtgtraf plugin for monitoring bandwidth)."));
   printf (" %s\n", _("bandwidth usage.  (Use the check_mrtgtraf plugin for monitoring bandwidth)."));
   printf (" %s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,"));
   printf (" %s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,"));
-  printf (" %s\n", _("packets/sec, etc.  I use MRTG in conjuction with the Novell NLM that allows"));
+  printf (" %s\n", _("packets/sec, etc.  I use MRTG in conjunction with the Novell NLM that allows"));
   printf (" %s\n", _("me to track processor utilization, user connections, drive space, etc and"));
   printf (" %s\n", _("me to track processor utilization, user connections, drive space, etc and"));
   printf (" %s\n\n", _("this plugin works well for monitoring that kind of data as well."));
   printf (" %s\n\n", _("this plugin works well for monitoring that kind of data as well."));
 
 

+ 1 - 1
plugins/check_mrtgtraf.c

@@ -375,7 +375,7 @@ print_help (void)
   printf (" %s\n", "-c, --critical");
   printf (" %s\n", "-c, --critical");
   printf ("    %s\n", _("Critical threshold pair <incoming>,<outgoing>"));
   printf ("    %s\n", _("Critical threshold pair <incoming>,<outgoing>"));
   printf (" %s\n", _("-v, --verbose"));
   printf (" %s\n", _("-v, --verbose"));
-  printf ("    %s\n", _("Verbose output durring plugin runtime."));
+  printf ("    %s\n", _("Verbose output during plugin runtime."));
 
 
   printf ("\n");
   printf ("\n");
   printf ("%s\n", _("Notes:"));
   printf ("%s\n", _("Notes:"));

+ 7 - 7
plugins/check_ntp.c

@@ -10,7 +10,7 @@
 * 
 * 
 * This file contains the check_ntp plugin
 * This file contains the check_ntp plugin
 * 
 * 
-* This plugin to check ntp servers independant of any commandline
+* This plugin to check ntp servers independent of any commandline
 * programs or external libraries.
 * programs or external libraries.
 * 
 * 
 * 
 * 
@@ -79,7 +79,7 @@ typedef struct {
 /* this structure holds data about results from querying offset from a peer */
 /* this structure holds data about results from querying offset from a peer */
 typedef struct {
 typedef struct {
 	time_t waiting;         /* ts set when we started waiting for a response */
 	time_t waiting;         /* ts set when we started waiting for a response */
-	int num_responses;      /* number of successfully recieved responses */
+	int num_responses;      /* number of successfully received responses */
 	uint8_t stratum;        /* copied verbatim from the ntp_message */
 	uint8_t stratum;        /* copied verbatim from the ntp_message */
 	double rtdelay;         /* converted from the ntp_message */
 	double rtdelay;         /* converted from the ntp_message */
 	double rtdisp;          /* converted from the ntp_message */
 	double rtdisp;          /* converted from the ntp_message */
@@ -100,7 +100,7 @@ typedef struct {
 	                        /* NB: not necessarily NULL terminated! */
 	                        /* NB: not necessarily NULL terminated! */
 } ntp_control_message;
 } ntp_control_message;
 
 
-/* this is an association/status-word pair found in control packet reponses */
+/* this is an association/status-word pair found in control packet responses */
 typedef struct {
 typedef struct {
 	uint16_t assoc;
 	uint16_t assoc;
 	uint16_t status;
 	uint16_t status;
@@ -548,7 +548,7 @@ double jitter_request(const char *host, int *status){
 		DBG(print_ntp_control_message(&req));
 		DBG(print_ntp_control_message(&req));
 		/* Attempt to read the largest size packet possible */
 		/* Attempt to read the largest size packet possible */
 		req.count=htons(MAX_CM_SIZE);
 		req.count=htons(MAX_CM_SIZE);
-		DBG(printf("recieving READSTAT response"))
+		DBG(printf("receiving READSTAT response"))
 		read(conn, &req, SIZEOF_NTPCM(req));
 		read(conn, &req, SIZEOF_NTPCM(req));
 		DBG(print_ntp_control_message(&req));
 		DBG(print_ntp_control_message(&req));
 		/* Each peer identifier is 4 bytes in the data section, which
 		/* Each peer identifier is 4 bytes in the data section, which
@@ -575,7 +575,7 @@ double jitter_request(const char *host, int *status){
 			}
 			}
 		}
 		}
 	}
 	}
-	if(verbose) printf("%d candiate peers available\n", num_candidates);
+	if(verbose) printf("%d candidate peers available\n", num_candidates);
 	if(verbose && syncsource_found) printf("synchronization source found\n");
 	if(verbose && syncsource_found) printf("synchronization source found\n");
 	if(! syncsource_found){
 	if(! syncsource_found){
 		*status = STATE_UNKNOWN;
 		*status = STATE_UNKNOWN;
@@ -597,7 +597,7 @@ double jitter_request(const char *host, int *status){
 				/* By spec, putting the variable name "jitter"  in the request
 				/* By spec, putting the variable name "jitter"  in the request
 				 * should cause the server to provide _only_ the jitter value.
 				 * should cause the server to provide _only_ the jitter value.
 				 * thus reducing net traffic, guaranteeing us only a single
 				 * thus reducing net traffic, guaranteeing us only a single
-				 * datagram in reply, and making intepretation much simpler
+				 * datagram in reply, and making interpretation much simpler
 				 */
 				 */
 				/* Older servers doesn't know what jitter is, so if we get an
 				/* Older servers doesn't know what jitter is, so if we get an
 				 * error on the first pass we redo it with "dispersion" */
 				 * error on the first pass we redo it with "dispersion" */
@@ -608,7 +608,7 @@ double jitter_request(const char *host, int *status){
 				DBG(print_ntp_control_message(&req));
 				DBG(print_ntp_control_message(&req));
 
 
 				req.count = htons(MAX_CM_SIZE);
 				req.count = htons(MAX_CM_SIZE);
-				DBG(printf("recieving READVAR response...\n"));
+				DBG(printf("receiving READVAR response...\n"));
 				read(conn, &req, SIZEOF_NTPCM(req));
 				read(conn, &req, SIZEOF_NTPCM(req));
 				DBG(print_ntp_control_message(&req));
 				DBG(print_ntp_control_message(&req));
 
 

+ 4 - 4
plugins/check_ntp_peer.c

@@ -86,7 +86,7 @@ typedef struct {
 	                        /* NB: not necessarily NULL terminated! */
 	                        /* NB: not necessarily NULL terminated! */
 } ntp_control_message;
 } ntp_control_message;
 
 
-/* this is an association/status-word pair found in control packet reponses */
+/* this is an association/status-word pair found in control packet responses */
 typedef struct {
 typedef struct {
 	uint16_t assoc;
 	uint16_t assoc;
 	uint16_t status;
 	uint16_t status;
@@ -245,7 +245,7 @@ int ntp_request(const char *host, double *offset, int *offset_result, double *ji
 		do {
 		do {
 			/* Attempt to read the largest size packet possible */
 			/* Attempt to read the largest size packet possible */
 			req.count=htons(MAX_CM_SIZE);
 			req.count=htons(MAX_CM_SIZE);
-			DBG(printf("recieving READSTAT response"))
+			DBG(printf("receiving READSTAT response"))
 			if(read(conn, &req, SIZEOF_NTPCM(req)) == -1)
 			if(read(conn, &req, SIZEOF_NTPCM(req)) == -1)
 				die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n");
 				die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n");
 			DBG(print_ntp_control_message(&req));
 			DBG(print_ntp_control_message(&req));
@@ -306,7 +306,7 @@ int ntp_request(const char *host, double *offset, int *offset_result, double *ji
 				/* Putting the wanted variable names in the request
 				/* Putting the wanted variable names in the request
 				 * cause the server to provide _only_ the requested values.
 				 * cause the server to provide _only_ the requested values.
 				 * thus reducing net traffic, guaranteeing us only a single
 				 * thus reducing net traffic, guaranteeing us only a single
-				 * datagram in reply, and making intepretation much simpler
+				 * datagram in reply, and making interpretation much simpler
 				 */
 				 */
 				/* Older servers doesn't know what jitter is, so if we get an
 				/* Older servers doesn't know what jitter is, so if we get an
 				 * error on the first pass we redo it with "dispersion" */
 				 * error on the first pass we redo it with "dispersion" */
@@ -585,7 +585,7 @@ int main(int argc, char *argv[]){
 	/* set socket timeout */
 	/* set socket timeout */
 	alarm (timeout_interval);
 	alarm (timeout_interval);
 
 
-	/* This returns either OK or WARNING (See comment preceeding ntp_request) */
+	/* This returns either OK or WARNING (See comment preceding ntp_request) */
 	result = ntp_request(server_address, &offset, &offset_result, &jitter, &stratum, &num_truechimers);
 	result = ntp_request(server_address, &offset, &offset_result, &jitter, &stratum, &num_truechimers);
 
 
 	if(offset_result == STATE_UNKNOWN) {
 	if(offset_result == STATE_UNKNOWN) {

+ 2 - 2
plugins/check_ntp_time.c

@@ -81,7 +81,7 @@ typedef struct {
 typedef struct {
 typedef struct {
 	time_t waiting;         /* ts set when we started waiting for a response */
 	time_t waiting;         /* ts set when we started waiting for a response */
 	int connected;          /* don't try to "write()" if "connect()" fails */
 	int connected;          /* don't try to "write()" if "connect()" fails */
-	int num_responses;      /* number of successfully recieved responses */
+	int num_responses;      /* number of successfully received responses */
 	uint8_t stratum;        /* copied verbatim from the ntp_message */
 	uint8_t stratum;        /* copied verbatim from the ntp_message */
 	double rtdelay;         /* converted from the ntp_message */
 	double rtdelay;         /* converted from the ntp_message */
 	double rtdisp;          /* converted from the ntp_message */
 	double rtdisp;          /* converted from the ntp_message */
@@ -639,7 +639,7 @@ void print_help(void){
 	printf("%s\n", _("Notes:"));
 	printf("%s\n", _("Notes:"));
 	printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use"));
 	printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use"));
 	printf(" %s\n", _("check_ntp_peer."));
 	printf(" %s\n", _("check_ntp_peer."));
-	printf(" %s\n", _("--time-offset is usefull for compensating for servers with known"));
+	printf(" %s\n", _("--time-offset is useful for compensating for servers with known"));
 	printf(" %s\n", _("and expected clock skew."));
 	printf(" %s\n", _("and expected clock skew."));
 	printf("\n");
 	printf("\n");
 	printf(UT_THRESHOLDS_NOTES);
 	printf(UT_THRESHOLDS_NOTES);

+ 2 - 2
plugins/check_pgsql.c

@@ -91,7 +91,7 @@ int verbose = 0;
 
 
 /******************************************************************************
 /******************************************************************************
 
 
-The (psuedo?)literate programming XML is contained within \@\@\- <XML> \-\@\@
+The (pseudo?)literate programming XML is contained within \@\@\- <XML> \-\@\@
 tags in the comments. With in the tags, the XML is assembled sequentially.
 tags in the comments. With in the tags, the XML is assembled sequentially.
 You can define entities in tags. You also have all the #defines available as
 You can define entities in tags. You also have all the #defines available as
 entities.
 entities.
@@ -562,7 +562,7 @@ print_help (void)
 
 
 	printf (" %s\n", _("Typically, the nagios user (unless the --logname option is used) should be"));
 	printf (" %s\n", _("Typically, the nagios user (unless the --logname option is used) should be"));
 	printf (" %s\n", _("able to connect to the database without a password. The plugin can also send"));
 	printf (" %s\n", _("able to connect to the database without a password. The plugin can also send"));
-	printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password."));
+	printf (" %s\n", _("a password, but no effort is made to obscure or encrypt the password."));
 
 
 	printf (UT_SUPPORT);
 	printf (UT_SUPPORT);
 }
 }

+ 1 - 1
plugins/check_procs.c

@@ -837,7 +837,7 @@ print_help (void)
   printf (" %s\n", "-C, --command=COMMAND");
   printf (" %s\n", "-C, --command=COMMAND");
   printf ("   %s\n", _("Only scan for exact matches of COMMAND (without path)."));
   printf ("   %s\n", _("Only scan for exact matches of COMMAND (without path)."));
   printf (" %s\n", "-C, --exclude-process");
   printf (" %s\n", "-C, --exclude-process");
-  printf ("   %s\n", _("Exclude processes which match this comma seperated list"));
+  printf ("   %s\n", _("Exclude processes which match this comma separated list"));
   printf (" %s\n", "-k, --no-kthreads");
   printf (" %s\n", "-k, --no-kthreads");
   printf ("   %s\n", _("Only scan for non kernel threads (works on Linux only)."));
   printf ("   %s\n", _("Only scan for non kernel threads (works on Linux only)."));
   printf (" %s\n", "-g, --cgroup-hierarchy");
   printf (" %s\n", "-g, --cgroup-hierarchy");

+ 2 - 2
plugins/check_radius.c

@@ -107,7 +107,7 @@ ENV *env = NULL;
 
 
 /******************************************************************************
 /******************************************************************************
 
 
-The (psuedo?)literate programming XML is contained within \@\@\- <XML> \-\@\@
+The (pseudo?)literate programming XML is contained within \@\@\- <XML> \-\@\@
 tags in the comments. With in the tags, the XML is assembled sequentially.
 tags in the comments. With in the tags, the XML is assembled sequentially.
 You can define entities in tags. You also have all the #defines available as
 You can define entities in tags. You also have all the #defines available as
 entities.
 entities.
@@ -379,7 +379,7 @@ print_help (void)
 	printf (" %s\n", "-u, --username=STRING");
 	printf (" %s\n", "-u, --username=STRING");
   printf ("    %s\n", _("The user to authenticate"));
   printf ("    %s\n", _("The user to authenticate"));
   printf (" %s\n", "-p, --password=STRING");
   printf (" %s\n", "-p, --password=STRING");
-  printf ("    %s\n", _("Password for autentication (SECURITY RISK)"));
+  printf ("    %s\n", _("Password for authentication (SECURITY RISK)"));
   printf (" %s\n", "-n, --nas-id=STRING");
   printf (" %s\n", "-n, --nas-id=STRING");
   printf ("    %s\n", _("NAS identifier"));
   printf ("    %s\n", _("NAS identifier"));
   printf (" %s\n", "-N, --nas-ip-address=STRING");
   printf (" %s\n", "-N, --nas-ip-address=STRING");

+ 2 - 2
plugins/check_real.c

@@ -181,7 +181,7 @@ main (int argc, char **argv)
 
 
 		/* watch for the REAL connection string */
 		/* watch for the REAL connection string */
 		result = recv (sd, buffer, MAX_INPUT_BUFFER - 1, 0);
 		result = recv (sd, buffer, MAX_INPUT_BUFFER - 1, 0);
-		buffer[result] = '\0'; /* null terminate recieved buffer */
+		buffer[result] = '\0'; /* null terminate received buffer */
 
 
 		/* return a CRITICAL status if we couldn't read any data */
 		/* return a CRITICAL status if we couldn't read any data */
 		if (result == -1) {
 		if (result == -1) {
@@ -434,7 +434,7 @@ print_help (void)
 	printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host."));
 	printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host."));
   printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
   printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
   printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN.  Successful connects,"));
   printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN.  Successful connects,"));
-  printf ("%s\n", _("but incorrect reponse messages from the host result in STATE_WARNING return"));
+  printf ("%s\n", _("but incorrect response messages from the host result in STATE_WARNING return"));
   printf ("%s\n", _("values."));
   printf ("%s\n", _("values."));
 
 
 	printf (UT_SUPPORT);
 	printf (UT_SUPPORT);

+ 1 - 1
plugins/check_smtp.c

@@ -847,7 +847,7 @@ print_help (void)
 	printf("\n");
 	printf("\n");
 	printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
 	printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
   printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN.  Successful"));
   printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN.  Successful"));
-  printf ("%s\n", _("connects, but incorrect reponse messages from the host result in"));
+  printf ("%s\n", _("connects, but incorrect response messages from the host result in"));
   printf ("%s\n", _("STATE_WARNING return values."));
   printf ("%s\n", _("STATE_WARNING return values."));
 
 
 	printf (UT_SUPPORT);
 	printf (UT_SUPPORT);

+ 1 - 1
plugins/check_snmp.c

@@ -1255,7 +1255,7 @@ print_help (void)
 	printf (" %s\n", "--rate-multiplier");
 	printf (" %s\n", "--rate-multiplier");
 	printf ("    %s\n", _("Converts rate per second. For example, set to 60 to convert to per minute"));
 	printf ("    %s\n", _("Converts rate per second. For example, set to 60 to convert to per minute"));
 	printf (" %s\n", "--offset=OFFSET");
 	printf (" %s\n", "--offset=OFFSET");
-	printf ("    %s\n", _("Add/substract the specified OFFSET to numeric sensor data"));
+	printf ("    %s\n", _("Add/subtract the specified OFFSET to numeric sensor data"));
 
 
 	/* Tests Against Strings */
 	/* Tests Against Strings */
 	printf (" %s\n", "-s, --string=STRING");
 	printf (" %s\n", "-s, --string=STRING");

+ 1 - 1
plugins/check_tcp.c

@@ -124,7 +124,7 @@ main (int argc, char **argv)
 			SERVICE[i] = toupper(SERVICE[i]);
 			SERVICE[i] = toupper(SERVICE[i]);
 	}
 	}
 
 
-	/* set up a resonable buffer at first (will be realloc()'ed if
+	/* set up a reasonable buffer at first (will be realloc()'ed if
 	 * user specifies other options) */
 	 * user specifies other options) */
 	server_expect = calloc(sizeof(char *), 2);
 	server_expect = calloc(sizeof(char *), 2);