Skip to main content

Aging VM Checkpoint Alert

Summary

Alerts the ProVal support team when a VM in a Hyper-V environment contains a checkpoint that is older than 24 hours.

Example Agent Procedure Log

TimeAlertStatusLink
11:11:06 am 29-Nov-22Aging VM Checkpoint AlertSuccess THENprovaltech.com/dan.hicks
11:11:06 am 29-Nov-22Aging VM Checkpoint Alert-0001No aging checkpoints have been identified on any virtual machines in the Hyper-V environment on this endpoint.provaltech.com/dan.hicks
11:11:06 am 29-Nov-22Aging VM Checkpoint Alertprovaltech.com/dan.hicks
11:11:06 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)Success THENprovaltech.com/dan.hicks
11:11:05 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0016PowerShell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab of server.provaltech.com/dan.hicks
11:11:05 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0016Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/793850582926898/GetFiles/../docs/psoutput.txt with the new contents from c:/provaltech/psoutput.txt in THEN step 3.provaltech.com/dan.hicks
11:11:02 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0011Executing 64-bit PowerShell command as System: "" -command "Get-VMGet-VMCheckpoint
11:11:02 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0013Sending output to global variable.provaltech.com/dan.hicks
11:11:01 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0008Custom commands detected as Get-VMGet-VMCheckpoint
11:11:01 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0003No PowerShell file variable detected.provaltech.com/dan.hicks
11:11:00 am 29-Nov-22Execute PowerShell Command (64-bit, Run As System)-0002PowerShell is present.provaltech.com/dan.hicks
11:10:59 am 29-Nov-22Aging VM Checkpoint AlertChecking for aging checkpoints in the Hyper-V environment on this endpoint...provaltech.com/dan.hicks
11:10:52 am 29-Nov-22Run Now - Aging VM Checkpoint AlertAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Aging VM Checkpoint Alert to run at Nov 29 2022 11:10 AMprov

Dependencies

The endpoint must be configured with the Hyper-V role and have the related PowerShell modules installed.

Process

Gets a list of VM checkpoints via PowerShell that are older than 1 day. If any are found, an email is sent to ProVal Support with the details for remediation.

Output

Agent Procedure Log