From: Jean Flach Date: Fri, 6 Mar 2015 11:14:09 +0000 (+0100) Subject: Update Window plugins' usage strings X-Git-Tag: v2.3.0~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b2bae6b632f274f1af87fe291058ced38ca96d;p=icinga2 Update Window plugins' usage strings --- diff --git a/plugins/check_disk.cpp b/plugins/check_disk.cpp index 988adb760..bb1d81482 100644 --- a/plugins/check_disk.cpp +++ b/plugins/check_disk.cpp @@ -142,7 +142,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& cout << desc; wprintf( L"\nIt will then output a string looking something like this:\n\n" - L"\tDISK WARNING 29GB|disk=29GB;50%%;5;0;120\n\n" + L"\tDISK WARNING 29GB | disk=29GB;50%%;5;0;120\n\n" L"\"DISK\" being the type of the check, \"WARNING\" the returned status\n" L"and \"23.8304%%\" is the returned value.\n" L"The performance data is found behind the \"|\", in order:\n" diff --git a/plugins/check_load.cpp b/plugins/check_load.cpp index 33e446a0a..b0fa3ff54 100644 --- a/plugins/check_load.cpp +++ b/plugins/check_load.cpp @@ -101,7 +101,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& cout << desc; wprintf( L"\nIt will then output a string looking something like this:\n\n" - L"\tLOAD WARNING 67%%|load=67%%;50%%;90%%;0;100\n\n" + L"\tLOAD WARNING 67%% | load=67%%;50%%;90%%;0;100\n\n" L"\"LOAD\" being the type of the check, \"WARNING\" the returned status\n" L"and \"67%%\" is the returned value.\n" L"The performance data is found behind the \"|\", in order:\n" diff --git a/plugins/check_network.cpp b/plugins/check_network.cpp index 075f205b7..dbed25d0a 100644 --- a/plugins/check_network.cpp +++ b/plugins/check_network.cpp @@ -109,7 +109,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& cout << desc; wprintf( L"\nIt will then output a string looking something like this:\n\n" - L"\tNETWORK WARNING 1131B/s|network=1131B/s;1000;7000;0\n\n" + L"\tNETWORK WARNING 1131B/s | network=1131B/s;1000;7000;0\n\n" L"\"DISK\" being the type of the check, \"WARNING\" the returned status\n" L"and \"1131B/s\" is the returned value.\n" L"The performance data is found behind the \"|\", in order:\n" diff --git a/plugins/check_ping.cpp b/plugins/check_ping.cpp index 8c878fc9c..99b7c8714 100644 --- a/plugins/check_ping.cpp +++ b/plugins/check_ping.cpp @@ -138,7 +138,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& L"\nIt will take at least timeout times number of pings to run\n" L"Then it will output a string looking something like this:\n\n" L"\tPING WARNING RTA: 72ms Packet loss: 20% | ping=72ms;40;80;71;77 pl=20%;20;50;0;100\n\n" - L"\"PING4\" being the type of the check, \"WARNING\" the returned status\n" + L"\"PING\" being the type of the check, \"WARNING\" the returned status\n" L"and \"RTA: 72ms Packet loss: 20%\" the relevant information.\n" L"The performance data is found behind the \"|\", in order:\n" L"returned value, warning threshold, critical threshold, minimal value and,\n" diff --git a/plugins/check_service.cpp b/plugins/check_service.cpp index a58d4e79d..5ff4af1df 100644 --- a/plugins/check_service.cpp +++ b/plugins/check_service.cpp @@ -101,7 +101,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& cout << desc; wprintf( L"\nIt will then output a string looking something like this:\n\n" - L"\tSERVICE CRITICAL NOT_RUNNING|service=4;!4;!4;1;7\n\n" + L"\tSERVICE CRITICAL NOT_RUNNING | service=4;!4;!4;1;7\n\n" L"\"SERVICE\" being the type of the check, \"CRITICAL\" the returned status\n" L"and \"1\" is the returned value.\n" L"A service is either running (Code 0x04) or not running (any other).\n" diff --git a/plugins/check_uptime.cpp b/plugins/check_uptime.cpp index 37606a54c..0dc0fde13 100644 --- a/plugins/check_uptime.cpp +++ b/plugins/check_uptime.cpp @@ -102,7 +102,7 @@ int parseArguments(int ac, wchar_t **av, po::variables_map& vm, printInfoStruct& cout << desc; wprintf( L"\nIt will then output a string looking something like this:\n\n" - L"\tUPTIME WARNING 712h|uptime=712h;700;1800;0\n\n" + L"\tUPTIME WARNING 712h | uptime=712h;700;1800;0\n\n" L"\"UPTIME\" being the type of the check, \"WARNING\" the returned status\n" L"and \"712h\" is the returned value.\n" L"The performance data is found behind the \"|\", in order:\n"