nv-l
[Top] [All Lists]

RE: [NV-L] NetView 7.1.4 - Nvdbformat Question

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] NetView 7.1.4 - Nvdbformat Question
From: "Evans, Bill" <Bill.Evans@hq.doe.gov>
Date: Wed, 17 Oct 2007 11:19:49 -0400
Delivery-date: Wed, 17 Oct 2007 20:54:26 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <455852.44977.qm@web52704.mail.re2.yahoo.com>
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>
References: <OFF62E5ED9.EFA41619-ON86257375.0073476E-86257375.0073715A@us.ibm.com> <455852.44977.qm@web52704.mail.re2.yahoo.com>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: AcgQYbaJIzAKdhzFTMWoh/K7qv3EywAbvrRg
Thread-topic: [NV-L] NetView 7.1.4 - Nvdbformat Question
 
Look at the sample interfaces.format especially these lines:
 
GROUPHEADER:<A NAME="${GROUPNAME}">
GROUPHEADER:<FONT SIZE=4></FONT><B><p>Vendor: ${GROUPNAME} ${NUMMATCH} interfaces</p></B
The NUMMATCH variable accumulates the count for the GROUP you define.  I think you would define a group for each previously known prefix and go from there. 
 
Bill Evans 


From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of ss cc
Sent: Tuesday, October 16, 2007 9:13 PM
To: Tivoli NetView Discussions
Subject: [NV-L] NetView 7.1.4 - Nvdbformat Question

All,
I'm using nvdbformat to create an inventory all devices being managed by NetView.
 
Our devices are located all over the world and and the first 4 characters of their host name tells you where they're physically located.
 
I'd like to use nvdbformat to count the number of devices per site but I can't figure out how to get it to key off of the first 4 characters of the Selection Name.
 
Example:
 
jfk1-01-rtr-01 ---> Syntrax = <JFK Airport>  <Area Number>  <Function>  <Number>
jfk1-01-rtr-02 ---> Syntrax = <JFK Airport>  <Area Number>  <Function>  <Number>
jfk1-01-rtr-03 ---> Syntrax = <JFK Airport>  <Area Number>  <Function>  <Number>
jfk1-01-rtr-04 ---> Syntrax = <JFK Airport>  <Area Number>  <Function>  <Number>
Total Number at JFK = 4
 
dfw1-10-rtr-01 ---> Syntrax = <Dallas Airport>  <Area Number>  <Function>  <Number>
dfw1-10-rtr-02 ---> Syntrax = <Dallas Airport>  <Area Number>  <Function>  <Number>
Total Number at DFW = 2

Is there a way to get nvdbformat to group and count devices based on the first 4 characters of the Selection Name?
Thanks for you help.
Stephanie


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
_______________________________________________
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