nv-l
[Top] [All Lists]

Re: Node Up/Down Traps

To: nv-l@lists.tivoli.com
Subject: Re: Node Up/Down Traps
From: Ray Schafer <schafer@tkg.com>
Date: Wed, 08 Mar 2000 08:53:25 -0600
W.M.de.Bruin@DNB.NL wrote:

> Ray,
>
> You said you used a cron-job to do a demand-poll.
> What command do you use to initiate a demand-poll?

It was a script something like this:

#!/bin/ksh
/usr/OV/bin/nmdemandpoll $(/usr/OV/bin/nvUtil l Collection_Name) >/dev/null
2>&1

where Collection_Name is the name of the collection of the nodes whose
maintenance window just closed.


A caveate:  If you are trying to do this on a bunch of machines, or when
netmon is busy doing daily checks, it may take a while to complete.  If the
output of

     /usr/OV/bin/nvUtil l Collection_Name

is greater than 4096 characters, you will have a problem with the command.
You'll have to feed the output into a loop that does one demand poll at a
time.  However, if it's just less than a couple dozen nodes, it should be
OK.


> 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.`
>
> _________________________________________________________________________
>
> NV-L List information (unsubscribing, policies, posting, digest version,
> searchable archives): http://www.tkg.com/nv-l

--
Ray Schafer                   | schafer@tkg.com
The Kernel Group              | Distributed Systems Management
http://www.tkg.com


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

Archive operated by Skills 1st Ltd

See also: The NetView Web