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
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 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)
|