-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[readme] Describe the parameters added in v1.4.6
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -33,6 +33,12 @@ ONDUTY_ALERT_LIMIT=2 | |
# When to consider an existing alert as new (in seconds) | ||
# when the time is below this value the count of an alert goes up | ||
ONDUTY_ALERT_THRESHOLD=7200 | ||
|
||
# Optionally set some constraints to the phone numbers of the Onduty Contacts, | ||
# with comma separated (wihout spaces) code countries and phone types | ||
# (see https://github.com/daddyz/phonelib#getting-started for more details) | ||
# ONDUTY_PHONE_COUNTRIES=ch | ||
# ONDUTY_PHONE_TYPES=fixed_line,mobile | ||
``` | ||
|
||
### Build & Run with Docker | ||
|
@@ -163,11 +169,14 @@ ONDUTY_SLACK_CHANNEL=#onduty-test | |
ONDUTY_ZENDESK_URL=https://<your-workspace>.zendesk.com/api/v2 | ||
[email protected] | ||
ONDUTY_ZENDESK_TOKEN=<zendesk-token> | ||
ONDUTY_ZENDESK_GROUP_ID=<zendesk-group-id> | ||
# ONDUTY_ZENDESK_GROUP_ID=<zendesk-group-id> | ||
# ONDUTY_ZENDESK_SKIPPED_GROUPS=RedTeam,BlueTeam | ||
``` | ||
|
||
When `ONDUTY_ZENDESK_GROUP_ID` is not defined, the assignee's default group id will be used. | ||
|
||
When `ONDUTY_ZENDESK_SKIPPED_GROUPS` is defined (with _existing_ group names as comma-separated list), no Zendesk tickets will be created for alerts of these groups. | ||
|
||
# Trigger alerts from external sources | ||
|
||
The following example shows how to create an alert using cURL and JSON payload: | ||
|