Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonsai-oss/puppet-report-exporter
prometheus exporter for puppet reports
https://github.com/bonsai-oss/puppet-report-exporter
prometheus prometheus-exporter puppet
Last synced: 13 days ago
JSON representation
prometheus exporter for puppet reports
- Host: GitHub
- URL: https://github.com/bonsai-oss/puppet-report-exporter
- Owner: bonsai-oss
- License: mit
- Created: 2022-09-19T20:40:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T11:17:19.000Z (about 2 months ago)
- Last Synced: 2024-12-12T11:27:33.690Z (about 2 months ago)
- Topics: prometheus, prometheus-exporter, puppet
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# puppet-report-exporter
Export Puppet report logs to prometheus for gathering information about your runs.
The intention is to see any error inside your puppet runs even if the run status itself is successful.## Usage
Currently, the following modes are supported:
* `puppetdb`: Use PuppetDB to get the reports
Configure *plain http* puppetdb api access uri within `PUPPETDB_URI` environment variable or via cli parameter.* `http-report`: Use Puppets http report processor to get the reports
Configure the [reports](https://puppet.com/docs/puppet/7/configuration.html#reports)
and [reporturl](https://puppet.com/docs/puppet/7/configuration.html#reporturl) settings in your puppet.conf.```
puppet-report-exporterFlags:
--help Show context-sensitive help (also try --help-long and --help-man).
--web.listen-address=":9115" Address to listen on for web interface and telemetry
--report.listen-address=":9116" Address to listen on for report submission
--mode=puppetdb Mode of operation.
--puppetdb.api-address="http://puppetdb:8081" Address of the PuppetDB API
--puppetdb.initial-fetch Fetch all nodes on startup
```Running inside Docker:
```shell
$ docker run --rm -p 127.0.0.1:9115:9115 -it registry.gitlab.com/bonsai-oss/exporter/puppet-report-exporter:latest --help
```