
Active Checks
check_expiration_rdap
Description:
Domain Expiration check. Uses the Registration Data Access Protocol (RDAP), does NOT use WHOIS. Python3.
Current Version
0.1
Last Release Date
2021-05-26
Compatible With
- Nagios 3.x
Owner
Download URL
License
MIT
Project Files
File | Description |
---|---|
nagios_check_domain_expiration_rdap.zip |
Project Notes
Checks how far is a domain from expiring. Uses the Registration Data Access Protocol (RDAP, supporting Bootstrap), does NOT use whois.
INSTALLATION DEPENDENCIES: pip3 install requests nagiosplugin
Works with many ccTLDs such as Argentina. It is compatible with a large number of TLDs. Allows to indicate warning/critical days-to-expiration ranges. By default CRITICAL < 15 days, WARNING < 30 days.
NOTE: I only tested with Nagios 3.x - If someone tests with other versions please let me know. Also, the rdap expiration event timestamp is split at the 'T' marker, thus ignoring time, date or timezone for expiration-today calculation this might introduce an error. I suggest running this plugin with these settings to avoid any potential bans from excessive rdap calls:
define service{
use generic-service
host_name localhost
service_description EXPIRATION example.net
check_command check_rdap_expire!example.net
check_interval 1440 ; Server are checked every 1 day when in OK state
retry_interval 180 ; Server checked every 3 hours if in problem state
max_check_attempts 3 ; Server checked 3 times to determine if its Up or Down state
}
define command{
command_name check_rdap_expire
command_line /usr/local/bin/check_rdap_expire $ARG1$
}
replace example.net and /usr/local/bin/check_rdap_expire according to your installation path.
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
3,441