Skip to main content

Agents Migration Monitoring - Client-Level

Summary

The script's objective is to identify the computers that have been transferred from one client to another in Automate. The schedule of the script determines the delay in the alert.

Sample Run

Sample Run

It is a client script that has to be set up to run on a regular basis, either daily or hourly.

Dependencies

CWM - Automate - Custom Table - pvl_computer_client_auditing

Variables

NameDescription
Table_Namepvl_computer_client_auditing
CountNumber of detected computers
sqlNew_ClientidNew client ID of the detected computer
sqlcmpidComputer ID of the detected computer
sqlComputer_NameName of the detected computer
sqlOld_Client_NameName of the previous client of the detected computer
sqlNew_Client_NameName of the current client of the detected computer
sqlLast_CheckedLast time when the computer was found under the previous client

Output

  • Tickets

Ticketing

Subject: Agent Migrated to New Client - @sqlComputer_Name@

Body: Between @sqlLast_Checked@ and %When%, the computer "@sqlComputer_Name@" was relocated from "@sqlOld_Client_Name@" to "@sqlNew_Client_Name@" in Automate. Please look into it.

Sample Ticket

Sample Ticket