Kaseya Community

Help with Baseline/Latest Audits - They Keep Failing

  • recently Kaseya moved my server to another host since they are no longer providing hosting.  They patched me from 6.2 to 6.3.

    Ever since then none of the audits work.  I get this:

    Latest Audit 11:53:13 pm 6-May-13 Failed THEN in step 1 *SYSTEM*
    Baseline Audit 11:51:32 pm 6-May-13 Failed THEN in step 3 *SYSTEM*
    Retry - Baseline Audit... 11:42:10 pm 6-May-13 Failed THEN in step 1 *SYSTEM*
    Retry - Baseline Audit... 11:41:49 pm 6-May-13 Failed THEN in step 1 *SYSTEM*
    Retry - Latest Audit 7... 11:03:32 pm 6-May-13 Failed THEN in step 1 *SYSTEM*
    Retry - Latest Audit 7... 11:03:13 pm 6-May-13 Failed THEN in step 1 *SYSTEM*

    I don't know how to fix this.  Does anyone know how?  Kaseya said my server is fully patched...

  • would someone please compare their systemscripts.xml to the one that Kaseya loaded in my v6.3 server? Not sure why the audits keep failing.  I have even tried reinstalling the agent plus rebooting server and client has not helped either.

     <scriptDef id="136" name="Latest Audit">

       <scriptIf ifFunc="1" fp1="" fp2="" fp3="" ifTest="1" testVal="" scriptType="-2" description="Audit selected machines. Schedule this script on a recurring basis to always capture the latest information on each machine." />

       <scriptThenElse teType="0" stepNum="1" teFunc="19" fp1="0" fp2="*.exe" fp3="" osType="0" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="2" teFunc="1" fp1="138" fp2="0.1" fp3="1" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="3" teFunc="1" fp1="200" fp2="0.1" fp3="1" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="4" teFunc="26" fp1="2" fp2="0" fp3="msg+++SQLCMD:IF EXISTS(SELECT scriptId FROM scriptIdTab WHERE scriptId = 1307) BEGIN INSERT INTO scriptAssignment (scriptId,agentGuid,runCount,logLevel,execPeriod,execScriptTime,runAtTime,monthPeriod,actionAdmin) VALUES(1307, #vMachine.agentGuid#, 1, 0, 0, CURRENT_TIMESTAMP, 0, 0, NULL) END" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="5" teFunc="5" fp1="#users.agentTempDir#\readme.txt" fp2="VSAHiddenFiles\readme.txt" fp3="" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="6" teFunc="3" fp1="#users.agentTempDir#\readme.txt" fp2="" fp3="" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="7" teFunc="5" fp1="#users.agentTempDir#/readme.txt" fp2="VSAHiddenFiles\readme.txt" fp3="" osType="12" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="8" teFunc="3" fp1="#users.agentTempDir#/readme.txt" fp2="" fp3="" osType="12" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="9" teFunc="5" fp1="#users.agentTempDir#/readme.txt" fp2="VSAHiddenFiles\readme.txt" fp3="" osType="16" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="10" teFunc="3" fp1="#users.agentTempDir#/readme.txt" fp2="" fp3="" osType="16" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="11" teFunc="26" fp1="3" fp2="" fp3="agentDir" osType="13" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="12" teFunc="5" fp1="#agentDir#/extensions/scripts/sconvert.lua" fp2="VSAHiddenFiles/sconvert.lua" fp3="" osType="12" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="12" teFunc="5" fp1="#agentDir#/extensions/scripts/sconvert.lua" fp2="VSAHiddenFiles/sconvert.lua" fp3="" osType="16" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="12" teFunc="5" fp1="#agentDir#\extensions\scripts\sconvert.lua" fp2="VSAHiddenFiles\sconvert.lua" fp3="" osType="13" contOnFail="1" />

       <scriptThenElse teType="0" stepNum="12" teFunc="5" fp1="#agentDir#\extensions\scripts\scheduler.lua" fp2="VSAHiddenFiles\scheduler.lua" fp3="" osType="13" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="13" teFunc="5" fp1="#agentDir#\extensions\scripts\scriptRunner.lua" fp2="VSAHiddenFiles\scriptRunner.lua" fp3="" osType="13" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="14" teFunc="5" fp1="#agentDir#\extensions\scripts\Utility.lua" fp2="VSAHiddenFiles\Utility.lua" fp3="" osType="13" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="15" teFunc="5" fp1="#agentDir#\extensions\scripts\temp\serverRolesAudit.lua" fp2="VSAHiddenFiles\serverRolesAudit.lua" fp3="" osType="13" contOnFail="0" />

       <scriptThenElse teType="0" stepNum="16" teFunc="59" fp1="recurrence-type=MINUTES;recurring-interval=60;start-time-from=2011-01-05T04:04:12Z;start-time-to=2030-01-05T04:04:12Z;id=serverRolesAudit;args=;schedule-id=999888777" fp2="" fp3="" osType="13" contOnFail="1" />

     </scriptDef>