Skip to content

CoffeeITWorks/ansible-observium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

An Ansible role to install/configure Observium Monitoring....
http://www.observium.org/

Requirements

Install required Ansible roles...

ansible-galaxy install -r requirements.yml

Vagrant

Easily spin up a Vagrant Lab...

cd vagrant
vagrant up

Open your browser to http://127.0.0.1:8080
And login

user: admin
password: observium

When you are all done and ready to clean-up the Vagrant Lab...

./cleanup.sh

Role Variables

---
# defaults file for ansible-observium
observium_admin_account_info:
  email: 'observium@{{ pri_domain_name }}'
  email_to: 'root@localhost'
  email_default_only: 'TRUE'
  level: 10
  password: 'observium'
  username: 'admin'
observium_base_dir: '{{ observium_dl_dir }}/observium'
observium_db_info:
  db: 'observium'
  host: '127.0.0.1'
  password: 'observium'
  user: 'observium'
observium_debian_pre_reqs:
  - fping
  - graphviz
  - imagemagick
  - ipmitool
  - libapache2-mod-php5
  - mtr-tiny
  - mysql-client
  - php-pear
  - php5-cli
  - php5-gd
  - php5-json
  - php5-mcrypt
  - php5-mysql
  - python-mysqldb
  - rrdtool
  - snmp
  - subversion
  - whois
#  - mysql-server
observium_dl_dir: '/opt'
observium_dl_package: 'observium-community-latest.tar.gz'
observium_dl_url: 'http://www.observium.org'
observium_monitor_libvirt_vms: false  #Define if desired to monitor LibVirt VM's
pri_domain_name: 'vagrant.local'
observium_snmp_community_list:   # define a list of default communities to try when adding devices
  - '"public"'    # requires that the quotes are inside single quotation marks to keep the quotes in the config.php

Dependencies

Install required Ansible roles from Requirements section.

Example Playbook

- hosts: all
  become: true
  vars:
    - pri_domain_name: 'test.vagrant.local'
  roles:
    - role: ansible-apache2
    - role: ansible-mariadb-mysql
    - role: ansible-observium
  tasks:

License

BSD

Author Information

Larry Smith Jr.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 97.2%
  • Shell 1.6%
  • Dockerfile 1.2%