Client Management Suite

 View Only
  • 1.  Run a report against a daily task

    Posted Apr 06, 2009 03:14 PM

    I am fairly new to Altiris (again - used it years ago in a previous job) Currently I am running CMS 6.9 while we work on our Migration plan to 7.

    I would like to create a report to show me the results of a Client Task that is running daily with the Resource name, Status, Completion Time, Return Code & Script Errors if possible that I'd setup to email several people on a daily basis who need to take action on the outcome, but not neccesarily be in the Altiris Console.  I may be completely missing an easy way to do this, but can't find a similar report to clone and tweak.

    Any help or suggestions would be appreciated!



  • 2.  RE: Run a report against a daily task

    Posted Apr 07, 2009 10:45 PM
    There are some good reports on altirigos.com for task results...
    Click on Misc - Reports and Queries

    http://www.altirigos.com/repository/categories.php


  • 3.  RE: Run a report against a daily task

    Posted Apr 09, 2009 09:04 AM
    Click on Manage -- Reports, right-click on "Reports" and select New -- Report.

    Add a report name and description and select enter SQL sirectly and use something like:
    SELECT    it.Name AS TaskName,
            vc.Name AS ComputerName,
            vc.Guid AS ComputerGuid,
            st.Status AS TaskStatus,
            st.ExitCode AS TaskReturnCode,
            st.AttemptTime AS TaskAttemptTime
    FROM inv_synch_status st
    INNER JOIN vcomputer vc on vc.guid = st._resourceguid
    INNER JOIN item it on st.taskid = it.guid
    Where st.SynchronizationId in (
        SELECT Guid
        FROM Item
        WHERE Name = 'TaskNameHere')
    Order by it.name

    Put the name of your task in place of "taskNameHere" above.  Click "test" to see if any results are returned.  If you like what you see, click "Finish".  You will be taken to the report page and you can now schedule this report to run and have it send and email when it does.

    RS


  • 4.  RE: Run a report against a daily task

    Posted Apr 13, 2009 02:33 PM
    Gary - I found some nice reports, but non that would report against a task.

    TheSmiz - I tried your suggestion several ways and could not get it to work, does it matter that my task name has spaces?  I would think not since it's on quotes?


  • 5.  RE: Run a report against a daily task

    Posted Nov 12, 2009 03:46 PM
     Was there ever a solution to this?
    running CMS7


  • 6.  RE: Run a report against a daily task

    Posted Nov 12, 2009 04:45 PM
    In 7.x go under Reports -> All Reports and then look for the Task Server -> Status folder - there are quite a few canned reports there.