Create a custom component monitor

Knowledge of a scripting language like Batch or vb script. For scripting languages supported by Datto RMM, refer to Scripting.

Permission to manage Components. To create a policy, permission to manage Policies at account or site level.

Components → New Component

Account → Policies

Sites → select a site → Policies

About custom component monitors

Component monitors are, in essence, scripts that regularly run on your devices. If a specific condition is met, an alert will be raised. You can find and download a number of pre-configured component monitors from the ComStore, covering antivirus packages, backup systems, CPU temperature, predicted hard drive failures, etc. Refer to ComStore and components.

For example, the status of Datto's cloud-based file backup service, Datto File Protection, can also be monitored through a component monitor. For more information, refer to Datto File Protection Integration.

Sometimes, however, you want to generate alerts we don't have pre-configured component monitors for. You might, for example, want to:

  • Monitor a backup or antivirus package that we don't currently have a ComStore component for.
  • Check if a specific file or folder exists.
  • Run some diagnostic command (like dcdiag, or repadmin) and check the output for issues or failure.
  • Interrogate a database using a command line tool (like osql) and check specific values.

For cases like these, and many others, Datto RMM includes a powerful scripting tool that allows you to write your own monitoring scripts, called custom component monitors. A knowledge of scripting languages is required.

How to...


Need to troubleshoot this? Open the Datto Knowledge Base.
Want to talk about it? Head on over to our Community Forum!
Forward this topic to others.
Provide feedback for the Documentation team