Prometheus puppetdb exporter
Project description
Prometheus exporter for PuppetDB.
Install
$ git clone https://github.com/othalla/puppetdb_exporter
Configuration
Exporter reads config from CONFIG_FILE environment variable.
Example
[puppetdb]
host = puppetdb.example.local
port = 8080
ssl_verify = path/to/authority
key = path/to/key
cert = path/to/cert
proto = https
[optional]
fact_list = kernelrelease values.architecture
TODO
Refactor configuration keys, add example & doc in README -> Done
Create Fact object to store puppet fact information (name, value, count) -> IN PROGRESS
Create Node object to store node information (certname, status)
Create Enum object for status
Create Class to init & store prometheus metrics
Check if pypuppetdb lib is realy needed as not much maintained, and quite eavy for a simple request.get on /nodes & /fact_contents + /facts_path
Global refactors
Rewrite in goland
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for puppetdb_exporter-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8515c7595813981c151b19eef84c63b63593a049f70eef3362b585585add444a |
|
MD5 | e771a81ae5c9b517d128911bca0bc167 |
|
BLAKE2b-256 | 5c4669bae3d5a2747124c49c952200fd1d0a9ff042377d1885fcfdaa945b033d |