Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
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
Owner
Arturo Busleiman
Website
https://github.com/buanzo/check_expiration_rdap
Download URL
https://github.com/buanzo/check_expiration_rdap/raw/main/dist/nagios/nagios_check_domain_expiration_rdap.zip
License
MIT
Compatible With
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.
You must be logged in to submit a review.
To:
From: