summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 01:11:01 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 01:11:01 (GMT)
commit230d67e18ad368773f2302485d0b55f50f654e3f (patch)
tree555c1d1dd92d7897e037303bf03f86b2de0f78b9 /plugins/check_game.c
parent2d1ba3e36b950f05832ea2bd595616fa6cd28c28 (diff)
downloadmonitoring-plugins-230d67e18ad368773f2302485d0b55f50f654e3f.tar.gz
changed Error: by CRITICAL -
more localization fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r--plugins/check_game.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 8b2a6c4..3a8b9f5 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -67,7 +67,7 @@ main (int argc, char **argv)
67 67
68// result = process_arguments (argc, argv); 68// result = process_arguments (argc, argv);
69 69
70 if (process_arguments (argc, argv) == ERROR) 70 if (process_arguments (argc, argv) != OK)
71 usage (_("check_game: could not parse arguments\n")); 71 usage (_("check_game: could not parse arguments\n"));
72 72
73/* if (result != OK) { 73/* if (result != OK) {
@@ -116,7 +116,7 @@ main (int argc, char **argv)
116 */ 116 */
117 117
118 if (!strncmp (input_buffer, "unknown option", 14)) { 118 if (!strncmp (input_buffer, "unknown option", 14)) {
119 printf (_("ERROR: Host type parameter incorrect!\n")); 119 printf (_("CRITICAL - Host type parameter incorrect!\n"));
120 result = STATE_CRITICAL; 120 result = STATE_CRITICAL;
121 return result; 121 return result;
122 } 122 }
@@ -136,15 +136,15 @@ main (int argc, char **argv)
136 } 136 }
137 137
138 if (strstr (ret[2], QSTAT_HOST_ERROR)) { 138 if (strstr (ret[2], QSTAT_HOST_ERROR)) {
139 printf ("ERROR: Host not found\n"); 139 printf ("CRITICAL - Host not found\n");
140 result = STATE_CRITICAL; 140 result = STATE_CRITICAL;
141 } 141 }
142 else if (strstr (ret[2], QSTAT_HOST_DOWN)) { 142 else if (strstr (ret[2], QSTAT_HOST_DOWN)) {
143 printf ("ERROR: Game server down or unavailable\n"); 143 printf ("CRITICAL - Game server down or unavailable\n");
144 result = STATE_CRITICAL; 144 result = STATE_CRITICAL;
145 } 145 }
146 else if (strstr (ret[2], QSTAT_HOST_TIMEOUT)) { 146 else if (strstr (ret[2], QSTAT_HOST_TIMEOUT)) {
147 printf ("ERROR: Game server timeout\n"); 147 printf ("CRITICAL - Game server timeout\n");
148 result = STATE_CRITICAL; 148 result = STATE_CRITICAL;
149 } 149 }
150 else { 150 else {