Automic Workload Automation

  • 1.  Windows Agent files temp folder

    Posted Feb 20, 2017 08:49 AM
    We have noticed that in few servers where we installed Automic Windows Agent there are some big files keep accumulating in the agent temp folder: OAA*.txt
    Kindly check and update how this is happening and how can we avoid this.

    The files OAA*.txt are reports. They are created when you are running jobs. You can disable the creation of these reports (edit job> Windows Tab> uncheck file). You can also delete these reports from the temp folder. Automation Engine doesn't use these. These are for your own purposes. The reports are written to the database as well if you check the option Database inside the job properties.




  • 2.  Windows Agent files temp folder

    Posted Feb 20, 2017 09:18 AM
    Is this is a bug, so will this be fixed and you posting is just a workaround?


  • 3.  Windows Agent files temp folder

    Posted Feb 20, 2017 09:25 AM
    Big attention on this!

    Please note that in case the report exceeds the maximum reportsize (to be defined in MAX_REPORT_SIZE and REPORT_BLKSIZE within UC_HOSTCHAR_* Variable in Client 0) the reportfile will be written to the filesystem also, so please be aware of that before just deleting the reports, in case you might need them for other purposes.

    Also it might be possible, that within the Job Object it is defined that the report should be written on the filesystem, also in this case, it is purposely that the report is written to the filesystem on the agent. Please follow the Thread within the link here, for further details.

    https://community.automic.com/discussion/7958/how-to-determine-if-the-report-of-job-should-write-its-report-to-database-or-to-the-filesystem#latest


  • 4.  Windows Agent files temp folder

    Posted Feb 20, 2017 09:33 AM
    Hi Christian,

    This is not a bug. This is by design. You have an option to have the job report written in database, file, or both.

    What Harald described is by design as well. If there's an overflow (option: database), then it will write the rest in a file. 



  • 5.  Windows Agent files temp folder

    Posted Feb 21, 2017 04:29 AM

    Just my two cents on this.


    The output file “O<alphanumeric_RunID>.TXT” is used to retrieve the standard out / error out of an active Job.

    If it’s created – and what happens to the file when the job has finished – depends on the Job report setting within the job object.

    Most popular is “Database” is and “File” is not hooked:

    2zdz6o28hyoe.png

     

    So in this case the output file is removed automatically in case the report was successfully and completely transferred to the DB. If not it will remain! The file contains the complete output.

    In case “File” is hooked, the file will remain.

    In case “Generate on error only” is hooked, the file is created as well, however it’s removed when the job runs without an error (ENDED_OK).



  • 6.  Windows Agent files temp folder

    Posted Feb 21, 2017 04:46 AM
    I will add that for immediate taking in count of updated parameters MAX_REPORT_SIZE and REPORT_BLKSIZE on your agent, you will need to restart it.



  • 7.  Windows Agent files temp folder

    Posted Feb 22, 2017 06:25 AM
    Hi Christine_Chavez_6412 Thanks for the attention on this. Of course I know it is by design :)


  • 8.  Windows Agent files temp folder

    Posted Feb 22, 2017 09:33 AM
    Harald Heidinger said:
    Hi Christine_Chavez_6412 Thanks for the attention on this. Of course I know it is by design :)
    I was answering Christian's question :wink: