nv-l
[Top] [All Lists]

RE: Node Up/Down Traps

To: nv-l@lists.tivoli.com
Subject: RE: Node Up/Down Traps
From: "John Creasey" <creasey@ozemail.com.au>
Date: Thu, 9 Mar 2000 05:31:30 +1100
Ooh thats nifty.
I never knew about nvUtil.

BTW if your going over the max number of command line parameters
the easiest way to fix it is to pipe things through xargs.

I'd run it like this
/usr/OV/bin/nvUtil l Collection_name | xargs /usr/OV/bin/nmdemandpoll


John Creasey.

> -----Original Message-----
> From: owner-nv-l@tkg.com [mailto:owner-nv-l@tkg.com]On Behalf Of Ray
> Schafer
> Sent: Thursday, 9 March 2000 01:53
> To: IBM NetView Discussion
> Subject: Re: [NV-L] Node Up/Down Traps
> 
> 
> 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
> 
> 
> 
> ______________________________________________________________
> ___________
> 
> NV-L List information (unsubscribing, policies, posting, 
> digest version,
> searchable archives): http://www.tkg.com/nv-l
> 


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

Archive operated by Skills 1st Ltd

See also: The NetView Web