I've just started looking at Netbox as a way to store "inventory" for Prometheus using this plugin: https://github.com/FlxPeters/netbox-plugin-prometheus-sd
The documentation is a bit light and I'm wondering if anyone can share a good example of how to use the multi-target exporter pattern. My initial thought is to add custom fields in netbox like this: *prom_job*: (multi-selection with choices like blackbox, snmp, json) *prom_blackbox_module*: (selection with choices like ping, http, tcp3389, etc.) *prom_snmp_module*: (selection with choices for all my snmp modules) *prom_snmp_auth*: (selection with choices like public_v2, public_v3, etc. to be used by snmp). Then in Prometheus, I would have just one blackbox job which chooses the right module based on that field, and its target URL includes a Netbox filter for prom_job to only return targets which have that module selected. Similarly, I would have one snmp job, etc. Does this sound like the best approach? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0e6e31b3-8492-41da-a0b8-2226d365bc95n%40googlegroups.com.

