Build precise queries to find exactly what you need
Press ESC to close
— scripts/nagios/check_domain (revision 109964) +++ scripts/nagios/check_domain (working copy) @@ -83,6 +83,10 @@ then TYPE=dk-hostmaster WHOIS_SERVER=”whois.dk-hostmaster.dk” +elif [ ${DLTYPE} == ‘ca’ ]; +then + TYPE=ca + WHOIS_SERVER=”whois.cira.ca” else echo “We do not support this domain (not integrated). Sorry.” exit $STATE_UNKNOWN @@ -124,6 +128,10 @@ elif [ $TYPE == ‘afilias’ ]; then expiration=`cat ${FILE} | awk ‘/Expiration Date:/’ | cut -d ‘:’ -f2 | cut -d ‘ ‘ -f1` +# for .ca domains +elif [ $TYPE == ‘ca’ ]; +then +expiration=`cat ${FILE} | awk ‘/Expiry date:/’ | cut -d ‘:’ -f2` #for .ru domains elif [ $TYPE == ‘russia’ ]; then
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!