fix the availabilitymonitor

write events in the log, e.g. reachable -> unreachable or vice versa