A nagios plugin for checking pressure stall information values provided by the kernel for cpu, io and memory
Project description
check_psi
A nagios plugin for checking pressure stall information values provided by the kernel for cpu, io and memory
Tested for
- python 3.9.2
- python 3.11.2
- python 3.13.5
usage
usage: check_psi.py [-h] {cpu,io,memory} ...
Nagios plugin to monitor current pressure stall information against desired thresholds
positional arguments:
{cpu,io,memory}
cpu Override default values for cpu pressure.
io Override default values for io pressure.
memory Override default values for memory pressure.
options:
-h, --help show this help message and exit
You can override all default thresholds with sensible values of your own for warning and critical values like in this example for "io", cpu and memory are used exactly the same:
usage: check_psi.py io [-h] [--full-avg10 WARN:CRIT] [--full-avg60 WARN:CRIT] [--full-avg300 WARN:CRIT] [--some-avg10 WARN:CRIT] [--some-avg60 WARN:CRIT] [--some-avg300 WARN:CRIT]
options:
-h, --help show this help message and exit
--full-avg10 WARN:CRIT
Override thresholds for warning and critical for avg10 time window for "full" values
--full-avg60 WARN:CRIT
Override thresholds for warning and critical for avg60 time window for "full" values
--full-avg300 WARN:CRIT
Override thresholds for warning and critical for avg300 time window for "full" values
--some-avg10 WARN:CRIT
Override thresholds for warning and critical for avg10 time window for "some" values
--some-avg60 WARN:CRIT
Override thresholds for warning and critical for avg60 time window for "some" values
--some-avg300 WARN:CRIT
Override thresholds for warning and critical for avg300 time window for "some" values
installation from package
- optionally create virtualenv
- install pypi package
- test
alternative manual installation
- clone repository to /usr/local/bin/
- create virtualenv
- install pipenv via pip
- pipenv sync
- test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file check_psi-1.1.2.tar.gz.
File metadata
- Download URL: check_psi-1.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc0048c6b5cc9ff53a69883462fe2f4d0a0cc6081021daee2852551e8366d420
|
|
| MD5 |
1baab6a79886a609d302f0cf727fc848
|
|
| BLAKE2b-256 |
1689fda52390a683286b18bd7b929d52911ae98441e1ed584a37b675158b75d0
|
Provenance
The following attestation bundles were made for check_psi-1.1.2.tar.gz:
Publisher:
publish.yml on BonaFideIT/check_psi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
check_psi-1.1.2.tar.gz -
Subject digest:
cc0048c6b5cc9ff53a69883462fe2f4d0a0cc6081021daee2852551e8366d420 - Sigstore transparency entry: 1601944922
- Sigstore integration time:
-
Permalink:
BonaFideIT/check_psi@f79dacdf354411780c7d4fc8379cebc27a106e3b -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/BonaFideIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f79dacdf354411780c7d4fc8379cebc27a106e3b -
Trigger Event:
release
-
Statement type:
File details
Details for the file check_psi-1.1.2-py3-none-any.whl.
File metadata
- Download URL: check_psi-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f09b42d88443068e702918ab7fb5946f2b7d36c8fe173c4a5ec2883af88dbfb8
|
|
| MD5 |
a13999bbfcc27b6fb5655ce0523a92a3
|
|
| BLAKE2b-256 |
ebe149b128d6dc45c144b5bed64aece269691c31e0a4c3696c143cbfc617b62a
|
Provenance
The following attestation bundles were made for check_psi-1.1.2-py3-none-any.whl:
Publisher:
publish.yml on BonaFideIT/check_psi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
check_psi-1.1.2-py3-none-any.whl -
Subject digest:
f09b42d88443068e702918ab7fb5946f2b7d36c8fe173c4a5ec2883af88dbfb8 - Sigstore transparency entry: 1601944940
- Sigstore integration time:
-
Permalink:
BonaFideIT/check_psi@f79dacdf354411780c7d4fc8379cebc27a106e3b -
Branch / Tag:
refs/tags/1.1.2 - Owner: https://github.com/BonaFideIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f79dacdf354411780c7d4fc8379cebc27a106e3b -
Trigger Event:
release
-
Statement type: