1
0

Compare commits

...

2 Commits

2 changed files with 71 additions and 5 deletions

View File

@ -2,11 +2,17 @@
{ {
services.grafana = { services.grafana = {
enable = true; enable = true;
domain = "grafana.monitoring.clerie.de"; settings = {
rootUrl = "https://grafana.monitoring.clerie.de"; server = {
port = 3001; domain = "grafana.monitoring.clerie.de";
addr = "::1"; root_url = "https://grafana.monitoring.clerie.de";
auth.anonymous.enable = true; http_port = 3001;
http_addr = "::1";
};
"auth.anonymous" = {
enabled = true;
};
};
provision = { provision = {
enable = true; enable = true;

View File

@ -294,6 +294,66 @@ in {
relabelAddressToInstance 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"; job_name = "zimmer-temp";
scrape_interval = "20s"; scrape_interval = "20s";