You can also achieve this with telegraf and the exec plugin (sysctl)