Build precise queries to find exactly what you need
Press ESC to close
Please let me know it this code to add is ok:
elif [ ${DLTYPE} == ‘it’ ]; then TYPE=italy WHOIS_SERVER=”whois.nic.it” . . . . elif [ $TYPE == ‘italy’ ]; then day=`cat ${FILE} | awk ‘/Expire Date:/’ | cut -d ‘:’ -f2 | cut -d ‘ ‘ -f9 | cut -d ‘-‘ -f3` month=`cat ${FILE} | awk ‘/Expire Date:/’ | cut -d ‘:’ -f2 | cut -d ‘ ‘ -f9 | cut -d ‘-‘ -f2` year=`cat ${FILE} | awk ‘/Expire Date:/’ | cut -d ‘:’ -f2 | cut -d ‘ ‘ -f9 | cut -d ‘-‘ -f1` expiration=$day-$month-$year
sometimes the server responds only with te status (without expire date), but I think it depends on how many queries per hour it receives from the same source IP. Thank you
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!