nv-l
[Top] [All Lists]

Re: Executing a Ruleset at some hours

To: nv-l@lists.tivoli.com
Subject: Re: Executing a Ruleset at some hours
From: Tim Johnson <ttjohns@IBM.NET>
Date: Wed, 3 Jun 1998 22:06:01 +0100
In-reply-to: <199806032038.TAA26105@proxy.jet.es>
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView et alia <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView et alia <NV-L@UCSBVM.UCSB.EDU>
I guess you could call an inline action such as a shell script to get the
hour from the date command. Then exit passing the hour as the exit
parameter. In the condition check for the inline action you could check
whether the returned code was > 6 and less than 22.


At 21:37 03/06/1998 +0000, you wrote:
>Hi all:
>
>Does anybody tell us how could we put a time condition in a
>Ruleset Action.
>
>For Example. If the event that start the ruleset arrives beetween 6
>a.m. and 22 p.m, the action is a call with a pager. If it arrives
>beetween 22 p.m. and 6 a.m., the action is do nothing.
>
>Thanks for all.
>
>
>Luis Romero Huerta
>Michelin Spain Telecom Dept
>Phone +34 83 369034
>Fax +34 83 369034
>Email Romero-Huerta@Michelin.com
>      koldor@jet.es
>
>

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

Archive operated by Skills 1st Ltd

See also: The NetView Web