Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thefab/cpu_cores-collectd-plugin

A collectd plugin (written in python) to send the number of "physical" cpu cores (without hyperthreading logical cores) of a linux box to collectd
https://github.com/thefab/cpu_cores-collectd-plugin

Last synced: about 1 month ago
JSON representation

A collectd plugin (written in python) to send the number of "physical" cpu cores (without hyperthreading logical cores) of a linux box to collectd

Awesome Lists containing this project

README

        

# cpu_cores-collectd-plugin

## What is it ?

A collectd plugin (written in python) to send the number of "physical" cpu cores (without hyperthreading logical cores) and processors of a linux/osx box to collectd.

The main goal is to calculate the load average by cpu physical core.

## Requirements

- `python`
- `collectd` (with python plugin support)
- `cpu_cores`

## How to install ?

- place `cpu_cores_plugin.py` file in `[...]/collectd/plugins/python/` directory
- configure the plugin (see below)
- restart `collectd`

## Configuration

Add the following to your collectd config :

[...]


Globals true

[...]


ModulePath "[...]/collectd/plugins/python"
Import "cpu_cores_plugin"

Verbose false

## Thanks

Thanks to [redis-collectd-plugin](https://github.com/powdahound/redis-collectd-plugin) for inspiration.