mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
prometh exporters
This commit is contained in:
parent
0ba358b626
commit
e5752beffe
1 changed files with 13 additions and 0 deletions
|
|
@ -41,8 +41,20 @@
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "smartctl";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [ "127.0.0.1:9633" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
exporters = {
|
||||
smartctl = {
|
||||
enable = true;
|
||||
port = 9633;
|
||||
};
|
||||
node = {
|
||||
|
||||
enable = true;
|
||||
|
|
@ -59,6 +71,7 @@
|
|||
"sysctl"
|
||||
"processes"
|
||||
"cgroups"
|
||||
"btrfs"
|
||||
];
|
||||
# You can pass extra options to the exporter using `extraFlags`, e.g.
|
||||
# to configure collectors or disable those enabled by default.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue