diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/mon.1 | 14 | ||||
| -rw-r--r-- | docs/mon.1.gz | bin | 6625 -> 6636 bytes | |||
| -rw-r--r-- | docs/mon.txt | 17 |
3 files changed, 15 insertions, 16 deletions
@@ -124,13 +124,13 @@ .\" ======================================================================== .\" .IX Title "MON 1" -.TH MON 1 "2015-01-02" "mon 3.0.1" "User Commands" +.TH MON 1 "2015-01-02" "mon 1.0.0" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" -mon \- A Humble Monitoring API Tool +mon \- A Humble Monitoring API Tool for https://github.com/Crapworks/RESTlos .SH "SYNOPSIS" .IX Header "SYNOPSIS" m is a synonym of the mon command. You can use either command, but m is shorter to type. @@ -260,7 +260,7 @@ will result in a query string /host?host_name=testfe01. All other operators Pre- Can be used to use perl regex to filter the fields. .Sp Example: - m get host where host_name matches 'mfad\-adfe\ed\ed\e.*\e.cinetic.de' + m get host where host_name matches 'server\ed\ed\e.*\e.cinetic.de' .IP "nmatches" 4 .IX Item "nmatches" Negation of matches. @@ -269,7 +269,7 @@ Negation of matches. The specific field must be exactly as specified. .Sp Example: - m get host where host_name eq 'mfad\-adfe10.example.com' + m get host where host_name eq 'server10.example.com' .IP "ne" 4 .IX Item "ne" Negation of eq @@ -285,7 +285,7 @@ retrieves all hosts with its host number lower than 10. Example: m get host where host_name gt 10 and host_name le 20 and host_name like server .Sp -retrieves all server hosts between 10 up to 20, which are mfad\-adfe{11..20} actually. +retrieves all server hosts between 10 up to 20, which are server{11..20} actually. .SS "And \s-1FORMAT\s0 can be:" .IX Subsection "And FORMAT can be:" .IP "A string" 4 @@ -432,13 +432,13 @@ The mon supports everything that the RESTlos \s-1API\s0 supports as valid \s-1JS Example: .PP .Vb 1 -\& [ "address", "172.19.184.14", "host_name", "mfad\-adfe01.example.com" ] +\& [ "address", "172.19.184.14", "host_name", "server01.example.com" ] .Ve .PP Will be interpreted by mon as .PP .Vb 1 -\& { "address" : "172.19.184.14", "host_name" : "mfad\-adfe01.example.com" } +\& { "address" : "172.19.184.14", "host_name" : "server01.example.com" } .Ve .PP and pushed this way into the \s-1API\s0. diff --git a/docs/mon.1.gz b/docs/mon.1.gz Binary files differindex 39568b8..3316317 100644 --- a/docs/mon.1.gz +++ b/docs/mon.1.gz diff --git a/docs/mon.txt b/docs/mon.txt index 0800619..34a2b27 100644 --- a/docs/mon.txt +++ b/docs/mon.txt @@ -1,5 +1,6 @@ NAME - mon - A Humble Monitoring API Tool + mon - A Humble Monitoring API Tool for + https://github.com/Crapworks/RESTlos SYNOPSIS m is a synonym of the mon command. You can use either command, but m is @@ -46,8 +47,8 @@ SYNOPSIS underscore (e.g. _WORKER). One exception is the 'edit' operation of mon, it always shows all the meta variables. - The meta switch makes mon to display also all meta vairables all - the time. + The meta switch makes mon to display also all meta vairables all the + time. --nocolor or -n By default mon prints out some text in colors. Use this switch to @@ -184,8 +185,8 @@ SYNOPSIS where host_name like testfe01b Notice: In double quotes you must escape the variable if you want to - use a mon variable. It is possible to use @ instead to avoid - cryptic escape sequences. + use a mon variable. It is possible to use @ instead to avoid cryptic + escape sequences. m update host set name = "$shell_expanded @host_name" where host_name like testfe01b @@ -259,15 +260,13 @@ JSON BACKUPS ZSH users can copy or include the following file to have shell auto completion: /usr/share/mon/contrib/zsh/_mon.zsh. You can add - /usr/share/mon/contrib/zsh to the FPATH variable and run compinit m - mon. + /usr/share/mon/contrib/zsh to the FPATH variable and run compinit m mon. There is nothing like that for the Bash atm. =head1 ZSH AUTO COMPLETION ZSH users can copy or include the following file to have shell auto completion: /usr/share/mon/contrib/zsh/_mon.zsh. You can add - /usr/share/mon/contrib/zsh to the FPATH variable and run compinit m - mon. + /usr/share/mon/contrib/zsh to the FPATH variable and run compinit m mon. There is nothing like that for the Bash atm. |
