Git Product home page Git Product logo

ansible-role-nagios-server's Introduction

ansible-role-nagios_server

This is an ansbile role to install a Nagios controller node. See the nagios-config and nagios-client roles for configure the controller and clients.

Supported/Tested:

  • Nagios 4.1.1 installed from source
  • Ubuntu 14.04 as deployment node

Variables

The following variables are relevant when including this role. NOTE: prefix the name of this role to the variable: (address should be nagios_server_address)

variabledefaulttypedescription
addressansible_default_ipv4.addressstringIP address to bind to
emailnagios@localhoststringEmail address
web_admin_namenagiosadminstringLogin name for the web portal
web_admin_passwordnagiosadminstringPassword for the web portal (CHANGE THIS)
additional_commands[check_nrpe.cfg][string]Extra commands (provied by this role) to include

Example Usage

  1. add the `nagios_server` role
$ git submodule add https://github.com/futuresystems/ansible-role-nagios-server roles/nagios_server
  1. use a playbook similar to the following (you may need to update the cache in another role or playbook):
---

- hosts: nagios-01

  pre_tasks:
    - name: update apt cache
      apt:
        update_cache: yes

  roles:

    - role: nagios_server

      nagios_server_web_admin_password: "{{ secret.nagios.web_admin_password }}"
      nagios_server_address: "{{ global.iface.internal.ipv4.address }}"

ansible-role-nagios-server's People

Contributors

badmutex avatar

Stargazers

Koji Tanaka avatar

Watchers

James Cloos avatar Koji Tanaka avatar  avatar

Forkers

kojiwell

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.