From ad01b0781ee098c41e148f48c202aeb93e077ee1 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 18 Dec 2017 16:07:58 +0100 Subject: [PATCH 1/4] Fix typo "excpae" --- docs/docs/reference/check/CheckHelpers.md | 4 +-- docs/docs/reference/check/CheckLogFile.md | 4 +-- docs/docs/reference/check/CheckNSCP.md | 4 +-- docs/docs/reference/misc/CheckNet.md | 4 +-- docs/docs/reference/unix/CheckSystemUnix.md | 12 +++---- docs/docs/reference/windows/CheckDisk.md | 8 ++--- docs/docs/reference/windows/CheckEventLog.md | 4 +-- docs/docs/reference/windows/CheckSystem.md | 36 +++++++++---------- docs/docs/reference/windows/CheckTaskSched.md | 4 +-- docs/docs/reference/windows/CheckWMI.md | 4 +-- include/parsers/filter/cli_helper.hpp | 4 +-- 11 files changed, 44 insertions(+), 44 deletions(-) diff --git a/docs/docs/reference/check/CheckHelpers.md b/docs/docs/reference/check/CheckHelpers.md index f9ea00db9..3aa1000e5 100644 --- a/docs/docs/reference/check/CheckHelpers.md +++ b/docs/docs/reference/check/CheckHelpers.md @@ -580,7 +580,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `%(status): %(message) %(list)` @@ -602,7 +602,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `%(key) %(value) %(unit) %(warn) %(crit) %(min) %(max) ` diff --git a/docs/docs/reference/check/CheckLogFile.md b/docs/docs/reference/check/CheckLogFile.md index 450c08487..083fb73c8 100644 --- a/docs/docs/reference/check/CheckLogFile.md +++ b/docs/docs/reference/check/CheckLogFile.md @@ -134,7 +134,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${count}/${total} (${problem_list})` @@ -157,7 +157,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${column1}` diff --git a/docs/docs/reference/check/CheckNSCP.md b/docs/docs/reference/check/CheckNSCP.md index 3378b2b31..5f8c17e87 100644 --- a/docs/docs/reference/check/CheckNSCP.md +++ b/docs/docs/reference/check/CheckNSCP.md @@ -145,7 +145,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -167,7 +167,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${version} (${date})` diff --git a/docs/docs/reference/misc/CheckNet.md b/docs/docs/reference/misc/CheckNet.md index 7ccb23029..1b85b8639 100644 --- a/docs/docs/reference/misc/CheckNet.md +++ b/docs/docs/reference/misc/CheckNet.md @@ -125,7 +125,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${ok_count}/${count} (${problem_list})` @@ -149,7 +149,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${ip} Packet loss = ${loss}%, RTA = ${time}ms` diff --git a/docs/docs/reference/unix/CheckSystemUnix.md b/docs/docs/reference/unix/CheckSystemUnix.md index 2c69126ea..7be554b97 100644 --- a/docs/docs/reference/unix/CheckSystemUnix.md +++ b/docs/docs/reference/unix/CheckSystemUnix.md @@ -194,7 +194,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `${status}: ${list}` @@ -228,7 +228,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `${type} = ${used}` @@ -403,7 +403,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `${status}: ${list}` @@ -437,7 +437,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `${version} (${major}.${minor}.${build})` @@ -615,7 +615,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `${status}: ${list}` @@ -649,7 +649,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Deafult Value:* | `uptime: ${uptime}h, boot: ${boot} (UTC)` diff --git a/docs/docs/reference/windows/CheckDisk.md b/docs/docs/reference/windows/CheckDisk.md index d870c9ca3..31708eb6d 100644 --- a/docs/docs/reference/windows/CheckDisk.md +++ b/docs/docs/reference/windows/CheckDisk.md @@ -213,7 +213,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status} ${problem_list}` @@ -237,7 +237,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${drive_or_name}: ${used}/${size} used` @@ -455,7 +455,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${problem_count}/${count} files (${problem_list})` @@ -479,7 +479,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${name}` diff --git a/docs/docs/reference/windows/CheckEventLog.md b/docs/docs/reference/windows/CheckEventLog.md index c1fd3586e..463d1419d 100644 --- a/docs/docs/reference/windows/CheckEventLog.md +++ b/docs/docs/reference/windows/CheckEventLog.md @@ -329,7 +329,7 @@ Used to filter unique items (counted will still increase but messages will not r Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${count} message(s) ${problem_list}` @@ -353,7 +353,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${file} ${source} (${message})` diff --git a/docs/docs/reference/windows/CheckSystem.md b/docs/docs/reference/windows/CheckSystem.md index a8b164bff..1051b68aa 100644 --- a/docs/docs/reference/windows/CheckSystem.md +++ b/docs/docs/reference/windows/CheckSystem.md @@ -182,7 +182,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${problem_list}` @@ -205,7 +205,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${time}: ${load}%` @@ -390,7 +390,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -412,7 +412,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${type} = ${used}` @@ -548,7 +548,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -571,7 +571,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${name} >${sent} <${received} bps` @@ -737,7 +737,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -759,7 +759,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${version} (${major}.${minor}.${build})` @@ -940,7 +940,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -962,7 +962,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${name} ${used} (${size})` @@ -1187,7 +1187,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -1209,7 +1209,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${alias} = ${value}` @@ -1415,7 +1415,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${problem_list}` @@ -1439,7 +1439,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${exe}=${state}` @@ -1690,7 +1690,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${crit_list}, delayed (${warn_list})` @@ -1714,7 +1714,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${name}=${state} (${start_type})` @@ -1896,7 +1896,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${list}` @@ -1918,7 +1918,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `uptime: ${uptime}h, boot: ${boot} (UTC)` diff --git a/docs/docs/reference/windows/CheckTaskSched.md b/docs/docs/reference/windows/CheckTaskSched.md index e305a8eec..123a712b3 100644 --- a/docs/docs/reference/windows/CheckTaskSched.md +++ b/docs/docs/reference/windows/CheckTaskSched.md @@ -147,7 +147,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${status}: ${problem_list}` @@ -171,7 +171,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${folder}/${title}: ${exit_code} != 0` diff --git a/docs/docs/reference/windows/CheckWMI.md b/docs/docs/reference/windows/CheckWMI.md index 997ad24cf..a5a1f7b3c 100644 --- a/docs/docs/reference/windows/CheckWMI.md +++ b/docs/docs/reference/windows/CheckWMI.md @@ -183,7 +183,7 @@ TODO: obj ( key: value; key: value) obj (key:valuer;key:value) Top level syntax. Used to format the message to return can include text as well as special keywords which will include information from the checks. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `${list}` @@ -205,7 +205,7 @@ DEPRECATED! This is the syntax for when nothing matches the filter. Detail level syntax. Used to format each resulting item in the message. %(list) will be replaced with all the items formated by this syntax string in the top-syntax. -To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux). +To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux). *Default Value:* `%(line)` diff --git a/include/parsers/filter/cli_helper.hpp b/include/parsers/filter/cli_helper.hpp index bf105a98e..4e32ce7cc 100644 --- a/include/parsers/filter/cli_helper.hpp +++ b/include/parsers/filter/cli_helper.hpp @@ -318,11 +318,11 @@ namespace modern_filter { void add_syntax(const std::string &default_top_syntax, const std::string &default_detail_syntax, const std::string &default_perf_syntax, const std::string &default_empty_syntax, const std::string &default_ok_syntax) { std::string tk = "Top level syntax.\n" "Used to format the message to return can include text as well as special keywords which will include information from the checks.\n" - "To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux)."; + "To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux)."; std::string dk = "Detail level syntax.\n" "Used to format each resulting item in the message.\n" "%(list) will be replaced with all the items formated by this syntax string in the top-syntax.\n" - "To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to excpae on linux)."; + "To add a keyword to the message you can use two syntaxes either ${keyword} or %(keyword) (there is no difference between them apart from ${} can be difficult to escape on linux)."; std::string pk = "Performance alias syntax.\n" "This is the syntax for the base names of the performance data."; std::string ek = "Empty syntax.\n" From 38f341fcb520a112b693213eeba3e6d39768ed95 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 18 Dec 2017 16:21:38 +0100 Subject: [PATCH 2/4] Fix typo "systes" --- docs/docs/reference/check/CheckMKClient.md | 2 +- docs/docs/reference/client/NRDPClient.md | 2 +- docs/docs/reference/client/NRPEClient.md | 2 +- docs/docs/reference/client/SMTPClient.md | 2 +- docs/docs/reference/misc/WEBClient.md | 4 ++-- modules/CheckMKClient/module.json | 2 +- modules/NRDPClient/module.json | 2 +- modules/NRPEClient/module.json | 2 +- modules/NSCPClient/module.json | 2 +- modules/SMTPClient/module.json | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/docs/reference/check/CheckMKClient.md b/docs/docs/reference/check/CheckMKClient.md index cce37f489..a5e9805c4 100644 --- a/docs/docs/reference/check/CheckMKClient.md +++ b/docs/docs/reference/check/CheckMKClient.md @@ -1,6 +1,6 @@ # CheckMKClient -check_mk client can be used both from command line and from queries to check remote systes via check_mk +check_mk client can be used both from command line and from queries to check remote systems via check_mk diff --git a/docs/docs/reference/client/NRDPClient.md b/docs/docs/reference/client/NRDPClient.md index 094f19eb9..89e852219 100644 --- a/docs/docs/reference/client/NRDPClient.md +++ b/docs/docs/reference/client/NRDPClient.md @@ -1,6 +1,6 @@ # NRDPClient -NRDP client can be used both from command line and from queries to check remote systes via NRDP +NRDP client can be used both from command line and from queries to check remote systems via NRDP diff --git a/docs/docs/reference/client/NRPEClient.md b/docs/docs/reference/client/NRPEClient.md index 250e98878..2429567ae 100644 --- a/docs/docs/reference/client/NRPEClient.md +++ b/docs/docs/reference/client/NRPEClient.md @@ -1,6 +1,6 @@ # NRPEClient -NRPE client can be used both from command line and from queries to check remote systes via NRPE as well as configure the NRPE server +NRPE client can be used both from command line and from queries to check remote systems via NRPE as well as configure the NRPE server diff --git a/docs/docs/reference/client/SMTPClient.md b/docs/docs/reference/client/SMTPClient.md index e537d7590..715e214fe 100644 --- a/docs/docs/reference/client/SMTPClient.md +++ b/docs/docs/reference/client/SMTPClient.md @@ -1,6 +1,6 @@ # SMTPClient -SMTP client can be used both from command line and from queries to check remote systes via SMTP +SMTP client can be used both from command line and from queries to check remote systems via SMTP diff --git a/docs/docs/reference/misc/WEBClient.md b/docs/docs/reference/misc/WEBClient.md index 2fc5f82a8..1c2b2e150 100644 --- a/docs/docs/reference/misc/WEBClient.md +++ b/docs/docs/reference/misc/WEBClient.md @@ -1,10 +1,10 @@
.. module : : WEBClient
-
:synopsis: WEB client can be used both from command line and from queries to check remote systes via WEB(REST)
+
:synopsis: WEB client can be used both from command line and from queries to check remote systems via WEB(REST)
# :module:`WEBClient` --- WEBClient # -WEB client can be used both from command line and from queries to check remote systes via WEB(REST) +WEB client can be used both from command line and from queries to check remote systems via WEB(REST) **Queries (Overview)**: diff --git a/modules/CheckMKClient/module.json b/modules/CheckMKClient/module.json index b1b5a1ea8..ac4000bda 100644 --- a/modules/CheckMKClient/module.json +++ b/modules/CheckMKClient/module.json @@ -1,7 +1,7 @@ { "module" : { "title" : "check_mk Client", - "description" : "check_mk client can be used both from command line and from queries to check remote systes via check_mk", + "description" : "check_mk client can be used both from command line and from queries to check remote systems via check_mk", "name" : "CheckMKClient", "alias" : "check_mk", "version" : "auto" diff --git a/modules/NRDPClient/module.json b/modules/NRDPClient/module.json index 1b7cb0edb..8426eb561 100644 --- a/modules/NRDPClient/module.json +++ b/modules/NRDPClient/module.json @@ -1,7 +1,7 @@ { "module" : { "title" : "NRDP Client", - "description" : "NRDP client can be used both from command line and from queries to check remote systes via NRDP", + "description" : "NRDP client can be used both from command line and from queries to check remote systems via NRDP", "name" : "NRDPClient", "alias" : "nrdp", "version" : "auto" diff --git a/modules/NRPEClient/module.json b/modules/NRPEClient/module.json index 77a8d80ca..74e024dee 100644 --- a/modules/NRPEClient/module.json +++ b/modules/NRPEClient/module.json @@ -1,7 +1,7 @@ { "module" : { "title" : "NRPE Client", - "description" : "NRPE client can be used both from command line and from queries to check remote systes via NRPE as well as configure the NRPE server", + "description" : "NRPE client can be used both from command line and from queries to check remote systems via NRPE as well as configure the NRPE server", "name" : "NRPEClient", "alias" : "nrpe", "version" : "auto" diff --git a/modules/NSCPClient/module.json b/modules/NSCPClient/module.json index a17f804ac..6c9f15147 100644 --- a/modules/NSCPClient/module.json +++ b/modules/NSCPClient/module.json @@ -1,7 +1,7 @@ { "module" : { "title" : "NSCP Client", - "description" : "NSCP client can be used both from command line and from queries to check remote systes via NSCP (REST)", + "description" : "NSCP client can be used both from command line and from queries to check remote systems via NSCP (REST)", "name" : "NSCPClient", "alias" : "nscp", "version" : "auto" diff --git a/modules/SMTPClient/module.json b/modules/SMTPClient/module.json index 80d597bf6..4bea48ebc 100644 --- a/modules/SMTPClient/module.json +++ b/modules/SMTPClient/module.json @@ -1,7 +1,7 @@ { "module" : { "title" : "SMTP Client", - "description" : "SMTP client can be used both from command line and from queries to check remote systes via SMTP", + "description" : "SMTP client can be used both from command line and from queries to check remote systems via SMTP", "name" : "SMTPClient", "alias" : "smtp", "version" : "auto" From 17ba1e2027734bb374af158b01b95de148286a09 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 18 Dec 2017 16:48:09 +0100 Subject: [PATCH 3/4] Fix various typos --- build/python/fetchdeps.py | 2 +- changelog | 46 +++++++++---------- docs/docs/api/plugin.md | 2 +- docs/docs/api/rest/queries.md | 2 +- docs/docs/extending/index.md | 46 +++++++++---------- docs/docs/extending/python.md | 12 ++--- docs/docs/getting_started.md | 6 +-- docs/docs/howto/checks.md | 4 +- docs/docs/howto/counters.md | 2 +- docs/docs/index.md | 2 +- docs/docs/installing.md | 2 +- docs/docs/reference/check/CheckNSCP.md | 6 +-- docs/docs/reference/generic/LUAScript.md | 2 +- docs/docs/reference/generic/Scheduler.md | 2 +- docs/docs/reference/generic/SimpleCache.md | 2 +- .../reference/generic/SimpleFileWriter.md | 6 +-- docs/docs/reference/misc/CauseCrashes.md | 2 +- docs/docs/reference/unix/CheckSystemUnix.md | 4 +- docs/docs/reference/windows/CheckSystem.md | 18 ++++---- docs/docs/settings.md | 2 +- docs/docs/tutorial/index.md | 4 +- docs/samples/CheckEventLog_samples.md | 6 +-- .../CheckSystem_check_memory_samples.md | 2 +- .../CheckSystem_check_pagefile_samples.md | 4 +- docs/samples/CheckSystem_check_pdh_samples.md | 2 +- .../CheckSystem_check_service_samples.md | 2 +- modules/CauseCrashes/module.json | 2 +- modules/CheckEventLog/filter.cpp | 2 +- modules/CheckNSCP/module.json | 4 +- modules/CheckSystem/CheckSystem.cpp | 2 +- modules/CheckSystem/module.json | 4 +- modules/CheckSystemUnix/module.json | 2 +- modules/SimpleCache/SimpleCache.cpp | 2 +- modules/SimpleFileWriter/SimpleFileWriter.cpp | 6 +-- scripts/lua/test_ext_script.lua | 6 +-- scripts/lua/test_nrpe.lua | 6 +-- scripts/python/test_nrpe.py | 6 +-- scripts/python/test_nsca.py | 6 +-- scripts/python/test_nscp.py | 6 +-- service/cli_parser.cpp | 2 +- service/logger/simple_file_logger.cpp | 2 +- 41 files changed, 124 insertions(+), 124 deletions(-) diff --git a/build/python/fetchdeps.py b/build/python/fetchdeps.py index 61c2e0e88..e5dc8cf3c 100755 --- a/build/python/fetchdeps.py +++ b/build/python/fetchdeps.py @@ -332,4 +332,4 @@ def write_config(config, target): options.cmake_config = config['build.folder'] write_config(config, options.cmake_config) else: - print('WARN Since you did not specify --cmake-config we will not write the cmake config file so most likely this was not very usefull...') + print('WARN Since you did not specify --cmake-config we will not write the cmake config file so most likely this was not very useful...') diff --git a/changelog b/changelog index 3805cbaf6..cac5d41be 100644 --- a/changelog +++ b/changelog @@ -44,7 +44,7 @@ Hence forth change log can be found on github: https://github.com/mickem/nscp/re * Removed query from settings protobuf api as it was never used * CORE: Fixed listing unloaded modules by name * REST: Added POST of modules to upload them - * REST: Fixed execute_nagios support for plain text putput and fixed return code + * REST: Fixed execute_nagios support for plain text output and fixed return code * REST: Fixed segv when parsing privileges * WEBServer: Fixed output from nscp web install * zip-modules: fixed loading zip-modules without extensions @@ -76,8 +76,8 @@ Hence forth change log can be found on github: https://github.com/mickem/nscp/re * check_process: Fixed #494 empty status message * Events: Added proper event names * CheckEventLog added support for fetching xml - * REST: added privelages to query controller - * Fixed rendering issuein api docs + * REST: added privileges to query controller + * Fixed rendering issue in api docs 2017-11-11 Michael Medin * Added skeleton docs for the Python API @@ -154,7 +154,7 @@ Hence forth change log can be found on github: https://github.com/mickem/nscp/re * Added delete to CHeckExternalScritpts to delete scripts: nscp ext delete --script will delete the alias and nscp ext delete --script