{"repo":"FlxPeters/netbox-plugin-prometheus-sd","free":true,"listed":false,"github":"https://github.com/FlxPeters/netbox-plugin-prometheus-sd","clone":"git clone https://github.com/FlxPeters/netbox-plugin-prometheus-sd.git","description":"Provide Prometheus url_sd compatible API Endpoint with data from Netbox","language":"Python","stars":205,"topics":["netbox-plugin","prometheus"],"license":"MIT","category":"analytics","readme_excerpt":"netbox-plugin-prometheus-sd Provide Prometheus http sd compatible API Endpoint with data from Netbox. HTTP SD is a feature since Prometheus 2.28.0 that allows hosts to be found via a URL instead of just files. This plugin implements API endpoints in Netbox to make devices, services, IPs and virtual machines available to Prometheus. Compatibility We aim to support the latest major versions of Netbox. Plugin Netbox --- --- 2.x = 4.0 1.x 3.x (no longer maintained) Check the .github/workflows/ci.yml pipeline for the current tested builds. Other versions may work, but we do not test them explicitly. All relevant target versions are tested in CI. Plugin 2.0 also fixed a set of N+1 queries that made the endpoints very slow on larger installations (#265). If service discovery is putting noticeable load on your Netbox database, upgrading is worthwhile. Installation The plugin is available as a Python package in pypi and can be installed with pip Enable the plugin in /opt/netbox/netbox/netbox/configuration.py: The plugin has not further plugin configuration. Usage The plugin only provides a new API endpoint on the Netbox API. There is no further action required after installation. API The plugin reuses Netbox API view sets with new serializers for Prometheus. This means that all filters that can be used on the Netbox API can also be used to filter Prometheus targets. Paging is disabled because Prometheus does not support paged results. The plugin also reuses the Netbox authentication a","default_branch":null,"files":null,"tree":[],"storefront":"/r/FlxPeters","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FlxPeters/netbox-plugin-prometheus-sd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}