Build precise queries to find exactly what you need
Press ESC to close
For anyone having issues with co.uk or any other domains, the fix is actually quite easy.
vi the script and edit this line:
elif [ $TYPE == ‘nic’ ]; then expiration=`cat ${FILE} | awk ‘/Expiration date:/’ | cut -d ‘:’ -f2`
Change Expiration to Expiry, so it should look like this.
elif [ $TYPE == ‘nic’ ]; then expiration=`cat ${FILE} | awk ‘/Expiry date:/’ | cut -d ‘:’ -f2`
———
Basically, what is occurring is that when the whois record is returned, the script is looking for the string “expiration date” which no longer exists.
And this fix works for any TLD that is not working. From the same nagios server, run a whois query: ‘ whois DomainName ‘ and see what the results turn back.
Then it is as simple as altering the check_domain script to match what is returned by whois.
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!