Coder Social home page Coder Social logo

stdevel / ansible-omd Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 53 KB

Ansible role for installing OMD (Open Monitoring Distribution)

Home Page: https://galaxy.ansible.com/stdevel/omd

License: GNU General Public License v3.0

Python 100.00%
ansible ansible-role omd monitoring nagios icinga icinga2 naemon

ansible-omd's Introduction

Build Status

omd

This role installs and configures OMD (Open Monitoring Distribution).

Requirements

The system needs access to the internet. Also, you will need a Linux installation supported by OMD - e.g.:

  • CentOS / Red Hat Enterprise Linux
    • 7
    • 8
  • SUSE Linux Enterprise Server 12
  • Debian
    • 10 (Buster)
    • 11 (Bullseye)
  • Ubuntu
    • 18.04 (Bionic Beaver)
    • 20.04 (Focal Fossa)
    • 22.04 (Jammy Jellyfish)

Also make sure to have EPEL enabled for CentOS or Red Hat Enterprise Linux systems!

Role Variables

Variable Default Description
omd_repo_flavor stable Use stable or testing repository (nightly builds)
omd_version 4.60 OMD package version to choose

The variable sites contains a dict specifying sites and their appropriate configuration to create. Refer to the following table for possible variables:

Variable Description
name Site name
core Site core (icinga2, naemon and for 2.x versions also icinga and nagios)
default_gui Default GUI (thruk, grafana and for 2.x versions also nagios and check_mk)
thruk_cookie_auth Flag whether Thruk cookie authorization should be used (on or off)
remove_nagios_protection Flag whether insecure Nagios CGIs should be disabled (only for 2.x versions)
admin_password omdadmin default password (default: empty, automatically set by OMD)

By default, an Icinga2 site is created:

omd_sites:
  - name: icinga2
    core: icinga2
    default_gui: thruk
    thruk_cookie_auth: false
    remove_nagios_protection: false

Dependencies

No dependencies.

Example Playbook

Refer to the following example:

    - hosts: servers
      roles:
         - stdevel.omd

Set variables if required, e.g.:

---
- hosts: bacinga.giertz.loc
  remote_user: root
  roles:
    - role: stdevel.omd
      package_omd: '4.60'

Keep in mind enabling EPEL on RHEL/CentOS systems:

---
- hosts: bluecap.giertz.loc
  remote_user: root
  roles:
    - role: geerlingguy.repo-epel
    - role: stdevel.omd
      omd_version: '3.30'

License

GPL 3.0

Author Information

Christian Stankowic ([email protected])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.