1
0

Add YATE and wifi monitoring

This commit is contained in:
Frank Waßmuth 2022-07-31 16:30:17 +02:00
parent b6647f9d5f
commit 7e37d9639e
2 changed files with 1319 additions and 820 deletions

View File

@ -328,6 +328,7 @@ with lib;
"sw-trabantenstadt.bula22.de" "sw-trabantenstadt.bula22.de"
"sw-bll.bula22.de" "sw-bll.bula22.de"
"sw-finanzen.bula22.de" "sw-finanzen.bula22.de"
"wlan-controller.bula22.de"
]; ];
} }
]; ];
@ -346,6 +347,81 @@ with lib;
} }
]; ];
} }
{
job_name = "aruba";
scrape_interval = "120s";
scrape_timeout = "40s";
metrics_path = "/snmp";
params = {
module = [
"aruba"
];
};
static_configs = [
{
targets = [
"wlan-controller.bula22.de"
];
}
];
relabel_configs = [
{
source_labels = [ "__address__" ];
target_label = "__param_target";
}
{
source_labels = [ "__param_target" ];
target_label = "instance";
}
{
target_label = "__address__";
replacement = "[::1]:9116";
}
];
}
{
job_name = "yate";
scrape_interval = "30s";
scrape_timeout = "20s";
metrics_path = "/snmp";
params = {
module = [
"yate"
];
};
static_configs = [
{
targets = [
"10.42.10.6"
];
labels = {
instance = "yate.bula22.de";
};
}
{
targets = [
"10.42.10.9"
];
labels = {
instance = "yate-dialup.bula22.de";
};
}
];
relabel_configs = [
{
source_labels = [ "__address__" ];
target_label = "__param_target";
}
{
source_labels = [ "__param_target" ];
target_label = "instance";
}
{
target_label = "__address__";
replacement = "[::1]:9116";
}
];
}
]; ];
alertmanagers = [ alertmanagers = [
{ {

File diff suppressed because it is too large Load Diff