1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
c42932db0e Trying out smokeping exporter 2021-12-20 17:49:06 +01:00
835c5e396e Monitor XMPP Notifications 2021-12-20 16:47:57 +01:00

View File

@ -62,6 +62,14 @@ in {
networking.firewall.allowedUDPPorts = [ 54523 ]; networking.firewall.allowedUDPPorts = [ 54523 ];
services.prometheus.exporters.node.enable = true; services.prometheus.exporters.node.enable = true;
services.prometheus.exporters.smokeping = {
enable = true;
listenAddress = "[::1]";
port = 9374;
hosts = [
"clerie.de"
];
};
services.prometheus.xmpp-alerts = { services.prometheus.xmpp-alerts = {
enable = true; 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 = [ alertmanagers = [
{ {