[Top] [All Lists]

RE: [nv-l] DNS or hosts file resolution

To: "'nv-l@lists.us.ibm.com'" <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] DNS or hosts file resolution
From: "Evans, Bill" <Bill.Evans@hq.doe.gov>
Date: Thu, 28 Oct 2004 17:46:21 -0400
Delivery-date: Thu, 28 Oct 2004 22:47:33 +0100
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

A slight extension to Jane's suggestion which, by the way, works perfectly. Cut and paste this to a shell script (or a single line) and you can avoid the typing.  The command will add the rule where the SmartSet editor won't allow cut and paste.  (Subject for a customer requirement). 

nvUtil a NotInDNS "Hosts not in DNS"  \
 "('IP Hostname' ~ '[1-9]{1,3}\.[1-9]{1,3}\.[1-9]{1,3}\.[1-9]{1,3}')"

PS, it even displayed the entries where I manually changed the label displayed on the icons. 

Bill Evans
Tivoli NetView Support for DOE

-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Jane Curry

Incidentally, I normally setup a non-DNS SmartSet that catches any hosts
that NetView finds that isn't in the DNS.  If you have dome the 5-day
NetView class, you will have seen this.  It's a horrible regular
_expression_ to type correctly but you basically create a SmartSet of
nodes whose hostname field is an IP address.  The _expression_ you want is
(I hope):
  ~   ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$

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

Archive operated by Skills 1st Ltd

See also: The NetView Web