observium #3

  • By chilicuil
  • Latest version (#3)
  • precise
  • Stable
  • Edge

Description

Observium is an autodiscovering SNMP based network monitoring platform written
in PHP which includes support for a wide range of network hardware and
operating systems including Cisco IOS, Linux, FreeBSD, Juniper JunOS, Brocade,
Foundry, HP and many more. This charm deploys the latest svn version (which is
the only supported one).


Overview

Observium is an autodiscovering SNMP based network monitoring platform written
in PHP which includes support for a wide range of network hardware and
operating systems including Cisco IOS, Linux, FreeBSD, Juniper JunOS, Brocade,
Foundry, HP and many more. This charm deploys the latest svn version (which is
the only officially supported).

Usage

To deploy this charm execute:

$ juju bootstrap #wait 10 min
$ juju mysql
$ juju deploy observium
$ juju add-relation mysql observium
$ juju expose observium #wait 10 min
$ juju status #check out the ip

Open a browser in the ip/domain retrieved and login, use the web interface to
add new hosts to monitor: Devices -> Add device

Make sure to configure previously the clients according to:

http://www.observium.org/wiki/NetSNMPd_Client_Configuration

Access to the new environment is also provided with:

$ juju ssh observium/0

For more information on how to configure the Observium server please see

http://www.observium.org/wiki/Documentation

Configuration

The default configuration will launch Observium in the default port (80/tcp),
with a random admin password which will be shown in the login page, it'll update
the system (from svn) once a week and will not support virtual machine
monitoring.

If you wish to change those defaults create a local.yaml file with your
selections, and deploy:

$ juju deploy --config /path/to/local.yaml observium

For example, if you wish to run the server attached to the port 8080, with the
login message "Welcome to my Observium server", without regular updates and with
support for virtual machine monitoring create a local.yaml with the following:

observium:
port: 8080
login_message: Welcome to my Observium server
auto_update: 0
monitor_virtual: 1

You can also pass this vars at any time with the set option, example:

$ juju set observium port=9090

This will change the default port to 9090, see more information at:

https://juju.ubuntu.com/docs/service-config.html

The full configuration vars accepted are:

port: Port from which Observium runs upon
login_message: Login message
auto_update: Control whether it auto updates or not Observium once a week
monitor_virtual: Control the ability to monitor virtual machines (libvirt support)
admin_passwd: The password used to gain admin privileges
config_file: Url from where to request a custom config.php file, [http|ftp] supported

Contact Information

Author: Javier Lopez chilicuil@ubuntu.com
Report bugs at: http://bugs.launchpad.net/charms
Location: http://jujucharms.com

Configuration

config_file
(string) Url from where to request a custom config.php file, [http|ftp] supported
auto_update
(int) Control whether it auto updates or not Observium once a week
1
admin_passwd
(string) The password used to gain admin privileges
monitor_virtual
(int) Control the ability to monitor virtual machines (libvirt support)
login_message
(string) Login message
port
(int) Port from which Observium runs upon
80