Alert Log
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00
Alert Log
I'm trying to find out how long our alerts are kept. The Alert Window in Control-M client only goes back about 22 days. Where can I find this setting?
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00
- nicolas_mulot
- Nouveau
- Posts: 149
- Joined: 07 Jan 2010 12:00
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00
Hi. Thanks for the info. That is exactly what I found yesterday. The script seems to be erasing the alerts that are older than 23 days. I'm sure it was because of a space issue. I'm going to add something in our monthly calendar to shout to the operators and have them do an export of the alerts.
Thanks for all the help.
Thanks for all the help.
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00
- nicolas_mulot
- Nouveau
- Posts: 149
- Joined: 07 Jan 2010 12:00
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00
Do you know what the %%A stands for in the paramater below. This is what is passed to the erase_user script from the command line in Control-M. It has been YEARS since I messed in unix much and now I'm trying to step back into it. I'm tring to verify how many days back the script is going when it erases the alerts.
-U {user}-P {password} -D %%A -H 23 -F
-U {user}-P {password} -D %%A -H 23 -F
- nicolas_mulot
- Nouveau
- Posts: 149
- Joined: 07 Jan 2010 12:00
ajomarquez,
It seems your script is called via a job defined with TASKTYPE Command. Otherwise, I don't see how the script could internally resolve an
AutoEdit variable, while the command line of the job could resolve both AutoEdit and envirpnment variables.
In that case, %%A is necessarilly resolved by AutoEdit environment, either locally (check the %%SET tab of your job) or globally (check ctmvar -action list)
I checked EM docs for older versions, and didnt find any reference to erase_alerts utility.
As far as I can remember, -D should be resolved to a date (ODATE?). Your syntax probably means "delete all alerts older than %%A -23 days, which might explain the 22 days you observed.
In any way, check the sysout of your job.
Cheers
It seems your script is called via a job defined with TASKTYPE Command. Otherwise, I don't see how the script could internally resolve an
AutoEdit variable, while the command line of the job could resolve both AutoEdit and envirpnment variables.
In that case, %%A is necessarilly resolved by AutoEdit environment, either locally (check the %%SET tab of your job) or globally (check ctmvar -action list)
I checked EM docs for older versions, and didnt find any reference to erase_alerts utility.
As far as I can remember, -D should be resolved to a date (ODATE?). Your syntax probably means "delete all alerts older than %%A -23 days, which might explain the 22 days you observed.
In any way, check the sysout of your job.
Cheers
- ajomarquez
- Nouveau
- Posts: 38
- Joined: 19 Dec 2009 12:00