Skip to main content

A nagios plugin for checking pressure stall information values provided by the kernel for cpu, io and memory

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check_psi-1.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

check_psi-1.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file check_psi-1.1.0.tar.gz.

File metadata

  • Download URL: check_psi-1.1.0.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

Hashes for check_psi-1.1.0.tar.gz
Algorithm Hash digest
SHA256 92e321f8dea0ab6d41c0fcd7edd658b2b639443905e37899a27c55425403e39b
MD5 203714edefb700fe1fed11c0020cc62b
BLAKE2b-256 a8a7d596ae3ac27352f612c19c7609dd3e865a1026619b25aa6c6d4dcd120641

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_psi-1.1.0.tar.gz:

Publisher: publish.yml on BonaFideIT/check_psi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file check_psi-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: check_psi-1.1.0-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

Hashes for check_psi-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9fe9d319a3658b020f8d826dfd688b3fe7d215d369a4b8e7e721822e0069fa2
MD5 ec1bc0dfe9400caf7855f894422607d7
BLAKE2b-256 1e49a99960526964366c2e6dcacee13f731e2442887a3df3c868d958e8bfd695

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_psi-1.1.0-py3-none-any.whl:

Publisher: publish.yml on BonaFideIT/check_psi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page