Ansible (Tower) demo for Conclusion Xforce
- Ansible server (preferably Ansible Tower)
- inventory with groups called "nagios-server" and "nagios-clients"
- Rhel 7.x server(s) minimal install with 'devops' user. ssh keys generated.
Serving as Nagios clients, make sure they are grouped in inventory to "nagios-clients":
- Windows 2012 server(s) with Powershell >= 3.x
- Rhel 7.x server(s) minimal install with 'devops' user ssh key authentication from ansible server
---
# Playbook that configures Nagios XI server for centralized monitoring
- hosts: nagios-server
become: true
roles:
- xi_php
- xi_server_mariadb
- xi_server_fullinstall
- xi_aide
and
----
# Playbook that configures Nagios clients (either update or new install) with Nagios Cross Platform Agent (NCPA)
#
# gather_facts: false
- hosts: nagios-clients-linux
become: true
roles:
- nagiosrepo
- ncpa_rhel
- hosts: nagios-clients-windows
become: false
roles:
- ncpa_win
BSD
Jørgen van der Meulen See http://xforce.conclusion.nl/