Update telegraf, track kernel version
This commit is contained in:
parent
e13c058699
commit
7b3441216c
1 changed files with 14 additions and 6 deletions
|
@ -65,12 +65,20 @@
|
||||||
};
|
};
|
||||||
temp = {};
|
temp = {};
|
||||||
wireless = {};
|
wireless = {};
|
||||||
exec = {
|
exec =[
|
||||||
commands = [ "/run/current-system/sw/bin/nixos-version" ];
|
{
|
||||||
name_suffix = "_nixos-version";
|
commands = [ "/run/current-system/sw/bin/nixos-version" ];
|
||||||
data_format = "value";
|
name_suffix = "_nixos-version";
|
||||||
data_type = "string";
|
data_format = "value";
|
||||||
};
|
data_type = "string";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
commands = [ "/run/current-system/sw/bin/uname" "-r" ];
|
||||||
|
name_suffix = "_kernel-version";
|
||||||
|
data_format = "value";
|
||||||
|
data_type = "string";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue