Skip to content

Commit

Permalink
mention linger option
Browse files Browse the repository at this point in the history
  • Loading branch information
proditis committed Aug 27, 2024
1 parent 5ade4aa commit 2311dc6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,14 @@ the following example configuration is a basic HTTP probe configuration, which o
# HTTP Probe Configuration
http:
# A Website
# A Website without SO_LINGER
- name: MegaEase Website (Global)
url: https://megaease.com
linger: false
labels:
team: ease
owner: megaease
# Some of the Software support the HTTP Query
# Some of the Software supports HTTP probing
- name: ElasticSearch
url: http://elasticsearch.server:9200
- name: Eureka
Expand Down Expand Up @@ -345,6 +346,7 @@ http:
expression: "x_time('//feed/updated') > '2022-07-01'" # the expression to evaluate.
# configuration
timeout: 10s # default is 30 seconds
linger: false # Do not set SO_LINGER
```
> **Note**:
Expand Down Expand Up @@ -517,6 +519,7 @@ tcp:
host: example.com:22
timeout: 10s # default is 30 seconds
interval: 2m # default is 60 seconds
linger: false # Disable SO_LINGER
proxy: socks5://proxy.server:1080 # Optional. Only support socks5.
# Also support the `ALL_PROXY` environment.
labels:
Expand Down Expand Up @@ -646,6 +649,7 @@ ssh:
username: ubuntu
key: /path/to/private.key
cmd: "ps -ef | grep kafka"
linger: false # Disable SO_LINGER
```
> **Note**:
>
Expand All @@ -661,6 +665,7 @@ tls:
host: expired.badssl.com:443
proxy: socks5://proxy.server:1080 # Optional. Only support socks5.
# Also support the `ALL_PROXY` environment.
linger: false # Disable SO_LINGER
insecure_skip_verify: true # don't check cert validity
expire_skip_verify: true # don't check cert expire date
alert_expire_before: 168h # alert if cert expire date is before X, the value is a Duration,
Expand Down

0 comments on commit 2311dc6

Please sign in to comment.