Runid Data collector for Windows systems

Document ID : KB000088773
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Runid Data collector for Windows
Resolution:

A Video presentation of the Runid Data collector can be found here -> Video

 Warning: Objects need to be tested in a test environment before put to use in a production environment!

                We strongly recommend to include the testing of these objects in your upgrade test procedures.

                The runid data collector uses the Utility tools to export Reports and Logfiles directly from the Database.

                See documentation page "Start Parameters - Utilities"  under Archive Utility and "Xunload" function and run tests from the command line"

 Automic tool to export reports (activation, job, agent and server) and Objects as xml of a certain runid::

Attached you will find an object (as xml export) created for Automic Version 10 Sp2 and above for an easier automated report capture and xml export.

This tool will export activation, job, agent and server reports, and xml-export  of a certain runid to a location of your choice.

 Environment needs for objects to work:

.) Windows Agent located on/or access to a Host where Automic - utilites are installed on

.) It is only possible to export information out of the same client and the client needs to contain a User Object with the same name used for the archive utility connection string.

 Import and adjust to your environment

Download the export from the attachment section at the end of the page!

1.) Import "Automic_export_reports.xml" into your Automic System (the xml contains the objects: "JOBS.EXPORT.REPORTS.RUNID.TEMPLATE" and "GET.JOB.INFO"

2.) Enter Host and Login Object into the Attributes tab o fthe object "JOBS.EXPORT.REPORTS.RUNID.TEMPLATE"

                .png

3.) Enter the destination of the bin folder of the Utility as the "Working directory" in the Windows tab of "JOBS.EXPORT.REPORTS.RUNID.TEMPLATE"

                .png

4.) Create a folder that you would like the reports to be exported into. (for example C:\Automic\reportexport\ )

5.) Set output location of reports in process tab:

 ":set &outputlon# = C:\Automic\reportexport\"

.png

                                       

Execute Objects:

1.) Execute the object "JOBS.EXPORT.REPORTS.RUNID.TEMPLATE"

2.) The Prompt "GET.JOB.INFO" will appear

.png

3.) Enter the runid of the Object that you would like to export reports of and click "Done"

4.) After the Job has completed successfully you can find the following data in the folder that you have set for the output.      

The Job will export the following information:
All Agent logfiles that were used by the Runid (Both sender and receiver if Job was a Filetransfer)
All Server logfiles that were active during the time of the execution
An xml export of the Job that belongs to the runid
An xml export of the parent Workflow If the job was part of a Workflow
All reports that were written by the Job that belongs to the runid
An xml export of Schedule if Parent object was a schedule that has already ended
Note! Does not work with C-Period Objects.
Note! Only works with Jobs that already have an endstatus.

.png

 

 

File Attachments:
000008448.zip