logicmonitor_facts – Collect facts about LogicMonitor objects¶
- LogicMonitor is a hosted, full-stack, infrastructure monitoring platform.
- This module collects facts about hosts and host groups within your LogicMonitor account.
The below requirements are needed on the host that executes this module.
- An existing LogicMonitor account
# Always run those modules on localhost using delegate_to:localhost, or localaction - name: query a list of hosts logicmonitor_facts: target: host company: yourcompany user: Luigi password: ImaLuigi,number1! delegate_to: localhost - name: query a host group logicmonitor_facts: target: hostgroup fullpath: /servers/production company: yourcompany user: mario password: itsame.Mario! delegate_to: localhost