Offline nodes monitor

len is not necessary: 
if offline_nodes:
...