prometheus: don't export / scrape ZFS
This commit is contained in:
parent
def23e39be
commit
17568cd49f
2 changed files with 0 additions and 22 deletions
|
@ -46,15 +46,6 @@
|
|||
firewallFilter = "--in-interface wg-ssh --protocol tcp --match tcp --dport ${toString config.services.prometheus.exporters.postgres.port}";
|
||||
port = 9187;
|
||||
};
|
||||
# https://github.com/pdf/zfs_exporter
|
||||
zfs = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
firewallRules = [
|
||||
''iifname "wg-ssh" tcp dport ${config.services.prometheus.exporters.zfs.port} accept''
|
||||
];
|
||||
port = 9134;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -221,19 +221,6 @@ in
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "zfs";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"nachtigall.wg.${config.pub-solar-os.networking.domain}:${toString config.services.prometheus.exporters.zfs.port}"
|
||||
];
|
||||
labels = {
|
||||
instance = "nachtigall";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
ruleFiles = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue