collectd-cvmfs-用于监视CvmFS客户端的Collectd插件-Luis Fenandez Alvarez Configuration Metrics 1.1.0 1.0.3 1....

collectd-cvmfs-用于监视CvmFS客户端的Collectd插件-Luis Fenandez Alvarez

发布:2020-12-23 14:18:14.823277

做者:Luis Fenandez Alvarez

做者邮箱:luis.fernandez.alvarez@cern.ch

首页:https://github.com/cvmfs/collectd-cvmfs

文档:None

下载连接

Collectd Module for CvmFS

Configuration

Example::python

TypesDB "/usr/share/collectd/collectd_cvmfs.db"
<Plugin "python">
  Import "collectd_cvmfs"
  <Module "collectd_cvmfs">
    Repo "alice.cern.ch" "atlas.cern.ch"
    Repo "ams.cern.ch"
    MountTime True
    MountTimeout 10
    Memory True
    Attribute ndownload nioerr
    Attribute usedfd
    Verbose False
    Interval "300"
  </Module>
</Plugin>
  • TypesDB: types used by the plugin and shipped with the package.
  • Repo: cvmfs repository to monitor.
  • MountTime: boolean value to specify whether mount time should be reported or not.
  • MountTimeout: timeout in seconds while trying to mount the repositories.
  • Memory: boolean value to specify whether the memory footprint should be reported or not.
  • Attribute: attribute to monitor on the given repositories. You can get the list from of valid attributes from the type db in resources/collectd_cvmfs.db.
  • Interval: interval in seconds to probe the CVMFS repositories.
  • Verbose: boolean value to produce logs more verbosed in collectd. It is false by default.

The plugin allows multiple instances for different configurations. This allows probing different repos at different intervals or probing different attributes depending on the repository.git

Metrics

The metrics are published in the following structure::github

Plugin: cvmfs
PluginInstance: <repo>
Type: {<Attribute>|MountTime|Memory|Mountok}

# Only with Memory:
TypeInstance: [rss|vms]

Example::dom

lxplus123.cern.ch/cvmfs-lhcb.cern.ch/mounttime values=[0.000999927520751953]
lxplus123.cern.ch/cvmfs-lhcb.cern.ch/nioerr values=[0]
lxplus123.cern.ch/cvmfs-lhcb.cern.ch/memory-rss values=[31760384]
lxplus123.cern.ch/cvmfs-repo.domain.ch/mountok values=[1]

News

1.3.0 * Release date: 8-Jul-2020 * Success of mount now confirmed checking attribute fqrn * Pip requirements corrected to require pyxattr and not xattrui

1.2.0 * Release date: 25-Jul-2019 * New metric MountOK with value 0 (no) 1 (yes) * Mounts now use scandir to avoid hanging.spa

1.1.0

  • Release date: 13-May-2019
  • remove memory type definition

1.0.3

  • Release date: 18-Oct-2017
  • Make collectd aware of explicit interval so that it does not flush the value to soon.
  • Documentation about TypesDB file.

1.0.2

  • Release date: 25-May-2017
  • Correct name of type database.

1.0.1

  • Release date: 25-May-2017
  • First release.net

    Copy from pypi.org插件

查询时间:11.387ms
渲染时间:11.511ms

本文同步分享在 博客“zhenruyan”(other)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。code

相关文章
相关标签/搜索