collectd-puppet-監控傀儡代理的Collectd插件-Steve Traylen
發佈:2020-12-23 14:18:47.950164
做者:Steve Traylen
做者郵箱:steve.traylen@cern.ch
首頁:https://github.com/cernops/collectd-puppet
文檔:None
下載連接
Collectd Plugin for Puppet
Configuration
.. code:: apachepython
TypesDB "/usr/share/collectd/puppet_types.db"
The MaxRetention
setting represents, in seconds, for how long the value of the metrics will be retained if there's no fresh data to publish during the Collectd loop. Be aware that this setting depends on the global Timeout
. For instance, if you want a retention of 6 hours and the Collectd timeout is set to 2 then you'll have to halve value and set it to (6*60*60)/2
.apache
Generated data
The plugin parses /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml
and reports several single values extracted from there.oop
It will only send data if there has been a Puppet run after the last time Collectd polled. This is monitored using a state file located in /var/lib/collectd/puppet.state
. To force a data point just delete it.this
These are the values that are currently being dispatched:spa
- puppet/boolean-compiled (flag denoting if the catalog compiled (1 or 0))
- puppet/seconds-config_retrieval
- puppet/seconds-total_time
- puppet/resources-changed
- puppet/resources-corrective_change
- puppet/resources-failed
- puppet/resources-failedtorestart
- puppet/resources-outofsync
- puppet/resources-restarted
- puppet/resources-scheduled
- puppet/resources-skipped
- puppet/resources-total
- puppet/timeref-lastrun (epoch of last puppet run (seconds))
Authors
Steve Traylen steve.traylen@cern.ch Nacho Barrientos nacho.barrientos@cern.ch.net
Copyright
2018 CERN插件
License
Apache-II License代理
Development notes
Don't forget to bump the schema_version
if you modify the data format.
Copy from pypi.org
查詢時間:7.772ms
渲染時間:7.896ms
本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。