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.
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. All LogicMonitor accounts include a pre-populated library of datasources. 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 and in determing whether the datasource should apply to a device. If any of the properties for a device changes, LogicMonitor will re-evaluate 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 will assess all devices and their properties against 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 will only have 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) will be displayed in the device tree of your account. Selecting a datasource will display 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