feat: Add check_ping

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2023-09-21 19:58:26 +02:00
commit 234c6c46db
No known key found for this signature in database
GPG key ID: A2EB1F2CA8E3F677
5 changed files with 127 additions and 2 deletions

View file

@ -14,6 +14,21 @@ pip install -r requirements.txt
Create OVHcloud API tokens following [this guide](https://github.com/ovh/python-ovh).
# check_ping
Ensures basic configuration has succeeded. This command can be defined as
dependency of all other ones.
```
./check_ping --help
```
Example of configuration:
```
command[check_ping]=/opt/check_ovhcloud/check_ping
```
# check_voip
For each VoIP lines associated to the account, detect the last registration time: