Skip to content

python collectd module to gather metrics from puppet reports

License

Notifications You must be signed in to change notification settings

proofpoint/collectd-puppet-reports

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

collectd-puppet-reports

collectd module to gather metrics from the puppet last_run_report.yaml file. The script checks the modified time on the file each time it runs and reports the metrics if the modified time changes. Metrics are reported using the modified time of the file so the data points represent the last run of puppet.

Prerequisite

  • A collectd installation with python support
  • The python pyyaml library installed
  • Puppet agents with reporting enabled

Configuration


LoadPlugin python

<Plugin python>
  <Module puppet_reports>
    LastReportFile "/var/lib/puppet/state/last_run_report.yaml"
    Verbose False
  </Module>
</Plugin>

About

python collectd module to gather metrics from puppet reports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%