~xavpaice/charm-nagios:lp1827159

Last commit made on 2019-05-01
Get this branch:
git clone -b lp1827159 https://git.launchpad.net/~xavpaice/charm-nagios
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
lp1827159
Repository:
lp:~xavpaice/charm-nagios

Recent commits

71f8aba... by Xav Paice

Add custom disk monitor for nagios host

When monitoring the local Nagios host and it's not in a container, we
use check_all_disks which reports critical when any snap is installed.
This change adds a custom command to the local cfg such that squashfs is
excluded from the check.

cec6830... by Nicolas Pochet

Fix typo for SSL

* Write ssl file to /etc/apache2/sites-available/default-ssl.conf
instead of /etc/apache2/sites-available/default-ssl
* Modify template to point to /var/www/html
* Fixes LP:1777904

Reviewed-on: https://code.launchpad.net/~npochet/nagios-charm/+git/nagios-charm/+merge/366648
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: Stuart Bishop <email address hidden>

cdbbeb8... by Nicolas Pochet

Fix typo for SSL

* Write ssl file to /etc/apache2/sites-available/default-ssl.conf
instead of /etc/apache2/sites-available/default-ssl
* Modify template to point to /var/www/html
* Fixes LP:1777904

cdc4f22... by Alvaro Uria

Nagios checks the rootfs on containers

Reviewed-on: https://code.launchpad.net/~aluria/nagios-charm/+git/nagios-charm/+merge/363865
Reviewed-by: Andrea Ieri <email address hidden>

5170869... by Andrea Ieri

Make pagerduty_nagios.pl enqueue proxy aware

Reviewed-on: https://code.launchpad.net/~aieri/nagios-charm/+git/nagios-charm/+merge/366303
Reviewed-by: Alvaro Uria <email address hidden>

7216eb1... by Andrea Ieri

Make pagerduty_nagios.pl enqueue proxy aware

The cronjob for pagerduty_nagios.pl flush had already been updated to
use the --proxy switch if needed. This commit adds the same switch to
the enqueue action.

Fixes: 1825489

c84ee52... by Alvaro Uria

Nagios checks the rootfs on containers

 * If the nagios unit runs in a container, check_disk -p / will be used
 * If the nagios unit runs on baremetal, check_all_disks (-e) will be
 used (same behavior as before this change)

Closes-Bug: 1748430

c14ecce... by Andrea Ieri

When configuring the pagerduty cronjob, prefer juju-*-proxy variables if they are available.

Reviewed-on: https://code.launchpad.net/~aieri/nagios-charm/+git/nagios-charm/+merge/360658
Reviewed-by: Chris Sanders <email address hidden>

0fd85e2... by Andrea Ieri

When configuring the pagerduty cronjob, prefer juju-*-proxy variables if
they are available.

668d0e4... by Drew Freiberger

Added check_timeout to configure external monitor socket timeouts

Reviewed-on: https://code.launchpad.net/~afreiberger/nagios-charm/+git/nagios-charm/+merge/353461
Reviewed-by: Jay Kuri <email address hidden>