Intro
Channels in the system are used to organize and assign alerts and health notifications. They act as a grouping mechanism, allowing you to manage and monitor specific sets of notifications effectively. By assigning alerts and health checks to channels, you can ensure that the right information reaches the appropriate audience or system component.
Channels can be configured to handle various types of notifications, such as system health updates, error alerts, or performance warnings, making them a critical part of the monitoring and alerting infrastructure.
Supported Channels
- SNMP
- API
- Matrix
- Browser
Defining Default Channel via Environment Variables
You can also define the default channel for service startup using environment variables. This allows you to pre-configure the notification channel without manual setup in the UI or database.
Example channel configuration for service startup:
DEFAULT_CHANNEL_ID=email-default-env
DEFAULT_CHANNEL_TYPE=email
DEFAULT_CHANNEL_NAME=Default Email Channel
DEFAULT_CHANNEL_PARAMS='{"host":{"value":"test.test","type":"host"},"port":{"value":587,"type":"port"},"authUser":{"value":"auth@User.com","type":"text"},"authPass":{"value":"authPass","type":"password"},"from":{"value":"from@monitor.com","type":"email"},"to":{"value":"to@monitor.com","type":"email"}}'
Note:
CHANNEL_PARAMS
is a JSON value containing the required parameters for the channel to work (such as host, port, authUser, authPass, from, to, etc.). For more details about environment variable configuration, see Environment Variables Reference.