Skip to content

Telegraf Configs

Once the Run Telegraf Nautobot Pipeline job has been run, configs will be available for use by Telegraf.

Viewing Configs

Telegraf configs are tied to individual Telegraf Agents. The Nautobot Netobs App provides 2 different places to view the configs.

Telegraf Agent

Navigating to the Telegraf Agent detail page will show the current existing configuration.

Telegraf Agent Telegraf Agent

Device

Under the Device page, any device that is assigned to a Telegraf Agent will have a new tab called Telegraf that will provide more details on what agent(s) and agent group(s) the device is assigned to. It provides a collapsible view of the Telegraf Agent(s) configuration. This shows the full agent configuration and does not provide any configuration filtering for the device.

Device Tab Telegraf Device Tab Telegraf

Consuming Configs

At the present time, there are 2 ways to consume the API: GitOps and API.

GitOps

If the Telegraf Agent Group has a specified generated config repository, the Telegraf configs and other templates will be stored there. From there, a tool like FluxCD can be used to update the Telegraf deployment in Kubernetes.

API

Configs can be consumed via the Nautobot API with either JSON or as the straight TOML configuration. See External Interactions for more details.