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
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
Name | Description |
---|---|
Table_Name | pvl_computer_client_auditing |
Count | Number of detected computers |
sqlNew_Clientid | New client ID of the detected computer |
sqlcmpid | Computer ID of the detected computer |
sqlComputer_Name | Name of the detected computer |
sqlOld_Client_Name | Name of the previous client of the detected computer |
sqlNew_Client_Name | Name of the current client of the detected computer |
sqlLast_Checked | Last 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.