Thanks Stephen.
I'm employing something similar with "isFrameRelay".
Happy Holidays
Ray Westphal
Enterprise Rent-A-Car
-----Original Message-----
From: owner-nv-l@tkg.com [mailto:owner-nv-l@tkg.com]On Behalf Of Stephen
Hochstetler
Sent: Wednesday, December 12, 2001 1:54 PM
To: IBM NetView Discussion
Subject: Re: [NV-L] re: A Better Mousetrap? - nvdbformat
Ray,
I have done some similar work for routers that have ISDN lines. I will
give you the highlights of what I would do in a script.
1. You need a new boolean field defined in NetView such as
"hasFrameRelay".
2. You need a list of your router names in a file. You can get this from
NetView in a number of ways.
3. For every router, do an "ovobjprint" into a temporary file and grep
that file for the words "Frame Relay". If found, then set the
hasFrameRelay to TRUE. (I use nvdbimport to do this from a list of
selection names)
4. Use nvdbformat to select routers with the proper field values and
status.
Since I still have friends in Services that does this for a living, I am
not sending you the script.....but this should get you there.
Kind regards,
Stephen Hochstetler shochste@us.ibm.com
International Technical Support Organization - Austin
Office - 512-436-8564 FAX - 512-436-8701
ITSO redbooks at http://www.redbooks.ibm.com
|