Skip to main content

Collectd Plugin to Monitor CvmFS Clients

Project description

Collectd Module for CvmFS

Configuration

Example:

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.

Metrics

The metrics are published in the following structure:

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

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

Example:

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.4 * Release date: 7-Feb-2025 * Continue with the next available repo if issue with current

1.3.3 * Release date: 15-Apr-2021 * Fix psutil call for read memory metrics #17 1.3.0 * Release date: 8-Jul-2020 * Success of mount now confirmed checking attribute fqrn * Pip requirements corrected to require pyxattr and not xattr

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collectd_cvmfs-1.3.4.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collectd_cvmfs-1.3.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file collectd_cvmfs-1.3.4.tar.gz.

File metadata

  • Download URL: collectd_cvmfs-1.3.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for collectd_cvmfs-1.3.4.tar.gz
Algorithm Hash digest
SHA256 2d6ac53a37f5efee30ed41925ae797780be7f7bb86c7fd7c3a45e7278dfd9a86
MD5 431b8664e391e67e8c5ce1446485526a
BLAKE2b-256 2a7a2de313ff9205be87e3cbbf31f0ff223146606cf80d6e67710b42252f73f5

See more details on using hashes here.

File details

Details for the file collectd_cvmfs-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: collectd_cvmfs-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for collectd_cvmfs-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 31073832cca26c0f088c07a5b49d9d34e0f1f703e403e696945c8626cbff40b9
MD5 61062136457222289c008b75a0ea73f8
BLAKE2b-256 de624d131caaab152d1b26f71429be05d00ae6e14d3271430587d00ea1675245

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page