The output of ovobjprint is not valid input for nvdbformat. There are
examples provided in the \usr\OV\conf\nvdbformat directory. The
nvdbformat program executes against the object database and not against
the output off ovobjprint.
HTH
Bill Evans
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]
On Behalf Of usman.taokeer@s-iii.com
Sent: Wednesday, January 18, 2006 5:04 AM
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Commands?
James,
NV 7.1.4 FP3 on Windows 2000 Server SP4
Tried using the nvdbformat using ovobjprint's output as input file for
it
but it gives the following error ? Any reason why?
Error. Cannot decipher line purpose of line 0:Number of objects
defined
in the database: 520
Error. Cannot decipher line purpose of line 3:OBJECT: 276 Error.
Cannot decipher line purpose of line 4:
Error. Cannot decipher line purpose of line 5: FIELD ID FIELD
NAME FIELD VALUE
Error. Cannot decipher line purpose of line 6: 10
Selection
Name "IP Internet"
Error. Cannot decipher line purpose of line 7: 14 OVW
Maps
Exists 1
Regards,
~Usman
James Shanks <jshanks@us.ibm.com>
Sent by: owner-nv-l@lists.us.ibm.com
12-12-05 10:40 PM
Please respond to
nv-l@lists.us.ibm.com
To
nv-l@lists.us.ibm.com
cc
Subject
Re: [nv-l] Commands?
Hello Kelly,
I am sorry but there are no built-in NetView commands to provide the
information you seek.
With regard to routers, NetView has an isRouter field on objects in his
data base. You can print the entire object database with the ovobjprint
command --- just redirect it to a file "ovobjprint >
my.object.database.txt" and then you can massage it any way you like.
Or you can use nvdbformat to create a report. See the man page on
nvdbformat if you are UNIX; the Programmer's Reference on Windows.
With regard to servers, NetView does not identify servers by default.
It does provide the servmon daemon to monitor certain types of servers.
but you have to configure that. If you have done so, then it will
create smartsets for those servers it monitors. You can use "nvUtil L"
to get a list of smartsets on UNIX; "smartsetutil L" on Windows. If any
in that list are groups of your servers, then you can issue s"nvUtil l
<smartset_name>" to get a list of members; substituting smartsetutil on
Windows. Once again nvdbformat can be used to put this information into
a report.
As for locations, the word "location" is a technical term in NetView.
Technically it refers to a "container" or grouping of objects on the map
by
IP Address. Is that what you meant by "location", or did you mean the
colloquial sense of term, "everything in one physical place"? NetView
has no means of keeping track of the latter by default, unless your
devices
are
configured to return some specific value for the sysLocation SNMP
filed. If they are, then ovobjprint of nvdbformat will help. If not,
then you
are
out of luck. Even if you meant the term in the technical NetView
sense,
you'd still have to get the objects from that location container, which
is a bit tricky using those tools.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
"Kelly Root"
<kelly.root@hewit
t.com>
To
Sent by: nv-l@lists.us.ibm.com
owner-nv-l@lists.
cc
us.ibm.com
Subject
[nv-l] Commands?
12/12/2005 12:10
PM
Please respond to
nv-l
I need to find out how many routers and servers Netview manages. What
is the command?
I also need a report on what Netview is managing in a specific location.
What is the command to get this information?
Kelly Root
Hewitt Associates
kjroot@hewitt.com
The information contained in this e-mail and any accompanying documents
may
contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited.
|