Compare commits
2 Commits
4ea5a21103
...
c42932db0e
Author | SHA1 | Date | |
---|---|---|---|
c42932db0e | |||
835c5e396e |
@ -62,6 +62,14 @@ in {
|
||||
networking.firewall.allowedUDPPorts = [ 54523 ];
|
||||
|
||||
services.prometheus.exporters.node.enable = true;
|
||||
services.prometheus.exporters.smokeping = {
|
||||
enable = true;
|
||||
listenAddress = "[::1]";
|
||||
port = 9374;
|
||||
hosts = [
|
||||
"clerie.de"
|
||||
];
|
||||
};
|
||||
|
||||
services.prometheus.xmpp-alerts = {
|
||||
enable = true;
|
||||
@ -151,6 +159,28 @@ in {
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "xmpp-alerts";
|
||||
scrape_interval = "20s";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"monitoring-3.mon.clerie.de:9199"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "smokeping";
|
||||
scrape_interval = "20s";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"monitoring-3.mon.clerie.de:9374"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
alertmanagers = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user