nv-l
[Top] [All Lists]

Re: [NV-L] CLI to determine whether or not IP address known ???

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] CLI to determine whether or not IP address known ???
From: Greg Keetch <gkeetch@ca.ibm.com>
Date: Thu, 12 Apr 2007 09:35:17 -0700
Delivery-date: Thu, 12 Apr 2007 17:37:43 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <20070412151231.GA19388@localhost.localdomain>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Hello,

The best tool I've found for querying the NetView object database for specific field values is the nvUtil SmartSet utility... In this case you could try something like this (Unix quoting here, so you may need to modify for Windows):

nvUtil e '((isInterface = true) && ("IP Address" = "192.168.1.200")'

This will return the Selection Name on Unix, and I believe the Object ID and Selection Name on Windows for an interface object with the specified IP Address. There is more you can do with this command which can be found in the manuals, or with something complicated, can be discovered by using the SmartSet GUI to create an example SmartSet that you can later view/modify the definition of.

Hope this helps.

Regards,
Greg Keetch
IT Specialist (Advisor), Network Services
Network Management Tools Specialist
Information Technology Services Americas (ITSA), Global Services, IBM Canada

-- I didn't say it was your fault... I said I was going to blame you.

Inactive hide details for Michael D Schleif <mds@helices.org>Michael D Schleif <mds@helices.org>


          Michael D Schleif <mds@helices.org>
          Sent by: nv-l-bounces@lists.ca.ibm.com

          04/12/2007 08:12 AM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

nv-l mailing list <nv-l@lists.ca.ibm.com>

cc


Subject

[NV-L] CLI to determine whether or not IP address known ???

    M$ Windows Server 2003; SP1
   NV v7.1.4; FP04

Given a list of IP addresses, is there a CLI to determine whether or not
each address is already know to Netview, and already in the object
database?

ovobjprint appears to accept ONLY Selection Names.

Yes, I can dump the entire object DB, and query against the dump; but, I
would rather query by each individual address.

What do you think?

--
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--
(See attached file: signature.asc)_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

GIF image

Attachment: signature.asc
Description: Binary data

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web