Was writing a report to pull info about all of the nodes in our Netview
6.0.3 object database. Since ovdbformat is so slow I am grepping the data
from ovobjprint to gen the report. The report turned out great except for 2
nodes that broke the script because they have duplicate fields. I have
never seen this before. Has anyone experienced duplicate fields in their
object DB?
Here's the ovobjprint from both:
MCCORE01 has 2 SNMPAgent fields.
> ovobjprint -s MCCORE01
OBJECTID SELECTION NAME
OBJECT: 8795
FIELD ID FIELD NAME FIELD VALUE
10 Selection Name "MCCORE01"
11 IP Hostname "MCCORE01"
14 OVW Maps Exists 1
15 OVW Maps Managed 1
74 IP Status Marginal(3)
77 isIPRouter TRUE
104 vendor cisco Systems(12)
115 isNode TRUE
117 isComputer TRUE
118 isConnector TRUE
119 isBridge FALSE
120 isRouter TRUE
121 isHub FALSE
122 isRepeater TRUE
141 routerSysName "MCCORE01.cgs.com"
142 isIP TRUE
159 isSNMPSupported TRUE
161 SNMP sysDescr "Cisco Internetwork
Operating System Software
IOS (tm) L3 Switch/Router Software (C8510-IN-M), Version 12.0(1a)W5(6f),
RELEASE SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Wed 02-Jun-99 11:16 by integ"
162 SNMP sysLocation ""
163 SNMP sysContact ""
164 SNMP sysObjectID
"1.3.6.1.4.1.9.1.190"
165 SNMPAgent Cisco Switch(372)
170 isMLM FALSE
171 isSYSMON FALSE
172 isSIA FALSE
173 isManager FALSE
175 isSLM FALSE
176 isSIAOS2 FALSE
208 TopM Interface Count 41
214 TopM Interface List "Port-channel1 Up
10.6.161.252 255.255.254.0 0x00503EFB460F et
hernet csmacd "
[Rest of Int List removed for brevity's sake]
225 XXMAP Protocol List "IP"
581 IP Name "MCCORE01"
165 SNMPAgent Cisco Switch(372)
1713 default IP Symbol List 65290
[Rest of ovobprint...]
WVLHMRT01 has 3 vendor fields.
> ovobjprint -s WVLHMRT01
OBJECTID SELECTION NAME
OBJECT: 1358
FIELD ID FIELD NAME FIELD VALUE
10 Selection Name "WVLHMRT01"
11 IP Hostname "WVLHMRT01"
14 OVW Maps Exists 1
15 OVW Maps Managed 1
74 IP Status Normal(2)
77 isIPRouter TRUE
104 vendor cisco Systems(12)
115 isNode TRUE
118 isConnector TRUE
119 isBridge FALSE
120 isRouter TRUE
121 isHub FALSE
141 routerSysName
"Lanham.tco.cgs.com"
142 isIP TRUE
159 isSNMPSupported TRUE
161 SNMP sysDescr "Cisco Internetwork
Operating System Software
IOS (tm) C2600 Software (C2600-D-M), Version 12.0(4)T, RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Wed 28-Apr-99 16:34 by kpma"
162 SNMP sysLocation ""
163 SNMP sysContact ""
164 SNMP sysObjectID
"1.3.6.1.4.1.9.1.186"
165 SNMPAgent Cisco Router(371)
170 isMLM FALSE
171 isSYSMON FALSE
172 isSIA FALSE
173 isManager FALSE
175 isSLM FALSE
176 isSIAOS2 FALSE
208 TopM Interface Count 5
214 TopM Interface List "Loopback0 Up
172.22.1.17 255.255.255.255 <None> Softw
are Loopback "
[Rest of Int List removed for brevity's sake]
225 XXMAP Protocol List "IP"
581 IP Name "WVLHMRT01"
1713 default IP Symbol List 4217
4218
4219
4220
4221
4222
382268
391069
391070
429467
429472
104 vendor cisco Systems(12)
James Farrow
481-1555
jamesfarrowii@nisource.com
|