nv-l
[Top] [All Lists]

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

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] DNS or hosts file resolution
From: "Federico Vidal" <fvidal@tecsystem.com.ar>
Date: Fri, 29 Oct 2004 09:51:51 -0300
Delivery-date: Fri, 29 Oct 2004 13:59:32 +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
Thread-index: AcS9NrU+aM9BUWpFQA69TV0KOj1gogAf9ocQ
Thread-topic: [nv-l] DNS or hosts file resolution
Thanks everybody who answered.
Actually this was just what i needed, another point of view.
 
Thanks again.
 
Federico Vidal
 
-----Mensaje original-----
De: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]En nombre de Evans, Bill
Enviado el: Jueves, 28 de Octubre de 2004 06:46 p.m.
Para: 'nv-l@lists.us.ibm.com'
Asunto: RE: [nv-l] DNS or hosts file resolution

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
301-903-0057

-----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