It is currently 16 Dec 2017 2:24


Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 06 Jun 2007 8:15 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Jan 2007 12:00
Posts: 6
How can we set the parameter for the GAS to keep alerts for max 3 months then delete anything after 3 months or can we automate this via a job in control-m.


Top
   
 Post subject:
PostPosted: 06 Jun 2007 4:04 
Offline
Nouveau
Nouveau
User avatar

Joined: 26 Apr 2005 12:00
Posts: 696
Location: PARIS
Hi Andrew

There is a script existing in the download part to clean al messages in the GAS. Delalarm V1.00

I'm going to see if the parameter to keep a max of 3 months exist.


Top
   
 Post subject:
PostPosted: 08 Jun 2007 6:05 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Jun 2007 12:00
Posts: 1148
Location: Ile de France
faire 1 job (delalertes) avec un calc :( ul de date en param
ex :
PARM1=%%$CALCDATE %%$DATE -180

delalertes.ksh
#!/bin/ksh
for i in $*
do
erase_alerts -U ecs -P sybase -D $i -F
done


Top
   
PostPosted: 11 Jun 2007 9:09 
Offline
Nouveau
Nouveau
User avatar

Joined: 20 Jan 2006 12:00
Posts: 473
Hi ,

i use same method (erase_alerts) and i add this command in the script after delete alerts for refresh GAS:
ecs ctl -U <emuser> -P <Password> -C GAS -M <Computer_Name> -cmdstr refresh

Regards
Walty


Top
   
 Post subject:
PostPosted: 11 Jun 2007 1:22 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Jun 2007 12:00
Posts: 1148
Location: Ile de France
-cmdstr REFRESH (en majuscule pour la 6.3.01


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved