UPDATE 2024-04-26: Added support for .cloud (same as .net). Bumped version 1.2.2. /Jack-Benny Persson. UPDATE 2017-09-07: Updated .net and .com since they changed the whois format / Jack-Benny Persson. UPDATE 2015-03-27: I've found the original plugin (still maintained by Elan) on GitHub at https://github.com/glensc/nagios-plugin-check_domain. It has improved much more than this one so I've contributed the minor additions from this repo upstream and am going to switch to that version. If you want to use this version because you find it simpler, that is fine. I won't be deleting it. I will test and accept pull requests, but won't be doing much more. If you want to add a TLD to either this or nagios-plugin-check_domain, the best thing to do is create an issue on the original repo (linked above). -Ryan ----- This is a Nagios plugin to check the expiration date of a domain name. It uses the "whois" command, which usually comes as a "whois" package. Debian/Ubuntu: apt-get install whois RHEL/CentOS: yum install jwhois Original version had this copyright notice in it: Copyright (c) 2005 Tomàs Núñez Lirola <tnunez@criptos.com>, 2009-2012 Elan Ruusamäe <glen@delfi.ee>, under GPL License Ryan found it hosted at: http://git.pld-linux.org/gitweb.cgi/?p=packages/nagios-plugin-check_domain.git This is a fork, hosted at https://github.com/Elyrith/check_domain Currently supports .com, .ca, .tv, .ee, .ru, .net, .nu, .se, .org Support for .ca and .se by Ryan Loudfoot (elyrith@gmail.com) Support for .net, .nu and .org by Jack-Benny Persson (jack-benny@cyberinfo.se) Support for Performance Data by Ryan Loudfoot If you would like to add a TLD, send me the code or a pull request. If you want me to add one, let me know and I'll see what I can do.
Description
Nagios script to check website domain expiration. Supports .com, .ru, .ee, .tv, .ca, and .se.
Languages
Shell
100%