fix: ping probes name

This commit is contained in:
sinavir 2024-04-21 18:13:30 +02:00
parent 8769cf0622
commit 6bd649a7f7

View file

@ -37,11 +37,12 @@ rec {
fromHive {
builder = (
node: module: {
monitors = {
${prefix + node} = {
type = "ping";
inherit tags;
monitors = let
hostname = mkHost node module.config;
in {
${prefix + hostname} = {
type = "ping";
inherit tags hostname;
};
};
}