Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thefab/cpu_cores-collectd-plugin
- Owner: thefab
- License: mit
- Created: 2013-08-29T11:41:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-31T13:03:29.000Z (about 11 years ago)
- Last Synced: 2024-04-18T00:13:18.526Z (7 months ago)
- Language: Python
- Size: 109 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.