disk check generation is inflexible
Bug #1891250 reported by
Paul Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Fix Released
|
Undecided
|
Paul Collins |
Bug Description
Currently the charm only generates an extra disk check for /srv, and only if it finds an entry in /proc/mounts.
Instead we should gather the list of paths the unit is service, find each path's mount point, and generate a check for every mount point that isn't /.
Related branches
~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:disk-checks
- Thomas Cuthbert (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 245 lines (+129/-36)3 files modifiedhooks/hooks.py (+65/-35)
templates/nagios-check_disk.tmpl (+1/-1)
tests/unit/test_charm.py (+63/-0)
Changed in ubuntu-mirror-charm: | |
assignee: | nobody → Paul Collins (pjdc) |
status: | New → In Progress |
Changed in ubuntu-mirror-charm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.