Skip to main content

Check Uptime and Reboot Pending Flag

Overview​

Checks system uptime and pending reboot status on a Windows endpoint. Conditionally runs each check based on the UptimeDays and PendingReboot environment variables passed by Datto RMM.

Import​

  1. Download the component Check Uptime and Reboot Pending Flag from the attachments.

  2. After downloading the file, click on the Import button in the Datto RMM interface.

  3. Select the component just downloaded and add it to the Datto RMM interface.

  • Image 1

For detailed instructions on importing a Datto component, see Workflow for Implementing Engineers.

To implement the Check Uptime and Reboot Pending Flag over a policy, follow these steps:

Implementation​

  1. Under the Policies > Monitoring section, click on create policy.
    Image1

    • State the name of the policy xPVAL Uptime and Reboot check

    • Provide the description.

    • State the Scope of the policy.

    • Image1

    • Within the Monitors section, click on Add Monitor.

    • Image2

    • Under the Monitor Type, click on Select and then select the Componentoption.

    • image3.

    Add Alert​

    • Inorder to configure your component via alerting, follow the below steps:
      • Click on Select a Component Monitor and then select the component Check Uptime and Reboot Pending Flag from the search bar.

      • Set the UptimeDays and PendingReboot Value as per requirement.

      • Set the interval to execute the component monitor.

      • image3

    Response​

    • Click Run a component Reboot Nag [Restart Alert] [Prompter].

    • Update the variables of reboot Nag.

    • image3

    • Click Save

  2. Click on Add Target to provide the targeted machines.

  • Image6
  1. Click on Save and Deploy Now to save the policy.

Datto Variables​

Variable NameTypeDefaultDescription
UptimeDaysString0Please enter the number of uptime days.
PendingRebootBooleanTruePlease set false if the pending reboot do not need to check.

Output​

  • Alert Tab

Attachments​

Changelog​

2026-11-09​

  • Initial version of the document