This repository contains some basic but useful checks to monitor :
- Uptime.
- Ram usage.
- Disk usage.
- Process status.
All scripts are written in the Python programming language. They use the excellent psutil module for maximum portability. There's also included a template that you can use as a starting point to code a check.
All Radar checks provide help from the command line by passing the -h (or --help) command line argument.
These set of checks rely on the psutil to properly work. As long as psutil is supported on your platform you'll be able to run them without issues.
Clone this repository to a temporary directory using GIT (or alternatively download as .zip), and run :
git clone https://github.com/lliendo/Radar-Checks.git
cd Radar-Checks
python setup.py install
Now manually copy the checks you want to use to your Radar's client checks directory.
Radar-Checks uses Nose to run its tests. To install Nose, from the command line run :
pip install nose
To run the tests, clone this repository and run Nose :
git clone https://github.com/lliendo/Radar-Checks.git
cd Radar-Checks
nosetests
Radar checks are distributed under the GNU LGPLv3 license.
- To Giampaolo Rodola for its psutil module.
- Lucas Liendo.