hosts/monitoring-3: validate nixos hash versions
This commit is contained in:
@@ -127,6 +127,28 @@ in {
|
||||
relabelAddressToInstance
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "nixos-validator";
|
||||
scrape_interval = "1m";
|
||||
static_configs = [
|
||||
{
|
||||
targets = nixosMonitoringTargets;
|
||||
}
|
||||
];
|
||||
relabel_configs = [
|
||||
{
|
||||
source_labels = [ "__address__" ];
|
||||
target_label = "__param_target";
|
||||
regex = ''([\w-]+)\.mon\.clerie\.de\:\d+'';
|
||||
replacement = "\${1}";
|
||||
}
|
||||
relabelAddressToInstance
|
||||
{
|
||||
target_label = "__address__";
|
||||
replacement = "[::1]:9153";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "bird-exporter";
|
||||
scrape_interval = "20s";
|
||||
|
Reference in New Issue
Block a user