forked from bortzmeyer/check_expire
33 lines
909 B
Markdown
33 lines
909 B
Markdown
# check_expire
|
|
|
|
A Nagios (and compatible) plugin to check the impending expiration of a domain name. It relies on RDAP exclusively (no whois) and works with every top-level domain with RDAP (which includes all the ICANN ones).
|
|
|
|
## Usage
|
|
|
|
check_expire follows the usual Nagios rules. The options are:
|
|
|
|
* -H: domain name to monitor
|
|
* -c: critical threshold in days
|
|
* -w: warning threshold in days
|
|
* -v: verbose details in output
|
|
|
|
## Installation
|
|
|
|
You need Python 3 and [Requests](http://python-requests.org/). You can install Requests, for instance, with pip `pip3 install requests`.
|
|
|
|
Then, copy the script `check_expire` and the file `ianardap.py`to the directory of local plugins.
|
|
|
|
## License
|
|
|
|
GPL. See LICENSE.
|
|
|
|
## Authors
|
|
|
|
Stéphane Bortzmeyer <stephane+chapril@bortzmeyer.org>.
|
|
|
|
## Reference site
|
|
|
|
https://forge.chapril.org/bortzmeyer/check_expire Use the Gitea issue tracker to report bugs or wishes.
|
|
|
|
|