additional checks are not removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
This is focal ussuri, ceph octopus and charm ceph-mon stable rev. 61
When updating the additional checks the existing ones are not removed.
Step to reproduce:
1. Add additional checks:
juju config ceph-mon nagios_
2. New checks are added:
ll /etc/nagios/nrpe.d
...
-rw-r--r-- 1 root root 348 Nov 28 10:45 check_ceph-
-rw-r--r-- 1 root root 359 Nov 28 10:45 check_ceph-
...
3. Update additional checks with:
juju config ceph-mon nagios_
4. Now the checks are duplicated:
ll /etc/nagios/nrpe.d
...
-rw-r--r-- 1 root root 348 Nov 28 10:45 check_ceph-
-rw-r--r-- 1 root root 359 Nov 28 10:45 check_ceph-
-rw-r--r-- 1 root root 338 Nov 28 10:48 check_ceph-
-rw-r--r-- 1 root root 349 Nov 28 10:48 check_ceph-
...
We're transitioning to COS, will mark this as wontfix