mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/alertmanager: init
This commit is contained in:
parent
a1731f0c2e
commit
af8526bcb8
4 changed files with 119 additions and 0 deletions
24
modules/services/alertmanager/config.nix
Normal file
24
modules/services/alertmanager/config.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
global = {
|
||||
smtp_smarthost = "localhost:25";
|
||||
smtp_from = "server@buehler.rocks";
|
||||
};
|
||||
# templates = [ ];
|
||||
route = {
|
||||
receiver = "default";
|
||||
group_wait = "30s";
|
||||
group_interval = "5m";
|
||||
repeat_interval = "4h";
|
||||
routes = [ ];
|
||||
};
|
||||
receivers = [
|
||||
{
|
||||
name = "default";
|
||||
email_configs = [
|
||||
{
|
||||
to = "server@buehler.rocks";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue