Configuration for Alertmanager IRC Relay as a Nix attribute set. For a reference, check out the example configuration and the source code.
Note: The webhook's URL MUST point to the IRC channel where the message should be posted. For #mychannel
from the example, this would be http://localhost:8080/mychannel
.
Declarations
Type
YAML value
Example
{
http_host = "localhost";
http_port = 8000;
irc_host = "irc.example.com";
irc_port = 7000;
irc_nickname = "myalertbot";
irc_channels = [
{ name = "#mychannel"; }
];
}