Device DataSources & Instances Overview
DataSources are templates that define which metrics will be collected, what graphs will be displayed and when alerts should be triggered. All LogicMonitor accounts include a pre-populated library of DataSources.
Every DataSource includes an Applies To field which determines which devices the DataSource will be associated with. Specifically, each Applies To field contains functions written in LogicMonitor Scripting Language that evaluate to true or false for each device based on the device's properties. When a device is added to the account, all DataSources with an Applies To function that evaluates to true based on the device properties will be automatically applied to that device. The Applies To field of the DataSource definition designates what properties the DataSource should check to determine whether the DataSource should apply to a device. If any of the properties for a device change, LogicMonitor re-evaluates all DataSources against the properties of the device to see if any additional DataSources need to be associated with, or removed from, the device. Similarly, if the Applies To field of a DataSource changes, LogicMonitor evaluates all devices and their properties according to the new Applies To expression. This process is automatic, but can be manually forced for a specific device by running Active Discovery. For a more detailed description of how LogicMonitor determines what to monitor for a device, see this article.
For each DataSource applied to a device, LogicMonitor attempts to discover instances to monitor. Single-instance DataSources have only one instance (e.g., ping), while multi-instance datasources can have multiple monitored instances (e.g., interfaces). When at least one instance is discovered for a DataSource, the DataSource and discovered instance(s) are displayed in the device tree of your account. Selecting a DataSource displays all instances of that DataSource in the device tree.
Selecting a DataSource or instance will update the device detail panel with details about the selected item:
Detail Panel Tabs
- Use the Graphs Tab to view all graphs associated with the DataSource definition
- Use the Alert Tuning Tab to manage alert thresholds for one or more instances
- Use the Raw Data Tab to view all raw data collected for an instance
- Use the Alerts Tab and the SDT Tab to view alerts and SDTs associated with a DataSource or instance
- Use the Instances Tab to add, edit and delete instances for multi-instance DataSources