glensc / monitoring-plugin-check_domain

Nagios/Icinga plugin for checking a domain name expiration date
78 stars 57 forks source link

The Script does not work properly with .com Domains #76

Closed Busindre closed 7 years ago

Busindre commented 7 years ago

Hi!.

The Script does not work properly with .com Domains

bash /usr/local/nagios/libexec/check_domain.sh -d  githubusercontent.com
UNKNOWN - WHOIS exited with error 1.

bash /usr/local/nagios/libexec/check_domain.sh -d  freetsa.org          
OK - Domain freetsa.org will expire in 119 days (2017-12-18). | domain_days_until_expiry=119;30;7

whois Version: RIPE Database Query Service version 1.89.2

Regards

glensc commented 7 years ago

duplicate of #75