nv-l

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

2007-10-18 00:10:20
Subject: RE: [NV-L] NetView 7.1.4 - Nvdbformat Question
From: ss cc <steph_cornish AT yahoo DOT com>
To: Tivoli NetView Discussions <nv-l AT d25lcore003.mkm.can.ibm DOT com>
Date: Wed, 17 Oct 2007 16:51:24 -0700 (PDT)
Bill,
I reviewed and ran interfaces.format yesterday and still can't figure out how GROUPNAME is associated with vendor names.  Does it get it form GROUPBY?
 
SELECTRULE:isInterface=TRUE
SELECTRULE:TopM Node ID:vendor^Unset
SELECTFIELD:1:IP Address
SELECTFIELD:2:IP Subnet Mask
SELECTFIELD:3:SNMP ifPhysAddr
SELECTFIELD:4:TopM Node ID:Selection Name
SELECTFIELD:5:SNMP ifDescr

GROUPBY:1:TopM Node ID:vendor
#
SORTBY:1:IP Address
GROUPHEADER:<A NAME="${GROUPNAME}">
GROUPHEADER:<FONT SIZE=4></FONT><B><p>Vendor: ${GROUPNAME} ${NUMMATCH}
 


"Evans, Bill" <Bill.Evans AT hq.doe DOT gov> wrote:
 
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 AT lists.ca.ibm DOT com [mailto:nv-l-bounces AT lists.ca.ibm DOT 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 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)

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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