NCPA plugin to check status of Nvidia GPUs using nvidia-smi
Project description
NCPA Nvidia-Smi Plugin
This NCPA plugin for checks Nvidia GPU stats for all GPUS detected via the nvidia-smi executable on linux machines
Requirements
- Python 3.5 or greater
- nagiosplugin module - https://pypi.org/project/nagiosplugin/
Setup
- pip3 install nagiosplugin
- install
check_nvidiasmi.py
into /usr/local/ncpa/plugins/check_nvidiasmi.py - ensure
/usr/local/ncpa/etc/ncpa.cfg
configured to use python3 binary for plugin scripts
Usage
usage: check_nvidiasmi.py [-h] [-a RANGE] [-A RANGE] [-u RANGE] [-U RANGE] [-m RANGE] [-M RANGE] [-t RANGE] [-T RANGE] [-p RANGE] [-P RANGE] [-v]
NCPA plugin to check Nvidia GPU status using nvidia-smi
optional arguments:
-h, --help show this help message and exit
-a RANGE, --avg_gpu_warning RANGE
warning if threshold is outside RANGE for average of all GPUS
-A RANGE, --avg_gpu_critical RANGE
critical if threshold is outside RANGE for average of all GPUS
-u RANGE, --gpu_warning RANGE
warning if threshold is outside RANGE for any given GPU
-U RANGE, --gpu_critical RANGE
critical if threshold is outside RANGE for any given GPU
-m RANGE, --mem_warning RANGE
warning if threshold is outside RANGE for any given GPU
-M RANGE, --mem_critical RANGE
critical if threshold is outside RANGE for any given GPU
-t RANGE, --temp_warning RANGE
warning if threshold is outside RANGE for any given GPU
-T RANGE, --temp_critical RANGE
critical if threshold is outside RANGE for any given GPU
-p RANGE, --procs_warning RANGE
warning if threshold is outside RANGE for any given GPU
-P RANGE, --procs_critical RANGE
critical if threshold is outside RANGE for any given GPU
-v, --verbose increase verbosity (use up to 3 times)
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
File details
Details for the file ncpa-nvidiasmi-plugin-0.2.0.tar.gz
.
File metadata
- Download URL: ncpa-nvidiasmi-plugin-0.2.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c636d5044877b4cd854d298e745cafb56036dc461fb4af65e5f4305650aca9 |
|
MD5 | d12aeb49a90c915d6980e2c05230e3c6 |
|
BLAKE2b-256 | 22169e9934a2ea3d4781764dcd6f9a07fbe23ddb62b3078d9387b7160e1d0937 |
File details
Details for the file ncpa_nvidiasmi_plugin-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ncpa_nvidiasmi_plugin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05565f5781ae7400d122eee24ba847e514e26d7649f3cf3d473f497047427d68 |
|
MD5 | 459804742939c930113d97de4cb0ac03 |
|
BLAKE2b-256 | deac57c125f9b404019fa7d6442a4a1a71b18960b7c1327807ba0ac45334528a |