-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from DataDog/new_config
New config
- Loading branch information
Showing
6 changed files
with
301 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,20 @@ | ||
## Default configuration | ||
# core: | ||
# schedule: | ||
# timeout: 5 # To check will timeout and exit after {timeout} seconds | ||
# period: 60 # Scheduled once every {period} seconds | ||
# attempts: 3 # The state change is confirmed only after {attempts} attempts (1 for instant change). | ||
# notification: "" # String added in the event body | ||
# notify_startup: none # Which state to notify at startup, can be all, warning, critical or none | ||
# checks: | ||
|
||
## Advanced example | ||
# core: | ||
# schedule: | ||
# timeout: 3 | ||
# period: 90 | ||
# notification: "@all" | ||
# checks: | ||
# - path: /path2/default_checks/ | ||
# attempts: 2 | ||
# - path: /path1/my_checks/ | ||
# timeout: 2 | ||
# period: 50 | ||
# notification: "@my_email Take a look" | ||
# notify_startup: warning | ||
# args: ["--verbose"] | ||
# - filename: /path3/checks/my_check | ||
# args: ["-w", "10", "-w", "30"] | ||
# name: custom name for this check | ||
#core: | ||
# schedule: | ||
# timeout: 5 # To check will timeout and exit after {timeout} seconds | ||
# period: 15 # Scheduled once every {period} seconds | ||
# | ||
#checks: | ||
# check_ntp: | ||
# command: /usr/local/bin/check_ntp_peer -H $host | ||
# | ||
# check_pg: | ||
# command: /usr/local/bin/check_pg.sh -p $port -d $db | ||
# options: | ||
# timeout: 2 | ||
# period: 60 | ||
# params: | ||
# - port: 5432 | ||
# db: db1 | ||
# - port: 5433 | ||
# db: db2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.