I have written an input.exec plugin to fetch the kernel version of the server running telegraf. This works very fine and with ‘interval = “2h”’ it doesn’t clog my buckets.
After a kernel update I want to get the new version in my dashboard immediately. So I looked for a startup = true parameter, which doesn’t exist…
Set round_interval = false in Telegraf’s global configuration. With the default true, collection is aligned to interval boundaries, so an input may wait after startup. Disabling it makes collection start immediately, then repeat at the configured interval. Check that no per-input scheduling or startup delay is overriding this behavior.