-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jayasimha Raghavan <[email protected]>
- Loading branch information
1 parent
f48eaea
commit 9c61b44
Showing
7 changed files
with
430 additions
and
165 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 |
---|---|---|
|
@@ -154,6 +154,7 @@ disable=abstract-method, | |
C0303, | ||
C0304, | ||
C0301, | ||
C0412, | ||
E0203, | ||
R1732 | ||
|
||
|
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 |
---|---|---|
|
@@ -247,16 +247,16 @@ docker exec -it $CONTAINER_ID bash | |
|
||
For example, if you want to get Slack Notification, here is the command to follow - | ||
``` | ||
add_notification.sh -c Slack -u https://hooks.slack.com/services/T12345/B12345/XXXXXXX --channel test-alerting | ||
add_notification.sh -c Slack -u https://hooks.slack.com/services/T12345/B12345/XXXXXXX --channel-name test-alerting | ||
``` | ||
> Here `-c` Option is used for creating a new Notification. Options are either Slack or SMTP (email) | ||
> `-u` Option is the webhook URL of Slack | ||
> `--channel` Channel to where the notification should be sent | ||
> `--channel-name` Channel to where the notification should be sent | ||
This snippet shows how to configure SMTP (email) Notification | ||
|
||
``` | ||
./add_notification.sh -c SMTP -s smtp.server.com -u [email protected] -p <password_of_username> -t [email protected] | ||
add_notification.sh -c SMTP -s smtp.server.com -u [email protected] -p <password_of_username> -t [email protected] | ||
``` | ||
> Here `-s` Option is to specify the SMTP server | ||
> `-u` Option is to specify the SMTP username. Note, you need to specify the username with the domain like [email protected] | ||
|
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
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
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.