GitHub puppet-prometheus_reporter
31
31
6
A prometheus Puppet reports exporter for Puppet

Metadata Valid
No translation
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_VERSION_RANGE}
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
With Operatingsystem Support
No translation
Supports Only Current Centos
No translation
Supports Latest Centos
No translation
Supports Only Current Debian
No translation
Supports Latest Debian
No translation
Supports Only Current Ubuntu
No translation
Supports Latest Ubuntu
No translation
In Modulesync Repo
No translation
In Plumbing
Is in plumbing
Has Secrets
Has a .sync.yml file
Synced
Has a .msync.yml file
Latest Modulesync
No translation
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
Released
Is in modulesync_config and in forge releases.
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.

Open Pull Requests

Fix issue #53 config stale_time doesn't work

Pull Request (PR) description

Ensure the configured cleanup happens.

This Pull Request (PR) fixes the following issues

Fixes #53

Add cache_catalog_status and puppet_status metrics
enhancement

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

This PR adds cachecatalogstatus metric. Default value for usecacheonfailure configuration key is true, so puppet uses cached manifest if it fails to collect it from the server.

This metric helps to detect such cases. Example of error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Class[Mariadb]: parameter 'service_ensure' expects a match for Stdlib::Ensure::Service = Enum['running', 'stopped'], got Boolean (file: /etc/puppetlabs/code/environments/production/manifests/node.example.com.pp, line: 24, column: 3) on node node.example.com

In this case, the only metric, that we can use to alert is cache_catalog_status, which turns from 0 (notused) to 2 (onfailure).