Ansible and LogicMonitor


LogicMonitor is an automated SaaS-based IT performance monitoring platform that provides the end-to-end visibility and actionable data needed to manage complex and agile IT environments. LogicMonitor enables teams to act on infrastructure performance data using customizable dashboards, performance forecasting, pre-configured alerting and robust reporting.


Many LogicMonitor customers are also avid Ansible users, relying on Ansible Playbooks to automate and reduce the time to configure their infrastructure. With the LogicMonitor Ansible modules, users can extend their automation to fully manage their monitoring, closing the loop on deployments, decommissions and changes.

These Ansible modules enable users to add, delete or modify devices, host groups, data sources and collectors within existing Ansible orchestration and management processes.


Together Ansible and LogicMonitor deliver automation cost savings to the complete lifecycle of your infrastructure and code. As Ansible automates the deployment of devices, it can also automatically configure LogicMonitor to ensure the devices are monitored correctly.

This gives users comprehensive visibility into operations, ensuring that alerts are triggered appropriately, for the appropriate devices, and delivered to the appropriate users. Here are three sample use cases:

Repeatable Installation

As Ansible provisions devices and deploys/configures software, the LogicMonitor monitoring system is kept in sync with the actual infrastructure. This ensures that no services are deployed without the needed monitoring, and that as systems  or application environments are promoted from QA to staging to production, the monitoring automatically adapts.

This automation ensures that production systems are always thoroughly monitored, with alerts escalated to operations or development - while QA systems (which should also be thoroughly monitored) will not cause alerts to on-call teams.

Eliminate False Alarms

Playbooks for deploying new versions of software can control LogicMonitor’s alert routing by initiating scheduled downtime before any changes are made. LogicMonitor will continue to monitor the status of all devices, but not escalate detected alerts during the scheduled downtime, which prevents alert overload.

Controlling this through Ansible ensures repeatability, simplifies the process and reduces manual operations. And with Ansible, you can even do rolling updates across your application infrastructure, turning off monitoring only for the servers currently being operated on.

Correlate Deployment Data

As Ansible automates and orchestrates the infrastructure, it can also inform LogicMonitor of changes. These changes are displayed in OpsNotes. This quickly and visually allows users to see if changes in software performance correlate with deployments or other changes that Ansible may have made.


Automation shouldn’t stop at your monitoring system

Scaling IT automation and managing complex environments means it's critical that your monitoring is aligned with your infrastructure and operations. With the LogicMonitor and the Ansible modules, users unify the source of truth and operations - including comprehensive monitoring - into one consistent, repeatable process, using familiar Ansible Playbooks.

Get Started

Ansible LogicMonitor Modules:

Manage your LogicMonitor account through playbooks.

Collect facts about LogicMonitor objects.

Contact us for a demo on how to automate with Ansible and LogicMonitor.



Ansible for DevOps

Ansible includes dozens of modules to support a wide variety of DevOps software and applications

Learn More


Video Demo

Watch a 10-min demo of Red Hat Ansible Tower

Watch Video



Red Hat Ansible Tower in the Software Development Lifecycle

Download Whitepaper