nv-l

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

2004-10-29 08:59:32
Subject: RE: [nv-l] DNS or hosts file resolution
From: "Federico Vidal" <fvidal AT tecsystem.com DOT ar>
To: <nv-l AT lists.us.ibm DOT com>
Date: Fri, 29 Oct 2004 09:51:51 -0300
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 AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT com]En nombre de Evans, Bill
Enviado el: Jueves, 28 de Octubre de 2004 06:46 p.m.
Para: 'nv-l AT lists.us.ibm DOT 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 AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT 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>