Internet Domains and WHOIS

check_domain.tcl

Description:

Yet another plugin to check domain names expiration against whois servers. This one supports .am, .asia, .biz, .ci, .cn, .com, .edu, .info, .me, .net, .org, .ru, .ua domains, but please leave a comment if you want another tld added.

This script can check multiple domains, which may prove convenient if you need to generate a single alert when a group of domains expire simultaneously.

Domains may be directly mentioned as script parameters and / or within files.

Current Version

0.5

Last Release Date

2014-08-29

Compatible With

License

GPL


Project Notes
Disclaimer: *requires tclsh in PATH* Supports .am, .asia, .biz, .ci, .cn, .com, .edu, .info, .me, .net, .org, .ru, .ua domains. Please leave a comment if you want another tld added. Usage: check_domain-0.5.tcl -c crit_days -f domains1.lst -f domains2.lst -s sleep -t timeout -w warn_days domain1 domain2 ... (all parameters optionals) Details: -h: print help -c num: maximum # of days for critical status (default: 7) -w num: maximum # of days for warning status (default: 28) -t num: timeout - if whois query lasts more than timeout, it is interrupted and the state of the queried domain becomes 'warning' -s num: some whois servers won't allow burst of queries, and reply to these with no exploitable informations. This parameter allows the script to sleep between queries so as to prune it's queries rate. Domains may both be mentioned as arguments or within files. Exemples: * check_domain.tcl example.com * check_domain.tcl -f file (where file contains one domain name per line) * check_domain.tcl -f book_my_name_file -f gandi_file -f praise_on_file espci.fr
Reviews (3) Add a Review
Add some, please
by gsi0, May 31, 2014

Could you just add: .ua .com.ru .me .am and russian ?? zone, please? ?? zone is something like this: XN--B1AEKHQGB9C.XN--P1AI Thanks!



I have a question. I am this close in making the plugin work.
by gromitracer, May 31, 2014

I am trying to make the plugin read from a file that has the full list of domains but I cannot make it to work. I also tried to check a DNS individually but it failed as well :( Help? In the commands.cfg file I have it as: 'check_domain' command definition define command command_name check_domain command_line $USER1$/check_domain -f $ARG1$ -w $ARG2$ -c $ARG3$ } n the localhost.cfg file I have it as: ##########DOMAIN-CHECK#### define service{ use generic-service ; Name of service template to use host_name localhost service_description Domain Exp Date check_command check_domain!f!30!10 }



add .nl whois
by djansen1987, December 31, 2013

Dear, Could you please help me adding .nl to the check ? Thanks in advanced! i found this whois server: whois.domain-registry.nl



Project Stats
Rating
5 (3)
Favorites
0
Views
36,563