services.prometheus.alertmanagerIrcRelay.settings
NixOS option
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.
type: YAML 1.1 valueDefault
null
Example
declared in: nixos/modules/services/monitoring/prometheus/alertmanager-irc-relay.nixView source on NixOS/nixpkgs →{
http_host = "localhost";
http_port = 8000;
irc_host = "irc.example.com";
irc_port = 7000;
irc_nickname = "myalertbot";
irc_channels = [
{ name = "#mychannel"; }
];
}