Update telegraf, track kernel version

This commit is contained in:
albert 2024-12-11 19:44:07 +01:00
parent e13c058699
commit 7b3441216c
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -65,12 +65,20 @@
}; };
temp = {}; temp = {};
wireless = {}; wireless = {};
exec = { exec =[
{
commands = [ "/run/current-system/sw/bin/nixos-version" ]; commands = [ "/run/current-system/sw/bin/nixos-version" ];
name_suffix = "_nixos-version"; name_suffix = "_nixos-version";
data_format = "value"; data_format = "value";
data_type = "string"; data_type = "string";
}; }
{
commands = [ "/run/current-system/sw/bin/uname" "-r" ];
name_suffix = "_kernel-version";
data_format = "value";
data_type = "string";
}
];
}; };
}; };
}; };