Skip to main content

Hyper-V - Checkpoint Expiration Alert

Summary

This creates ticket if the hyper-v checkpoint detected older than the provided threshold days via script Hyper-V - Checkpoint Expiration Alert.

Details

  • Name: Hyper-V - Checkpoint Expiration Alert
  • Description: This creates ticket if the hyper-v checkpoint detected older than the provided threshold days.
  • Recommended Agent Policies: It is advised to configure this compound condition within the following default agent policies:
    • Windows Server - Hyper-V [Default]

Dependencies

Script - Hyper-V - Checkpoint Expiration Alert
Solution - Hyper-V Checkpoint Expiration Alert

Compound Condition Creation

Compound conditions can be configured within an Agent Policy. This document provides an example using the default Windows Server - Hyper-V [Default] policy.

Navigate to Administration > Policies > Agent Policies.
Navigate

Search for Hyper and select the default Windows Server - Hyper-V [Default] policy.
Hyper

This will navigate you to the policy's landing page, which is the Conditions section. Note that conditions may vary across different policies and environments. The provided screenshot is for demonstration purposes only.

Condition

Navigate to the Compound Conditions section. Note that existing compound conditions may vary across different policies and environments. The provided screenshot is for demonstration purposes only.

CompoundCondition

Click the + Add button to add a compound condition.
AddButton

Clicking the + Add button opens the compound condition creation window.
AddACompoundCondition

Conditions

Condition 1: Script Result Condition

Click the + Add condition button.
AddCondition

Select the Script Result Condition option from the list that will appear after clicking the + Add condition button.

ScriptResultCondition

Add Script Result Condition screen will appear. Select the +Add button:

AddScript

Configure the Script Result Condition as follow:

Evaluation Script:

Search for Hyper and select Hyper-V - Checkpoint Expiration Alert script:

Checkpoint

It will open up the Hyper-V - Checkpoint Expiration Alert parameter setting. Set the threshold as per the requirement in the Age Limit parameter or provide the custom field name containing the threshold days in the parameter Retrieve Age Limit From Custom Field and click Apply

SetValue

It will look like below after clicking on apply:

Script Set

Set Values in the Add Script Result Condition:

  • Evaluation Script: - Hyper-V - Checkpoint Expiration Alert
  • Result code: - not equal to - 0
  • Timeout: - 10 Minutes
  • Output: - Contains and put the value There are checkpoints older than in the text box below.
  • Include script output in final Alert: - <Keep Unchecked>
  • Script error notification: - <Keep Unchecked>

Click the Apply button to save the Script Result Condition.

Apply

Automations

Skip the Automations section.
AutomationSections

This does not require any automation selection.

Settings

Navigate to Settings section.
SettingsSection

Set the Settings section as follows:

  • Name: Hyper-V - Checkpoint Expiration Alert
  • Auto Reset:
    • After: True 4 hour
    • When no longer met: True
  • Run Every: 1 hour
  • Minimum Uptime for Trigger: False

Settings

Now clcik on Notifications

Notifications

Set the following values:

  • Severity: - Major
  • Priority: - High
  • Notify Technicians: - Do not send notifications
  • Channels: - Select any available channel
  • ConnectWise: - Create a ticket and select a Ticket Template
  • Ticketing Rule: - Off

Completed Component

Click the Apply button at the bottom to save the compound condition.
Apply

Compound

Saving Agent Policy

Click the Save button located at the top-right corner of the screen to save the agent policy.
Save

You will be prompted to enter your MFA code. Provide the code and press the Continue button to finalize the process.
MFA