Inserting object data into local config context? #14875
Replies: 2 comments
-
I did a little testing and found that |
Beta Was this translation helpful? Give feedback.
-
I haven't watched the video, but for the device's IP address I'd suggest you use its primary_ip address attribute. (If you are configuring a device from Netbox data, the information you need doesn't all have to come from config_context data. This is mainly intended for those settings which are often shared between all devices in a site, rack, tenant etc. Things which are set individually on a device could be standard Netbox attributes or custom fields) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I saw this interesting presentation from an engineer at Nokia, describing how they use Netbox config contexts to generate Telegraf configs. Unfortunately I could not understand much of the audio.
I'm trying to figure out how this would work. If I want to monitor device health using Telegraf SNMP input plugin, the config needs to know the IP address of each device. So I could put most of the SNMP config in the Device Model config context, and then I would need a way to insert the device's Primary IP address using local config context. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions