/build/static/layout/Breadcrumb_cap_w.png

script status

Hi Guys,

Is there a way to see the status of a script scheduled to run at night? I want to see how many machines have actually run the script and how many are left to run it.

Cheers,

Mike

0 Comments   [ + ] Show comments

Answers (4)

Posted by: GillySpy 13 years ago
7th Degree Black Belt
0
There are a few ways.

  1. You could add some debug feedback in your script and then upload that result as the last task of the script. There is an upload file task
  2. If the machine has updated it's script (via script interval) since the script ran then AND you have agent log retention set to on then you can see the script log in the inventory of the machine.
  3. If you are on the machine then you can check the logs on the machine.
I like to leave "agent log retention" turned off for minimal client overhead. So I prefer #1. Of course #1 only works if the script didn't bomb completely and actually got to my upload file task. But if it's bombing completely then I probably need to troubleshoot that on the agent anyway.
Posted by: ms01ak 13 years ago
10th Degree Black Belt
0
I'm looking for more of a global status similar to the run now status page.
Posted by: GillySpy 13 years ago
7th Degree Black Belt
0
That could be a good enhancement request.

For today, if there was a result to option #1 that you could track like existence of a file then you could easily search / report on the results. For machines that are having issues you could likely troubleshooting one and solve many.
Posted by: snissen 13 years ago
Fourth Degree Green Belt
0
I have successfully used the Scripting-->Search Logs to get this kind of information. I had to try many different combinations of the 5 search fields to get what I wanted:

Search for: (you must put something here, and it must match in the log text, not in the header with the machine or script name or date/time)
Script:
Log types:
Historical:
Labels:

These searches can be slow, but I find them comprehensive. Sande
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ