charm-nrpe:stable/20.05

Last commit made on 2020-04-20
Get this branch:
git clone -b stable/20.05 https://git.launchpad.net/charm-nrpe
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
stable/20.05
Repository:
lp:charm-nrpe

Recent commits

29d1cd8... by Felipe Reyes

Create /etc/rsync-juju.d directory

    rsyncd.conf depends on /etc/rsync-juju.d and if it's not present the
    rsync service won't start.

    Fixes LP: #1872827

Reviewed-on: https://code.launchpad.net/~freyes/charm-nrpe/+git/nrpe-charm/+merge/382340
Reviewed-by: Haw Loeung <email address hidden>
Reviewed-by: Xav Paice <email address hidden>

c5e33a0... by Barry Price

Don't install recommends, to avoid installing rpcbind LP#1873171

Also fix a found unrelated bug in how we call nproc.

Reviewed-on: https://code.launchpad.net/~barryprice/charm-nrpe/+git/nrpe-charm/+merge/382414
Reviewed-by: Junien Fridrick <email address hidden>
Reviewed-by: Tom Haddon <email address hidden>

dc6048a... by Barry Price

Bugsquash

aabd206... by Barry Price

Actually, just don't install recommends for now

3a86d4f... by Barry Price

Force-remove rpcbind LP#1873171

17a43cd... by Felipe Reyes

Create /etc/rsync-juju.d directory

rsyncd.conf depends on /etc/rsync-juju.d and if it's not present the
rsync service won't start.

Fixes LP: #1872827

1834e23... by Felipe Reyes

Pass a list to check_output()

Fixes FileNotFoundError: [Errno 2] No such file or directory:
'nproc --all': 'nproc --all'

82a6b04... by Andrea Ieri

Calculate the automatic load threshold on the basis of all available cpus

Using nproc --all instead of plain nrpe allows us to consider both
isolated and non-isolated cpus

Closes-Bug: #1870602

e515aa9... by Xav Paice

Merge branch 'bug/1742669'

16929cb... by Xav Paice

Add NRPE check for readonly filesystems

Adds check_ro_filesystem check, looping all filesystems and alerting
CRITICAL if they're readonly. Only applies to non-container units.

Closes-Bug: #1824882