Élenchos: Check cpu
A Élenchos command for checking CPU usage.
Installation and Configuration
Install Élenchos if not already installed:
cd /opt
mkdir elenchos
cd elenchos
python -m venv .venv
. .venv/bin/activate
pip install elenchos
mkdir bin
ln -s ../.venv/bin/elenchos bin/elenchos
Install the check:cpu plugin:
cd /opt/elenchos
. .venv/bin/activate
pip install elenchos_check_cpu
./bin/elenchos gather-commands
Create a configuration file /etc/nrpe.d/check_cpu.cfg for nrpe:
command[check_cpu]=/opt/elenchos/bin/elenchos check:cpu <arguments>
Possible arguments are:
-i,--interval=INTERVALThe interval between the two CPU statistics gatherings in seconds. [default: 2.0]-w,--warning[=WARNING]The warning level for CPU user in %.-c,--critical[=CRITICAL]The critical level for CPU user in %.
The warning and critical CPU levels are optional. Hence, one can use this Élenchos command solely for gather statistics.
Finally, restart the nrpe daemon:
systemctl reload nrpe
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for elenchos_check_cpu 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elenchos_check_cpu-1.1.0.tar.gz | 3.6 kB | Without provenance | Details for elenchos_check_cpu-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elenchos_check_cpu-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for elenchos_check_cpu-1.1.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / elenchos_check_cpu-1.1.0.tar.gz
| Download URL | elenchos_check_cpu-1.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e2dc0a15099627e1d4e2ca65225f2ac70fea9f53dddea55343dabb0ee201927
|
|
BLAKE2b-256 checksum How to use checksums |
4615cbed9d49c94d225cb7b09948ea7a7495cdf5b99e3efe8c05ca3ed1d0574e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-300.fc42.x86_64
|
Release files / elenchos_check_cpu-1.1.0-py3-none-any.whl
| Download URL | elenchos_check_cpu-1.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6645ae83b525d22ad8f59042a751fb647df592507d8b4759356c4595cebbba6
|
|
BLAKE2b-256 checksum How to use checksums |
f72e26de1828016465766c99dcf7b6e2ee08a67118cbae906402d6e8302d1a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.3 Linux/6.14.6-300.fc42.x86_64
|
Security for elenchos_check_cpu 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.