Execution Time - Runbook

Hi Guys,

I have a doubt about SCORCH:

I have today around 20 runbooks in my environment and I have a great difficulty in finding out the running time of each runbook.

You guys know if I can create some runbook to inform me the runtime execution of each runbook or is some other way to get this information in an easier way?

Thanks for your help.

Regards

September 3rd, 2015 11:40am

Hi,

You can find this type of information in the Rubook Logs:

Runbook logs
https://technet.microsoft.com/en-us/library/hh403785.aspx?f=255&MSPPError=-2147217396

"Every runbook generates a log when it is running. The Runbook Designer enables you to view both real-time log information and historic logs. "

Regards,

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 11:54am

Hi,

Thanks for your reply.

In fact, I need to deliver this information in an automated way, because this reports will be forwarded to the company's managers.

You know if I can do this via runbook and / or via some kind of web service?

thanks


September 3rd, 2015 12:13pm

Hi,

why dont't you just get this information from the common published data of the particular runbook? You can get the Activity duration and also the Activity end hour and lots of other information. And this is passed down the Orch data bus, so you can get it easily for every runbook.

Please look at the section Common published data from this article:

https://technet.microsoft.com/en-us/library/hh403821.aspx

Regards,

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 12:38pm

I'm doing something similar to what Stoyan is suggesting using a SQL database for Orchestrator tracking/stats.  To accomplish this, you could create a database table, and write to it at the end of your Runbook, as so:

You could then create a SSRS report to deliver your tracking data.

September 3rd, 2015 3:40pm

Hi,

best would be to query the SCO Database for this Information, and put this into a scheduled Report.

Free Windows Admin Tool Kit Click here and download it now
September 7th, 2015 3:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics