alert_slack.cfg

1 minute read

This is the default Slack alert group definition file.

# SADMIN Slack Channel file
# This file associate a SADMIN Slack Channel Name with a Slack WebHook.
#
# This file define each channel name that can be used in the 
# SADMIN Alarm Group file ($SADMIN/cfg/alert_group.cfg)
#
# Channel name used in a Slack Group MUST first be define in this file.
#
# - If the Slack Channel file ($SADMIN/cfg/slackchannel.cfg) file 
#   doesn't exist then an initial Slack Channel file is created from
#   the default Slack Channel file ($SADMIN/cfg/.slackchannel.cfg).
#
# - Blank line or line beginning with a pound sign (#) are ignored.
# - Field delimiter is a space. 
#
# FIRST COLUMN 
#   - First column of this file is the Slack Channel Name used in
#     the Slack Group file. 
#   - Default channel is 'default' - Don't delete this Channel.
#   - Don't change Slack Channel name once defined.
#   - Each name MUST be uniq and must NOT contains any space or 
#     special character.
#
# SECOND COLUMN 
#   - Second column is the Slack Web Hook obtain from the Slack Web site
#     after creating a WebHook for a specific channel.
#   - Each channel Name MUST refer to ONE Slack WebHook.
#     So ONE channel refer to ONE WebHook.
#   - There is no default channel Web Hook, you must create your own.
#
# See How-to create a Slack WebHook at https://www.sadmin.ca/www/faq.php 
# --------------------------------------------------------------------
#
# If you use Slack there MUST be a default channel (Example)
default       https://hooks.slack.com/services/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
#
sadm_info     https://hooks.slack.com/services/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
sadm_dev      https://hooks.slack.com/services/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
sadm_prod     https://hooks.slack.com/services/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
sadm_devops   https://hooks.slack.com/services/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
#

Back to the top

SEE ALSO

Link to … Description
SADMIN installation SADMIN installation page
How-to update SADMIN How-to update to latest version of SADMIN
sadmin.cfg SADMIN main configuration file
sadm_sysmon.pl Client system monitor
SysMon configuration file Client System Monitor configuration file
smon Allow you run SysMon and see the report file
How-to create a Slack workspace Create a Slack Workspace
How-to create Slack channel and App. Configure SADMIN to use Slack
How-to use SADMIN alerting system Understanding SADMIN alerting system
Alert Group File Alert group definition file
Slack channel file Slack channel definition file