← Back to team overview

nagios-charmers team mailing list archive

[Bug 1748430] Re: check_all_disks should allow exceptions

 

Proposed fix only monitors the rootfs when nagios runs on a container.
Otherwise, it works as until now.

** Changed in: nagios-charm
     Assignee: (unassigned) => Alvaro Uria (aluria)

** Changed in: nagios-charm
   Importance: Undecided => High

** Changed in: nagios-charm
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1748430

Title:
  check_all_disks should allow exceptions

Status in Nagios Charm:
  Fix Committed

Bug description:
  Use case:
  - Nagios deployed in a container, and the rootfs partition being the only valuable device to monitor
  - Perm errors on other mounting points:
  ~# /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -e
  DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied

  I suggest the use of "-r <regexp>" on check_all_disks, where
  "<regexp>" has an empty default value (configurable via juju config).

To manage notifications about this bug go to:
https://bugs.launchpad.net/nagios-charm/+bug/1748430/+subscriptions


References