1
0

hosts/monitoring-3: add prometheus job for high frequency pings

This commit is contained in:
clerie 2024-03-24 13:03:23 +01:00
parent 3c42d25ecd
commit 4f96034838

View File

@ -294,6 +294,66 @@ in {
relabelAddressToInstance
];
}
{
job_name = "blackbox_local_icmp6_1s";
scrape_interval = "1s";
metrics_path = "/probe";
params = {
module = [ "icmp6" ];
};
static_configs = [
{
targets = [
"carbon.net.clerie.de"
];
}
];
relabel_configs = [
{
source_labels = [ "__address__" ];
target_label = "__param_target";
}
{
source_labels = [ "__address__" ];
target_label = "target";
}
{
target_label = "__address__";
replacement = "monitoring-3.mon.clerie.de:9115";
}
relabelAddressToInstance
];
}
{
job_name = "blackbox_local_icmp4_1s";
scrape_interval = "1s";
metrics_path = "/probe";
params = {
module = [ "icmp4" ];
};
static_configs = [
{
targets = [
"carbon.net.clerie.de"
];
}
];
relabel_configs = [
{
source_labels = [ "__address__" ];
target_label = "__param_target";
}
{
source_labels = [ "__address__" ];
target_label = "target";
}
{
target_label = "__address__";
replacement = "monitoring-3.mon.clerie.de:9115";
}
relabelAddressToInstance
];
}
{
job_name = "zimmer-temp";
scrape_interval = "20s";