diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 01:11:01 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 01:11:01 +0000 |
commit | 230d67e18ad368773f2302485d0b55f50f654e3f (patch) | |
tree | 555c1d1dd92d7897e037303bf03f86b2de0f78b9 /plugins/check_game.c | |
parent | 2d1ba3e36b950f05832ea2bd595616fa6cd28c28 (diff) | |
download | monitoring-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index 8b2a6c42..3a8b9f57 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -67,7 +67,7 @@ main (int argc, char **argv) // result = process_arguments (argc, argv); - if (process_arguments (argc, argv) == ERROR) + if (process_arguments (argc, argv) != OK) usage (_("check_game: could not parse arguments\n")); /* if (result != OK) { @@ -116,7 +116,7 @@ main (int argc, char **argv) */ if (!strncmp (input_buffer, "unknown option", 14)) { - printf (_("ERROR: Host type parameter incorrect!\n")); + printf (_("CRITICAL - Host type parameter incorrect!\n")); result = STATE_CRITICAL; return result; } @@ -136,15 +136,15 @@ main (int argc, char **argv) } if (strstr (ret[2], QSTAT_HOST_ERROR)) { - printf ("ERROR: Host not found\n"); + printf ("CRITICAL - Host not found\n"); result = STATE_CRITICAL; } else if (strstr (ret[2], QSTAT_HOST_DOWN)) { - printf ("ERROR: Game server down or unavailable\n"); + printf ("CRITICAL - Game server down or unavailable\n"); result = STATE_CRITICAL; } else if (strstr (ret[2], QSTAT_HOST_TIMEOUT)) { - printf ("ERROR: Game server timeout\n"); + printf ("CRITICAL - Game server timeout\n"); result = STATE_CRITICAL; } else { |