nv-l
[Top] [All Lists]

RE: [nv-l] dump devices script?

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] dump devices script?
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Wed, 1 Oct 2003 11:55:42 -0500
Delivery-date: Wed, 01 Oct 2003 18:01:15 +0100
Envelope-to: ajf@ourshack.com
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l-digest@lists.us.ibm.com
Thread-index: AcOIOZqVlFIM2dI1QYS1HyNZfl2k3gAAyLPw
Thread-topic: [nv-l] dump devices script?
Try /usr/OV/conf/nvdbtools/nvdbformat
 
You can create a report format with selection criteria. Works like a hundred bucks.
 
If you use it on solaris do a ulimit -s unlimited or it will core dump
-----Original Message-----
From: owner-nv-l-digest@lists.us.ibm.com [mailto:owner-nv-l-digest@lists.us.ibm.com]On Behalf Of Milton.W.Bridges@kp.org
Sent: Wednesday, October 01, 2003 11:03 AM
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] dump devices script?


Karl:

ovobjprint is probably you best approach to view the contents of the object database.  You may try writing a PERL script that parses the contents of a file created by running ovobjprint.  This script should parse each line looking for the following "Selection Name" and "isRouter" (if TRUE).  Sorry, I don't have anything to offer as far as a script, but this may shed some light.

Hope this helps.

-Milt

Milton W. Bridges III
Network Automation Systems Programmer
Kaiser Permanente IT National Operations
Enterprise Automation Services, Design and Engineering
(909)739-5339
8-395-5339



"Karl Prinelle" <Karl.Prinelle@elyzium.co.uk>
Sent by: owner-nv-l-digest@lists.us.ibm.com

10/01/2003 07:09 AM
Please respond to nv-l

       
        To:        <nv-l@lists.us.ibm.com>
        cc:        
        Subject:        [nv-l] dump devices script?



Hi list,

I've been searching around to see if there is a script available to dump
the contents of the object db to a flat file to save me starting from
scratch?  I need to filter to only include switches/routers (and maybe
servers one day) and only select a few fields for each device.

If anyone has a script that is post-able (directly if necessary), it
would be appreciated.  If not, I'm working on the basis that parsing the
output from ovobjprint is the best approach (no RIM / sql database I'm
afraid) - does anyone have a different view?

Any pointers much appreciated

Thanks

K

------------------------------------------------------------------------
--
Karl Prinelle
Elyzium Ltd
Office: +44 (0)1753 515000
Mobile: +44 (0)7813 189198

E-mail:  <mailto:karl.prinelle@elyzium.co.uk>
karl.prinelle@elyzium.co.uk

Website:www.elyzium.co.uk

------------------------------------------------------------------------
---
Elyzium Disclaimer:
This email transmission is confidential and intended solely for the
person
or organisation to whom it is addressed. If you are not the intended
recipient, you must not copy, distribute or disseminate the information,
or
take any action in reliance of it. Any views expressed in this message
are
those of the individual sender, except where the sender specifically
states
them to be the views of any organisation or employer. If you have
received
this message in error, do not open any attachment but please notify the
sender
(above) deleting this message from your system. Please rely on your own
virus
check no responsibility is taken by the sender for any damage arising
out of
any bug or virus infection.
------------------------------------------------------------------------
---





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

Archive operated by Skills 1st Ltd

See also: The NetView Web