l monitoring: monitor more hosts
This commit is contained in:
parent
dabd9f0f02
commit
a0862fa505
@ -130,11 +130,10 @@
|
|||||||
static_configs = [
|
static_configs = [
|
||||||
{
|
{
|
||||||
targets = [
|
targets = [
|
||||||
"localhost:9100"
|
] ++ map (host: "${host}:9100") (lib.attrNames (lib.filterAttrs (_: host: host.owner.name == "lass" && host.monitoring) config.krebs.hosts));
|
||||||
];
|
#labels = {
|
||||||
labels = {
|
# alias = "prometheus.example.com";
|
||||||
alias = "prometheus.example.com";
|
#};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user