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.1.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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: check_psi-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8e58da1b165f04b9ecd5615076db3076cb2d4a5a83ebf14238a1339e32e7ff25
MD5 59cd984e50ea988847801a97b28191b1
BLAKE2b-256 1eeef1d18e5424adbe3a88fb10c08d2cc952b460b2eee0dd65e3383c12e4be71

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_psi-1.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: check_psi-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51e10694de9f7a07e810580b9302eb62fd4250cd5680c031c32cf6dafa83839b
MD5 f482e165d7207b3c74da5eb5a3eb18ee
BLAKE2b-256 6e9c2b8345a7c862f492c3732499b298c61bc3817f61d29cee575701997f8fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_psi-1.1.1-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