
I was wondering how others are handling their temp files on the Integration Agent installed on the CA Service Desk server.
We had our processed temp files collecting and we neglected to purge any old ones. This resulted in thousands of files. We believe this is what has been causing problems for us. Our IA would stop processing CASD notifications, but command line execution functionality remained working.
We've changed it so that it only keeps the last 3 days worth of temp files in that processed folder. We haven't had problems since we cleared our all the old ones.
How are other handling this folder? Do you just setup it up to overwrite the previous file, so there is only ever one? Do you retain some temp files for history? Have there been any performance benefits/hits to your methods?
Just trying to get an idea on best practice for these temp files.
Comments
Please sign in to leave a comment.
Hi Andrew,
Here is the reason for IA not processing your incident event injection:
If these files are not purged occasionally, injections into xMatters may be delayed while CA SDM searches for the next available file name; for example, after restarting CA SDM.
By default, these files are stored in the temp folder on the CA SDM server, and are named sequentially, e.g. c:\temp\1, c:\temp\2, etc.
xMatters' recommendations:
The integration (as of version 1.4) creates a folder into which it moves the notification files after they have been processed. This folder is named "xmatters", and is located within the original file location.
For example, if CA SDM creates a notification file called C:\temp\1, the integration renames the file and moves it to c:\temp\xmatters\1.<date>, where <date> is the current date and time in a "yyMMddHHmmss" format. (The directory and
filename scheme can be customized by editing the caservicedesk.js integration script.
This process is intended to reduce the delay presently encountered after CA SDM is restarted, before notifications are sent to the integration agent.
It is recommended that you occasionally purge the files from the temp\xmatters folder to reduce congestion of the CA SDM server's file system.