mirror of git://bitreich.org/reed-alert
[DOC] remove space before double colon
This commit is contained in:
parent
c1bb305f9d
commit
e09c25bcc9
28
README
28
README
|
@ -195,7 +195,7 @@ Check if the actual number of processes of the system exceeds a specific limit.
|
|||
> Set the limit that will trigger an alert when exceeded.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert number-of-processes :limit 200)`
|
||||
Example: `(=> alert number-of-processes :limit 200)`
|
||||
|
||||
|
||||
pid-running
|
||||
|
@ -205,7 +205,7 @@ Check if the PID number found in a .pid file is alive.
|
|||
> Set the path of the pid file. If $USER doesn't have permission to open it, return "file not found".
|
||||
:path "STRING"
|
||||
|
||||
Example : `(=> alert pid-running :path "/var/run/nginx.pid")`
|
||||
Example: `(=> alert pid-running :path "/var/run/nginx.pid")`
|
||||
|
||||
|
||||
disk-usage
|
||||
|
@ -218,7 +218,7 @@ Check if the disk-usage of a chosen partition does exceed a specific limit.
|
|||
> Set the limit that will trigger an alert when exceeded.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert disk-usage :path "/tmp" :limit 50)`
|
||||
Example: `(=> alert disk-usage :path "/tmp" :limit 50)`
|
||||
|
||||
|
||||
file-exists
|
||||
|
@ -228,7 +228,7 @@ Check if a file exists.
|
|||
> Set the path of the file to check.
|
||||
:path "STRING"
|
||||
|
||||
Example : `(=> alert file-exists :path "/var/postgresql/standby")`
|
||||
Example: `(=> alert file-exists :path "/var/postgresql/standby")`
|
||||
|
||||
|
||||
file-updated
|
||||
|
@ -241,7 +241,7 @@ Check if a file exists and has been updated since a defined time.
|
|||
> Set the limit in minutes since the last modification time before triggering an alert.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert file-updated :path "/var/log/nginx/access.log" :limit 60)`
|
||||
Example: `(=> alert file-updated :path "/var/log/nginx/access.log" :limit 60)`
|
||||
|
||||
|
||||
load-average-1
|
||||
|
@ -251,7 +251,7 @@ Check if the load average during the last minute exceeds a specific limit.
|
|||
> Set the limit not to exceed.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert load-average-1 :limit 2)`
|
||||
Example: `(=> alert load-average-1 :limit 2)`
|
||||
|
||||
|
||||
load-average-5
|
||||
|
@ -261,7 +261,7 @@ Check if the load average during the last five minutes exceeds a specific limit.
|
|||
> Set the limit not to exceed.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert load-average-5 :limit 2)`
|
||||
Example: `(=> alert load-average-5 :limit 2)`
|
||||
|
||||
|
||||
load-average-15
|
||||
|
@ -271,7 +271,7 @@ Check if the load average during the last fifteen minutes exceeds a specific lim
|
|||
> Set the limit not to exceed.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert load-average-15 :limit 2)`
|
||||
Example: `(=> alert load-average-15 :limit 2)`
|
||||
|
||||
|
||||
ping
|
||||
|
@ -281,7 +281,7 @@ Check if a remote host answers the 2 ICMP ping.
|
|||
> Set the host to ping. Return an error if ping command returns non-zero.
|
||||
:host "STRING" (can be IP or hostname)
|
||||
|
||||
Example : `(=> alert ping :host "8.8.8.8")`
|
||||
Example: `(=> alert ping :host "8.8.8.8")`
|
||||
|
||||
|
||||
command
|
||||
|
@ -292,7 +292,7 @@ This may be the most useful probe because it let the user do any check needed.
|
|||
> Command to execute, accept commands with pipes.
|
||||
:command "STRING"
|
||||
|
||||
Example : `(=> alert command :command "tail -n 10 /var/log/messages | grep -v CRITICAL")`
|
||||
Example: `(=> alert command :command "tail -n 10 /var/log/messages | grep -v CRITICAL")`
|
||||
|
||||
|
||||
service
|
||||
|
@ -302,7 +302,7 @@ Check if a service is started on the system.
|
|||
> Set the name of the service to test
|
||||
:name STRING
|
||||
|
||||
Example : `(=> alert service :name "mysql-server")`
|
||||
Example: `(=> alert service :name "mysql-server")`
|
||||
|
||||
|
||||
file-less-than
|
||||
|
@ -315,7 +315,7 @@ Check if a file has a size less than a specified limit.
|
|||
> Set the limit in bytes before triggering an alert.
|
||||
:limit INTEGER
|
||||
|
||||
Example : `(=> alert file-less-than :path "/var/log/nginx.log" :limit 60)`
|
||||
Example: `(=> alert file-less-than :path "/var/log/nginx.log" :limit 60)`
|
||||
|
||||
|
||||
curl-http-status
|
||||
|
@ -344,8 +344,8 @@ time. Requires openssl.
|
|||
> Set the port for the request (OPTIONAL).
|
||||
:port INTEGER (default to 443)
|
||||
|
||||
Example : `(=> alert ssl-expiration :host "domain.local" :seconds (* 7 24 60 60))
|
||||
Example : `(=> alert ssl-expiration :host "domain.local" :seconds 86400 :port 6697)
|
||||
Example: `(=> alert ssl-expiration :host "domain.local" :seconds (* 7 24 60 60))
|
||||
Example: `(=> alert ssl-expiration :host "domain.local" :seconds 86400 :port 6697)
|
||||
|
||||
|
||||
The configuration file
|
||||
|
|
Loading…
Reference in New Issue