nv-l

[nv-l] DNS Testing Script?

2005-01-27 11:22:17
Subject: [nv-l] DNS Testing Script?
From: "Bursik, Scott {PBSG}" <Scott.Bursik AT pbsg DOT com>
To: "'Nv-L (nv-l AT lists.us.ibm DOT com)'" <nv-l AT lists.us.ibm DOT com>
Date: Thu, 27 Jan 2005 10:20:57 -0600
NetView 7.1.3 FP2 AIX


Have any of you written a script to test the resolution speed on your DNS? I
have been seeing some poor DNS resolution times and I am afraid that it is
starting to affect my NetView polling times. Netmon is falling behind on a
regular basis. We have MANY DNS domains so that complicates things.

Thanks!

Scott Bursik
PepsiCo Business Solutions Group

BTW, I am using this script to test netmon in case any of you out there are
interested. This was posted here some time in the past.

START SCRIPT HERE
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

#!/bin/ksh
#set -x
cat /dev/null > /usr/OV/log/netmon.trace
/usr/OV/bin/netmon -a 12
sleep 3
if [ -f /usr/OV/log/netmon.trace ]; then
  echo "Netmon is " `grep [-].*[:] /usr/OV/log/netmon.trace | wc -l `
"behind in status pinging";

else
  echo "Netmon is too busy to report now. Try later."

fi

exit

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
END SCRIPT HERE

<Prev in Thread] Current Thread [Next in Thread>