Check_MK Distributed Monitoring - Notifications crashed - backup, restore, push configuration to remote site - python script problem

Hi @blazej.s!
I read over your description and I think this is way out of scope for the forum, just speaking from a time and complexity point of view. Without diagnostic data or a support session, this will be next to impossible to troubleshoot. Maybe one of the gurus in here has ideas anyway.
But I recommend you open a support ticket, so a support engineer can look into this matter in more depth and due time.