Trying out smokeping exporter
This commit is contained in:
parent
835c5e396e
commit
c42932db0e
@ -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;
|
||||
@ -162,6 +170,17 @@ in {
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "smokeping";
|
||||
scrape_interval = "20s";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"monitoring-3.mon.clerie.de:9374"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
alertmanagers = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user