Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
kquigley
bykquigley, January 21, 2014
Since the last couple of days - the .org domain checks are failing. I fixed this with the following simple edits:
Change: (from around line 100)
elif [ $TYPE == 'pir' ];
then
expiration=`cat ${FILE} | awk '/Expiration Date:/' | cut -d ':' -f2 | cut -d ' ' -f1`
To:
elif [ $TYPE == 'pir' ];
then
#Registry Expiry Date
expiration=`cat ${FILE} | awk '/Registry Expiry Date:/' | cut -d ':' -f2`
Change: (from around line 100)
elif [ $TYPE == 'pir' ];
then
expiration=`cat ${FILE} | awk '/Expiration Date:/' | cut -d ':' -f2 | cut -d ' ' -f1`
To:
elif [ $TYPE == 'pir' ];
then
#Registry Expiry Date
expiration=`cat ${FILE} | awk '/Registry Expiry Date:/' | cut -d ':' -f2`