[Kaseya Agent Procedure] Free Active Directory Health Monitor Script

On November 16, 2012, in Scripting, by Cubert aka (Cube Dweller)

Active Directory Health Monitor Script

From the skunk works here at Squidworks comes another great monitoring script for Kaseya.

The Active Directory Health Monitor Agent Procedure executes DCDiag on your Windows Active Directory server and captures any failures reported. The script then makes a unique event log entry into the Windows Application Event Log under the Application Events that can then be picked up by Kaseya’s Event Log Monitor. When Kaseya picks up this event you can instruct the monitor to create an alarm, create a ticket, run another agent procedure or email the alarm to an address(s).  Just schedule the agent procedure to run a couple of times a day to keep an eye on your customers Active Directory health.

The script also provides a complete report of the DCDiag results in the event of a failure that you can view by going to the “Get Files” area of your host in Kaseya and under this folder will be an Active Directory folder where the DCDiag.txt file results are stored.


All files and a README are included in the ZIP. Feel free to POST here any issues or comments you may have.


Download ->  Kaseya-ActiveDirectoryHealth




Cubert 😎

1 Response » to “[Kaseya Agent Procedure] Free Active Directory Health Monitor Script”

  1. Happy says:

    Great arcleit, thank you again for writing.

Leave a Reply