nrpe charm xenial incompatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nrpe (Juju Charms Collection) |
Triaged
|
High
|
Unassigned |
Bug Description
Currently lp:charms/trusty/nrpe delivers checks that will fail on xenial with two issues.
The first is that /usr/lib/
-n, --no-swap=
Resulting state when there is no swap regardless of thresholds. Default: CRITICAL
So, nrpe needs to detect if we're on xenial and pass "-n ok" in addition to the default "-w 90% -c 75%".
The second issue is that the default number of processes to check for using the "auto" (default) option is too low for xenial. On an instance with the apache2 charm on trusty we see 82 processes, on xenial we see 129. The defaults are:
proc_thresholds = "-w {} -c {}".format(25 * procs + 100, 50 * procs + 100)
This results in "/usr/lib/
tags: | added: kanban-cross-team landscape |
Bug #1599965 is about Python3 (the current charm only works by accident if Python2 is installed by the primary). This bug is about improving the checks.