thruk master #3

Supports: trusty xenial bionic
Add to new model

Description

Thruk web interface for multiple backends of Nagios


Overview

Thruk Master Charm. Multiple Nagios instances aggregator.

Usage

juju deploy nagios --config enable_livestatus=true
juju deploy thruk-agent
juju deploy thruk-master
juju add-relation nagios:juju-info thruk-agent:general-info
juju add-relation thruk-master:thruk-agent thruk-agent:thruk-agent

To access the Web UI visit the url:

http://<thruk-master-ip>/thruk/

Login with user thrukadmin. Its password can be retrieved with

juju run -u thruk-master/0 "sudo cat /var/lib/thruk/thrukadmin.passwd"

Configuration

debug-log
(boolean) Enables debug logging for thruk.
debug-log-path
(string) The default log path for debugging (if enabled).
/var/log/thruk/debug.log
enable-lmd
(boolean) If enabled, make use of the LMD - Livestatus Multitool Daemon
True
key
(string) Key ID to import to the apt keyring to support use with arbitary source configuration from outside of Launchpad archives or PPA's.
7A207542
log-path
(string) The default log path.
/var/log/thruk/thruk.log
nagios_context
(string) Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
juju
screen-log
(boolean) Enables debug logging to stderr for thruk - in the default case, this ends up in the apache error logs.
source
(string) Configuration to allow the use of alternate package sources such as: - ppa:myteam/ppa - cloud:trusty-proposed/kilo - http://my.archive.com/ubuntu main The last option should be used in conjunction with the key configuration option.
ppa:canonical-bootstack/thruk
trusted_ssl_cert
(string) Name and location of the remotely trusty ssl cert. Basename of this file will be used as the basename of the chain file rooted at /etc/ssl/certs.
trusted_ssl_certlocation
(string) Name and location of the remotely trusty ssl cert. Basename of this file will be used as the basename of the chain file rooted at /etc/ssl/certs.
url
(string) URL to use for web virtual host
nagios.example.com