nv-l
[Top] [All Lists]

RE: [nv-l] DNS Testing Script?

To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] DNS Testing Script?
From: "Stringfellow, William" <William.Stringfellow@bankofamerica.com>
Date: Thu, 27 Jan 2005 18:05:20 -0800
Delivery-date: Fri, 28 Jan 2005 02:06:01 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcUEjFSjjaECXH8/T1iRke9zH0q1ogAUAgiQ
Thread-topic: [nv-l] DNS Testing Script?
Scott,
        As Stephen noted, we took the approach of setting up a local DNS server 
on the Netview server and then used a script I wrote to create the DNS files 
from the Netview database itself.  This is combined with another script that 
automates nvadds and deletes and sequences through checking for valid 
address/netmask, updating the DNS server, then running loadhost with the input. 
 It also takes all objects that are removed and places them in a smart set so 
that you can just go in and give them a final look and wipe them out in 1 
bunch.  It even removes segments and networks when there are no longer any 
interfaces attached.
        It is sort of slick and we haven't really had a lot of problems since 
we put it in place.  

        Of course it took me about a year or more to finally listen to Lynn 
Bird, James Shanks and George DeSocio who had been recommending it as a 
resolution to many of the problems I had reported!  (Slow learner here).

        Good luck,
        Bill

Bill Stringfellow
EDS - Network Management Support
CA4-704-02-03
2000 Clayton Road, Building D
Concord, CA 94520

Office:     925.692.7283
Fax:        925.675.1763
Email:     william.stringfellow@eds.com
Cell:       925.765.2648

-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On
Behalf Of Bursik, Scott {PBSG}
Sent: Thursday, January 27, 2005 8:21 AM
To: 'Nv-L (nv-l@lists.us.ibm.com)'
Subject: [nv-l] DNS Testing Script?


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>

Archive operated by Skills 1st Ltd

See also: The NetView Web