[checkmk-commits] Move some functions from notify.py to events.py