How monitoring prevents failures