An Ansible role to install/configure Observium Monitoring....
http://www.observium.org/
Install required Ansible roles...
ansible-galaxy install -r requirements.yml
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
---
# 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
Install required Ansible roles from Requirements section.
- hosts: all
become: true
vars:
- pri_domain_name: 'test.vagrant.local'
roles:
- role: ansible-apache2
- role: ansible-mariadb-mysql
- role: ansible-observium
tasks:
BSD
Larry Smith Jr.
- @mrlesmithjr
- http://everythingshouldbevirtual.com
- mrlesmithjr [at] gmail.com