Collection of Nagios checks for an OVHcloud account
Find a file
Julien Riou c80e22482e
Add check_voip
Signed-off-by: Julien Riou <julien@riou.xyz>
2023-09-21 18:27:13 +02:00
lib Add check_voip 2023-09-21 18:27:13 +02:00
.gitignore Add check_voip 2023-09-21 18:27:13 +02:00
.pre-commit-config.yaml Add check_voip 2023-09-21 18:27:13 +02:00
check_voip Add check_voip 2023-09-21 18:27:13 +02:00
LICENSE Initial commit 2023-09-21 17:12:48 +02:00
README.md Add check_voip 2023-09-21 18:27:13 +02:00
requirements.txt Add check_voip 2023-09-21 18:27:13 +02:00
VERSION Add check_voip 2023-09-21 18:27:13 +02:00

OVHcloud Nagios collection

Nagios checks for OVHcloud services.

Installation

Using pip:

python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt

Create OVHcloud API tokens following this guide.

check_voip

For each VoIP lines associated to the account, detect the last registration time:

./check_voip --help

Example of configuration:

command[check_voip]=/opt/check_ovhcloud/check_voip -w 7200 -c 86400

Contributing

pip install pre-commit
pre-commit run --files check_*