Metadata-Version: 2.3
Name: elenchos-check-memory
Version: 0.1.0
Summary: A Élenchos command for checking total, available, used, and free memory.
License: MIT
Keywords: Élenchos,Elenchos,Memory
Author: Set Based IT Consultancy
Author-email: info@setbased.nl
Requires-Python: >=3.10.0,<4.0.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Systems Administration
Requires-Dist: elenchos (>=1.1.0,<2.0.0)
Project-URL: Documentation, https://github.com/NagiosElenchos/check-memory
Project-URL: Repository, https://github.com/NagiosElenchos/check-memory
Description-Content-Type: text/markdown

# Élenchos: Check Memory

A Élenchos command for checking total, available, used, and free memory.

## Installation and Configuration

Install Élenchos if not already installed:

```shell
cd /opt

mkdir elenchos
cd elenchos

python -m venv .venv
. .venv/bin/activate
pip install elenchos

mkdir bin
ln -s ../.venv/bin/elenchos bin/elenchos
```

Install the `check:memory` plugin:

```shell
cd /opt/elenchos
. .venv/bin/activate

pip install elenchos-check-memory
./bin/elenchos gather-commands
```

Create a configuration file `/etc/nrpe.d/check_memeory.cfg` for `nrpe`:

```
command[check_memory]=/opt/elenchos/bin/elenchos check:memory
```

Finally, restart the `nrpe` daemon:

```shell
systemctl reload nrpe
```

## License

This project is licensed under the terms of the MIT license.

