nv-l

RE: [NV-L] ruleset

2007-05-03 13:38:06
Subject: RE: [NV-L] ruleset
From: "Evans, Bill" <Bill.Evans AT hq.doe DOT gov>
To: "Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
Date: Thu, 3 May 2007 13:23:28 -0400
Use an Action node to execute a shell script and check the time before
sending the e-mail.  It doesn't matter if the rule fires as long as the
e-mail is not sent.  For example, if you do maintenance between two and
three in the AM:  

    Hour=`date +%H` # hour as 00-24
    if [ ${Hour} -eq 2 ]
       then exit
       else echo "Message" | mail Catalina.Martinez AT work DOT com 
       fi

Bill Evans
    
-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com
[mailto:nv-l-bounces AT lists.ca.ibm DOT com] On Behalf Of Catalina Martinez
Sent: Thursday, May 03, 2007 12:47 PM
To: Tivoli NetView Discussions
Subject: [NV-L] ruleset

Hello,

 

How do I set up a ruleset not to run between a certain time (during in a
backups).

 

I have a ruleset that will forward an email when servmon detects a
service goes down. Between midnight-4am, we have backup running and of
course most of the services are shutdown.. I don't want to get emails
during that time.

 

Thanks

Catalina

AIX 5.2 Netview 7.1.5



_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)

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