nv-l
[Top] [All Lists]

Re: Node Up/Down Traps

To: nv-l@lists.tivoli.com
Subject: Re: Node Up/Down Traps
From: lclark@us.ibm.com
Date: Wed, 8 Mar 2000 06:52:14 -0500

The easiest way is to use the nvdbimport command. If you have a file that
looks like this:

IP Hostname,MaintnenanceTime
ServerA,TRUE
ServerB,TRUE
ServerC,TRUE

and run 'nvdbimport -f <name of this file>'

then Netview will create the field on those nodes and set it to true. You
could further
automate the generation of that file by maintaining a list-type collection
of the servers
involved and use nvUtil in a script to generate the file used by
nvdbimport. Remember
that you will need to set the field to false later, so you will want to
make two files while
you are at it. See the man page for nvdbimport. There are a bunch of
samples in
/usr/OV/bin/nvdbtools. This is wonderful stuff!

If you also want to be able to use the field for locating things, you need
to define the field
yourself and give it the Locate capability. Then nvdbimport will just use
the one you
made. The fields are in /usr/OV/fields/C. Make a file of your own in there,
and copy
a little stanza from one of the other files. You want to define a boolean
field, and the
only flag you need is Locate. After changes to fields you need to do the
ovw -fields.
Making fields is documented in the Programmer's Guide online manual.

If you take this extra step, you will further be able to use the field to
define a Collection
that contains things for which MaintenanceTime is True. So if they are red
...etc.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
====================================================================

Leslie,

I like the idea, but this means that I must create a field called :
MaintWindow
(Or whatever) for the nodes in my Maintenance collection.

How do I create this field?

Regards
Wouter de Bruin
Network Management Consultant
`Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van
verplichtingen`

`Any e-mail messages from The Nederlandsche Bank are given in good faith
but shall not be binding
nor shall they be construed as constituting any obligation on the part of
the Bank.`


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web