charm-ceph-mon/files/nagios
Tamas Erdei 5dbafb0b2f Fix race condition in collect_ceph_status.sh
There is a race condition between collect_ceph_status.sh writing
the status file and check_ceph_status.py reading that file.

This patch fixes that by directing ceph output into a temp file,
and then replacing the old state file with the new temp file using
an atomic mv operation.

Change-Id: If332d187f8dcb9f7fcd8b4a47f791beb8e27eaaa
Closes-Bug: 1755207
2018-03-13 14:30:49 +01:00
..
check_ceph_status.py Migrate charm to work with Python3 only 2017-11-17 10:22:30 +00:00
collect_ceph_status.sh Fix race condition in collect_ceph_status.sh 2018-03-13 14:30:49 +01:00