Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin will do a whois lookup on a given domain and return the number of days remaining until it expires.
Current Version
1.1
Last Release Date
2012-05-15
Owner
Jim Markgraf
Website
http://www.jamesmarkgraf.com
Download URL
http://www.jamesmarkgraf.com/downloads/
License
GPL
Compatible With
Usage: $USER1$/check_domain.pl -d domainname.tld -w int -c int
Version history: 1.0: initial release 1.0a: minor regex bug fix 1.1: major regex updates
if ($whois =~ m/expir.*?((# dd-Mon-yy d{2}-w{3}-(d{4}|d{2})| #Jul 11 23:59:59 GMT 2013 w{3}sw{3}sd{2}sd{2}:d{2}:d{2}sw{3}sd{4}| # dd Mon yyyy d{2}sw{3}sd{4}| # yyyy-mm-dd d{4}-w{2}-d{2}))/xi or $whois =~ m/status:.*OK-UNTILs((d{8}))d{6}/xi or $whois =~ m/paid-till.*?((d{4}.d{2}.d{2}))/xi ) { $edate = $1; } else { print "Unknown - $domain expiration date not found. "; exit 3; }
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!