https://github.com/ewypych/icinga-domain-expiration-plugin
Icinga2/Nagios plugin for checking domain expiration
https://github.com/ewypych/icinga-domain-expiration-plugin
bash domain domains icinga-plugin icinga2 icinga2-plugin nagios-plugin whois
Last synced: 3 months ago
JSON representation
Icinga2/Nagios plugin for checking domain expiration
- Host: GitHub
- URL: https://github.com/ewypych/icinga-domain-expiration-plugin
- Owner: ewypych
- License: mit
- Created: 2017-03-12T15:18:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T10:16:56.000Z (over 3 years ago)
- Last Synced: 2025-07-01T11:55:07.295Z (12 months ago)
- Topics: bash, domain, domains, icinga-plugin, icinga2, icinga2-plugin, nagios-plugin, whois
- Language: Shell
- Size: 52.7 KB
- Stars: 26
- Watchers: 1
- Forks: 26
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ICINGA2 Check Domain Expiration plugin
======================================
This plugin has been created especially for Icinga2, but it is compatible with Nagios 4 too. Plugin checks expiration date of domain and informs how many days are left until domain expires. In the "command" directory you find examples of command definitions for both Nagios and Icinga2.
Example of use
--------------
```sh
./check_domain_expiration.sh -d google.com -w 60 -c 30
or
./check_domain_expiration.sh -d youdomain.com.au -s crazydomains.com
```
Requirements
------------
Plugin requires the following packages installed on your Icinga/Nagios node:
* WHOIS
* AWK
Supported Top-level Domains
----------------------------
* com
* pl
* org
* info
* net
* center
* pro
* me
* su
* studio
* nu
* ru
* xn--p1ai (рф)
* moscow
* se
* asia
* art
* cz
* fr
* re
* yt
* tf
* pm
* shop
* tv
* ua
* im
* uk
* co.uk
* tech
* co
* digital
* br
* it
* club
* ie
* id
* dev
* io
* rocks
* space
* us
* in
* fm
* xyz
Supported Whois Servers
* whois.crazydomains.com
* whois.cloudflare.com
* whois.drs.ua, whois.pp.ua, whois.biz.ua
License
-------
[MIT](https://tldrlegal.com/license/mit-license)
Author
------
[Emil Wypych](https://emilwypych.com) [@gmail](mailto:wypychemil@gmail.com)
[Github Repo](https://github.com/ewypych/icinga-domain-expiration-plugin)