Compatible with: Control-M 6.1 and above (tested with 6.4 and 7.0)
This utility will analyze ctmlog output and generate a report that can be used to help monitor the health and status of your Control-M environment. It was originally developed because I was tired of getting so many individual reports on a daily basis and wanted one, centralized way to check on the overall status of what was going on in Control-M. It also generates the report in text format, which is convenient for mobile devices instead of having to read PDF generated reports.
Suggested usage is to run this for the previous full day, though it can run for any period of time (though the statistics will be off when you go past a 24-hour period).
This script does not have to run on your Control-M/Server. It can run on any machine that has Perl 5 or higher and access to a file containing ctmlog output. Ideally, to fully automate everything, you can have Control-M generate the ctmlog output and run this script as part of your daily job processing.
Steps to use this script:
1) Run manually, or through Control-M, on your Control-M/Server "Ctmlog LIST [start date] [start time] [end date] [end time] > [output filename]"
2) Run manually, or through Control-M, ctmlog_parser [ctmlog output filename] > [report output filename]"
This is a public domain script, so feel free to modify it or re-use it. However, if you add something cool to it feel free to share it with us all. I’d appreciate it if you would send it back to me and I’ll update this download and add the new code to it.
This is a work in progress, and I will update this script over time, so please check out my website at www.robertstinnett.com for the latest version.