Skip to main content

Automate Agent Connection Audit

Summary

The script generates two custom tables: pvl_automate_connection_audit and pvl_automate_connection_audit_daily. It calculates and records the daily online and offline times of all machines in the pvl_automate_connection_audit_daily table, using the data stored in the pvl_automate_connection_audit table.

Sample Run

  • Debug the script against any random client to import the custom tables.
  • Schedule the script to run once per day around midnight:
    Sample Run Image

Output

  • Script Log