Skip to main content

check_psi

Tests

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

  1. optionally create virtualenv
  2. install pypi package
  3. test

alternative manual installation

  1. clone repository to /usr/local/bin/
  2. create virtualenv
  3. install pipenv via pip
  4. pipenv sync
  5. test

Metadata

Release files for check-psi 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for check-psi 1.1.2
File Size Uploaded
check_psi-1.1.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for check-psi 1.1.2
File Interpreter ABI Platform
check_psi-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / check_psi-1.1.2.tar.gz

Download URL check_psi-1.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cc0048c6b5cc9ff53a69883462fe2f4d0a0cc6081021daee2852551e8366d420
BLAKE2b-256 checksum
How to use checksums
1689fda52390a683286b18bd7b929d52911ae98441e1ed584a37b675158b75d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 22, 2026.

Transparency log

Release files / check_psi-1.1.2-py3-none-any.whl

Download URL check_psi-1.1.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f09b42d88443068e702918ab7fb5946f2b7d36c8fe173c4a5ec2883af88dbfb8
BLAKE2b-256 checksum
How to use checksums
ebe149b128d6dc45c144b5bed64aece269691c31e0a4c3696c143cbfc617b62a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page