[NV-L] NetView 7.1.4 - Nvdbformat Question

2007-10-16 21:58:53
Subject: [NV-L] NetView 7.1.4 - Nvdbformat Question
From: ss cc <steph_cornish AT yahoo DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Tue, 16 Oct 2007 18:12:42 -0700 (PDT)
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.
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.

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)