Define a maintenance schedule for a computer reboot

If you wanted to schedule a reboot for certain computer models after a predefined number of keystrokes, define a model-based plan with a meter-based maintenance schedule. In this example, a field called keystrokes is added to the Computer [cmdb_ci_computer] table.

  1. Navigate to Planned Maintenance > Maintenance Plans.
  2. Click New and create a maintenance plan called Reboot Apple Computers with the following definitions:
    • Type: Model-based
    • Model: Click the lock icon and select Apple iMac 27 and Apple MacBook Pro 17.
  3. Click Submit.
  4. Navigate to Planned Maintenance > Maintenance Plans.
  5. Click the number of the maintenance plan you just created.
  6. In the Maintenance Schedules related list, click New.
  7. Enter the following:
    • Name: Reboot Apple Computers
    • Short description: Scheduled reboot for Apple computers
    • Repetition: Meter
    • Every: 500000
    • Field: keystrokes
  8. Click Submit.
    The Reboot Apple Computer maintenance plan schedules all Apple iMac 27 and Apple MacBook Pro 17 computers to automatically reboot after 500,000 keystrokes.