summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 (GMT)
commit6df5e5c4cd1457b688cc881ed91230b7c59e0eb0 (patch)
tree72acf7a209ce13a01cf2ee0a542cffbfc613a49d
parent81b268b078f31329610ec1b9b8fff15d92574a48 (diff)
downloadmonitoring-plugins-6df5e5c4cd1457b688cc881ed91230b7c59e0eb0.tar.gz
spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@818 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--contrib/check_dhcp.c2
-rw-r--r--contrib/check_procl.sh2
-rw-r--r--plugins/check_snmp.c2
-rw-r--r--plugins/negate.c2
-rw-r--r--plugins/netutils.c4
-rw-r--r--plugins/urlize.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/contrib/check_dhcp.c b/contrib/check_dhcp.c
index 2aea579..7aa87ac 100644
--- a/contrib/check_dhcp.c
+++ b/contrib/check_dhcp.c
@@ -470,7 +470,7 @@ int receive_dhcp_packet(void *buffer, int buffer_size, int sock, int timeout, st
470 /* make sure some data has arrived */ 470 /* make sure some data has arrived */
471 if(!FD_ISSET(sock,&readfds)){ 471 if(!FD_ISSET(sock,&readfds)){
472#ifdef DEBUG 472#ifdef DEBUG
473 printf("No (more) data recieved\n"); 473 printf("No (more) data received\n");
474#endif 474#endif
475 return ERROR; 475 return ERROR;
476 } 476 }
diff --git a/contrib/check_procl.sh b/contrib/check_procl.sh
index b1793ad..0db6240 100644
--- a/contrib/check_procl.sh
+++ b/contrib/check_procl.sh
@@ -397,4 +397,4 @@ else
397fi 397fi
398 398
399# Hey what are we doing here ??? 399# Hey what are we doing here ???
400exit 3 \ No newline at end of file 400exit 3
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 2db4ecf..4f962a2 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -392,7 +392,7 @@ main (int argc, char **argv)
392 if (found == 0) 392 if (found == 0)
393 terminate 393 terminate
394 (STATE_UNKNOWN, 394 (STATE_UNKNOWN,
395 "%s problem - No data recieved from host\nCMD: %s\n", 395 "%s problem - No data received from host\nCMD: %s\n",
396 label, command_line); 396 label, command_line);
397 397
398 /* WARNING if output found on stderr */ 398 /* WARNING if output found on stderr */
diff --git a/plugins/negate.c b/plugins/negate.c
index 0b0018f..2af6301 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -147,7 +147,7 @@ main (int argc, char **argv)
147 147
148 if (!found) 148 if (!found)
149 terminate (STATE_UNKNOWN,\ 149 terminate (STATE_UNKNOWN,\
150 "%s problem - No data recieved from host\nCMD: %s\n",\ 150 "%s problem - No data received from host\nCMD: %s\n",\
151 argv[0], command_line); 151 argv[0], command_line);
152 152
153 /* close the pipe */ 153 /* close the pipe */
diff --git a/plugins/netutils.c b/plugins/netutils.c
index e5d3528..32d10b4 100644
--- a/plugins/netutils.c
+++ b/plugins/netutils.c
@@ -138,7 +138,7 @@ process_tcp_request2 (char *server_address,
138 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */ 138 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */
139 if (!recv_length) { 139 if (!recv_length) {
140 strcpy (recv_buffer, ""); 140 strcpy (recv_buffer, "");
141 printf ("No data was recieved from host!\n"); 141 printf ("No data was received from host!\n");
142 result = STATE_WARNING; 142 result = STATE_WARNING;
143 } 143 }
144 else { /* this one failed, but previous ones worked */ 144 else { /* this one failed, but previous ones worked */
@@ -210,7 +210,7 @@ process_request (char *server_address,
210 /* make sure some data has arrived */ 210 /* make sure some data has arrived */
211 if (!FD_ISSET (sd, &readfds)) { 211 if (!FD_ISSET (sd, &readfds)) {
212 strcpy (recv_buffer, ""); 212 strcpy (recv_buffer, "");
213 printf ("No data was recieved from host!\n"); 213 printf ("No data was received from host!\n");
214 result = STATE_WARNING; 214 result = STATE_WARNING;
215 } 215 }
216 216
diff --git a/plugins/urlize.c b/plugins/urlize.c
index 2d33a8b..5ef6f5d 100644
--- a/plugins/urlize.c
+++ b/plugins/urlize.c
@@ -102,7 +102,7 @@ main (int argc, char **argv)
102 } 102 }
103 103
104 if (!found) { 104 if (!found) {
105 printf ("%s problem - No data recieved from host\nCMD: %s\n</A>\n", argv[0], 105 printf ("%s problem - No data received from host\nCMD: %s\n</A>\n", argv[0],
106 cmd); 106 cmd);
107 exit (STATE_UNKNOWN); 107 exit (STATE_UNKNOWN);
108 } 108 }